summaryrefslogtreecommitdiff
path: root/noncore/styles/theme/plugin.h
Side-by-side diff
Diffstat (limited to 'noncore/styles/theme/plugin.h') (more/less context) (show 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
@@ -5,7 +5,7 @@
class ThemeSettings;
-class ThemeInterface : public StyleInterface {
+class ThemeInterface : public StyleExtendedInterface {
public:
ThemeInterface ( );
virtual ~ThemeInterface ( );
@@ -13,25 +13,12 @@ public:
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 ( );
-
-private:
- ulong ref;
-};
-
-class ThemeSettingsInterface : public StyleSettingsInterface {
-public:
- ThemeSettingsInterface ( );
- virtual ~ThemeSettingsInterface ( );
-
- QRESULT queryInterface ( const QUuid &, QUnknownInterface ** );
- Q_REFCOUNT
+ virtual bool hasSettings ( ) const;
virtual QWidget *create ( QWidget *parent, const char *name = 0 );