author | ulf69 <ulf69> | 2004-10-13 21:27:10 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-10-13 21:27:10 (UTC) |
commit | 737183a5abd7d7b02048e8a939bafd0a8e803918 (patch) (side-by-side diff) | |
tree | ddacf864a06a6669911b1d48862e564399eeb33b /microkde/kresources/resource.h | |
parent | 7bb6c5f55d29ad4632b1f5c7361eee4c0d8b7cb0 (diff) | |
download | kdepimpi-737183a5abd7d7b02048e8a939bafd0a8e803918.zip kdepimpi-737183a5abd7d7b02048e8a939bafd0a8e803918.tar.gz kdepimpi-737183a5abd7d7b02048e8a939bafd0a8e803918.tar.bz2 |
removal of syncresources
Diffstat (limited to 'microkde/kresources/resource.h') (more/less context) (show whitespace changes)
-rw-r--r-- | microkde/kresources/resource.h | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/microkde/kresources/resource.h b/microkde/kresources/resource.h index 70b5613..ed5af96 100644 --- a/microkde/kresources/resource.h +++ b/microkde/kresources/resource.h @@ -42,3 +42,2 @@ namespace KRES { class ConfigWidget; -class SyncWidgetContainer; @@ -234,3 +233,3 @@ link_DATA= resourceexample.desktop * A subclass should reimplement at least the constructor and the - * @ref writeConfig method. +k * @ref writeConfig method. * @@ -325,7 +324,2 @@ class Resource : public QObject - - - virtual bool isSyncable() const = 0; - - /** @@ -378,3 +372,3 @@ class PluginFactoryBase : public KLibFactory public: - virtual Resource *resource( const KConfig *config, bool syncable ) = 0; + virtual Resource *resource( const KConfig *config) = 0; @@ -382,4 +376,2 @@ class PluginFactoryBase : public KLibFactory - virtual SyncWidgetContainer *syncWidgetContainer() = 0; - protected: @@ -392,3 +384,3 @@ class PluginFactoryBase : public KLibFactory -template<class TR,class TC, class TS> +template<class TR,class TC> class PluginFactory : public PluginFactoryBase @@ -396,5 +388,5 @@ class PluginFactory : public PluginFactoryBase public: - Resource *resource( const KConfig *config, bool syncable ) + Resource *resource( const KConfig *config) { - return new TR( config, syncable ); + return new TR( config ); } @@ -405,8 +397,2 @@ class PluginFactory : public PluginFactoryBase } - - SyncWidgetContainer *syncWidgetContainer() - { - return new TS(); - } - }; |