summaryrefslogtreecommitdiffabout
path: root/microkde/kresources/resource.h
Side-by-side diff
Diffstat (limited to 'microkde/kresources/resource.h') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kresources/resource.h24
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();
- }
-
};