-rw-r--r-- | kabc/plugins/file/file.pro | 2 | ||||
-rw-r--r-- | kabc/plugins/file/fileE.pro | 2 | ||||
-rw-r--r-- | kabc/plugins/file/resourcefile.cpp | 12 | ||||
-rw-r--r-- | kabc/plugins/file/resourcefile.h | 4 |
4 files changed, 11 insertions, 9 deletions
diff --git a/kabc/plugins/file/file.pro b/kabc/plugins/file/file.pro index 32555a2..154ef2a 100644 --- a/kabc/plugins/file/file.pro +++ b/kabc/plugins/file/file.pro | |||
@@ -5,3 +5,3 @@ CONFIG += qt warn_on release | |||
5 | TARGET = microkabc_file | 5 | TARGET = microkabc_file |
6 | INCLUDEPATH += ../.. ../../../microkde ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../microkde/kio/kio ../../../qtcompat | 6 | INCLUDEPATH += ../.. ../../../microkde ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../microkde/kio/kio ../../../microkde/kresources ../../../qtcompat |
7 | 7 | ||
diff --git a/kabc/plugins/file/fileE.pro b/kabc/plugins/file/fileE.pro index d19a26d..3015806 100644 --- a/kabc/plugins/file/fileE.pro +++ b/kabc/plugins/file/fileE.pro | |||
@@ -5,3 +5,3 @@ CONFIG += qt warn_on release | |||
5 | TARGET = microkabc_file | 5 | TARGET = microkabc_file |
6 | INCLUDEPATH += ../.. ../../../microkde ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../microkde/kio/kio ../../../qtcompat | 6 | INCLUDEPATH += ../.. ../../../microkde ../../../microkde/kdecore ../../../microkde/kio/kfile ../../../microkde/kio/kio ../../../microkde/kresources ../../../qtcompat |
7 | OBJECTS_DIR = obj/$(PLATFORM) | 7 | OBJECTS_DIR = obj/$(PLATFORM) |
diff --git a/kabc/plugins/file/resourcefile.cpp b/kabc/plugins/file/resourcefile.cpp index 1d3acec..361b36b 100644 --- a/kabc/plugins/file/resourcefile.cpp +++ b/kabc/plugins/file/resourcefile.cpp | |||
@@ -53,2 +53,4 @@ $Id$ | |||
53 | #include "resourcefile.h" | 53 | #include "resourcefile.h" |
54 | #include "syncwidget.h" | ||
55 | |||
54 | 56 | ||
@@ -66,3 +68,3 @@ __declspec(dllexport) | |||
66 | { | 68 | { |
67 | return new KRES::PluginFactory<ResourceFile,ResourceFileConfig>(); | 69 | return new KRES::PluginFactory<ResourceFile,ResourceFileConfig, KRES::SyncWidget>(); |
68 | } | 70 | } |
@@ -72,4 +74,4 @@ __declspec(dllexport) | |||
72 | 74 | ||
73 | ResourceFile::ResourceFile( const KConfig *config ) | 75 | ResourceFile::ResourceFile( const KConfig *config, bool syncable ) |
74 | : Resource( config ) , mFormat( 0 ) | 76 | : Resource( config, syncable ) , mFormat( 0 ) |
75 | { | 77 | { |
@@ -91,5 +93,5 @@ ResourceFile::ResourceFile( const KConfig *config ) | |||
91 | 93 | ||
92 | ResourceFile::ResourceFile( const QString &fileName, | 94 | ResourceFile::ResourceFile( const QString &fileName, bool syncable , |
93 | const QString &formatName ) | 95 | const QString &formatName ) |
94 | : Resource( 0 ) | 96 | : Resource( 0, syncable ) |
95 | { | 97 | { |
diff --git a/kabc/plugins/file/resourcefile.h b/kabc/plugins/file/resourcefile.h index 4522d78..0a3027c 100644 --- a/kabc/plugins/file/resourcefile.h +++ b/kabc/plugins/file/resourcefile.h | |||
@@ -60,3 +60,3 @@ public: | |||
60 | */ | 60 | */ |
61 | ResourceFile( const KConfig *cfg ); | 61 | ResourceFile( const KConfig *cfg, bool syncable ); |
62 | 62 | ||
@@ -65,3 +65,3 @@ public: | |||
65 | */ | 65 | */ |
66 | ResourceFile( const QString &fileName, const QString &formatName = "vcard" ); | 66 | ResourceFile( const QString &fileName, bool syncable , const QString &formatName = "vcard" ); |
67 | 67 | ||