Diffstat (limited to 'kabc/plugins/dir/resourcedir.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | kabc/plugins/dir/resourcedir.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kabc/plugins/dir/resourcedir.cpp b/kabc/plugins/dir/resourcedir.cpp index 52863d5..d978e61 100644 --- a/kabc/plugins/dir/resourcedir.cpp +++ b/kabc/plugins/dir/resourcedir.cpp | |||
@@ -57,6 +57,7 @@ $Id$ | |||
57 | #include <qdir.h> | 57 | #include <qdir.h> |
58 | 58 | ||
59 | #include "resourcedir.h" | 59 | #include "resourcedir.h" |
60 | #include "syncwidget.h" | ||
60 | 61 | ||
61 | using namespace KABC; | 62 | using namespace KABC; |
62 | 63 | ||
@@ -70,14 +71,14 @@ __declspec(dllexport) | |||
70 | //US void *init_kabc_dir() | 71 | //US void *init_kabc_dir() |
71 | void *init_microkabc_dir() | 72 | void *init_microkabc_dir() |
72 | { | 73 | { |
73 | return new KRES::PluginFactory<ResourceDir,ResourceDirConfig>(); | 74 | return new KRES::PluginFactory<ResourceDir,ResourceDirConfig, KRES::SyncWidget>(); |
74 | } | 75 | } |
75 | #ifndef _WIN32_ | 76 | #ifndef _WIN32_ |
76 | } | 77 | } |
77 | #endif | 78 | #endif |
78 | 79 | ||
79 | ResourceDir::ResourceDir( const KConfig *config ) | 80 | ResourceDir::ResourceDir( const KConfig *config, bool syncable ) |
80 | : Resource( config ) | 81 | : Resource( config, syncable ) |
81 | { | 82 | { |
82 | QString path; | 83 | QString path; |
83 | 84 | ||