author | ulf69 <ulf69> | 2004-06-29 03:28:00 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-06-29 03:28:00 (UTC) |
commit | e3a70fed171a7b8d29ce0afb9e0f82fb98903091 (patch) (side-by-side diff) | |
tree | 646663a22c123e126e1f2cc172ccc02c9bfcc412 | |
parent | 659b21aed6e02154a1b38ff16a09a432fe3953cb (diff) | |
download | kdepimpi-e3a70fed171a7b8d29ce0afb9e0f82fb98903091.zip kdepimpi-e3a70fed171a7b8d29ce0afb9e0f82fb98903091.tar.gz kdepimpi-e3a70fed171a7b8d29ce0afb9e0f82fb98903091.tar.bz2 |
resource now derived from KLibLoader, like in KDE
-rw-r--r-- | microkde/kresources/resource.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/microkde/kresources/resource.h b/microkde/kresources/resource.h index 7ff4f23..64e7424 100644 --- a/microkde/kresources/resource.h +++ b/microkde/kresources/resource.h @@ -28,21 +28,22 @@ #include <qmutex.h> #endif //QT_THREAD_SUPPORT #include <qvaluelist.h> #include <qwidget.h> #include <qobject.h> +#include <klibloader.h> + class KConfig; namespace KRES { -class KLibFactory; class ConfigWidget; /** * @internal * @libdoc The KDE Resource library * * NOTE: this library is NOT (YET?) PUBLIC. Do not publish this * interface, it is in constant flux. @@ -358,18 +359,17 @@ class Resource : public QObject void setIdentifier( const QString& identifier ); void setType( const QString& type ); private: class ResourcePrivate; ResourcePrivate *d; }; -//US class PluginFactoryBase : public KLibFactory -class PluginFactoryBase +class PluginFactoryBase : public KLibFactory { public: virtual Resource *resource( const KConfig *config ) = 0; virtual ConfigWidget *configWidget( QWidget *parent ) = 0; protected: virtual QObject* createObject( QObject*, const char*, const char*, |