summaryrefslogtreecommitdiff
path: root/noncore/styles/theme/plugin.h
Side-by-side diff
Diffstat (limited to 'noncore/styles/theme/plugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/theme/plugin.h23
1 files changed, 5 insertions, 18 deletions
diff --git a/noncore/styles/theme/plugin.h b/noncore/styles/theme/plugin.h
index d13fc5d..60cae97 100644
--- a/noncore/styles/theme/plugin.h
+++ b/noncore/styles/theme/plugin.h
@@ -2,40 +2,27 @@
#define __OPIE_THEME_PLUGIN_H__
#include <qpe/styleinterface.h>
class ThemeSettings;
-class ThemeInterface : public StyleInterface {
+class ThemeInterface : public StyleExtendedInterface {
public:
ThemeInterface ( );
virtual ~ThemeInterface ( );
QRESULT queryInterface ( const QUuid &, QUnknownInterface ** );
Q_REFCOUNT
- virtual QStyle *create ( );
+ virtual QStyle *style ( );
+ virtual QString name ( ) const;
- virtual QString description ( );
- virtual QString name ( );
- virtual QCString key ( );
+ virtual QString description ( ) const;
- virtual unsigned int version ( );
+ virtual bool hasSettings ( ) const;
-private:
- ulong ref;
-};
-
-class ThemeSettingsInterface : public StyleSettingsInterface {
-public:
- ThemeSettingsInterface ( );
- virtual ~ThemeSettingsInterface ( );
-
- QRESULT queryInterface ( const QUuid &, QUnknownInterface ** );
- Q_REFCOUNT
-
virtual QWidget *create ( QWidget *parent, const char *name = 0 );
virtual bool accept ( );
virtual void reject ( );
private: