Diffstat (limited to 'noncore/styles/liquid/plugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/liquid/plugin.h | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/noncore/styles/liquid/plugin.h b/noncore/styles/liquid/plugin.h index 759577f..6a9b7ac 100644 --- a/noncore/styles/liquid/plugin.h +++ b/noncore/styles/liquid/plugin.h @@ -5,7 +5,7 @@ class LiquidSettings; -class LiquidInterface : public StyleInterface { +class LiquidInterface : public StyleExtendedInterface { public: LiquidInterface ( ); virtual ~LiquidInterface ( ); @@ -13,31 +13,19 @@ public: QRESULT queryInterface ( const QUuid &, QUnknownInterface ** ); Q_REFCOUNT - virtual QStyle *create ( ); + virtual QStyle *style ( ); - virtual QString description ( ); - virtual QString name ( ); - virtual QCString key ( ); - - virtual unsigned int version ( ); - -private: - ulong ref; -}; + virtual QString name ( ) const; -class LiquidSettingsInterface : public StyleSettingsInterface { -public: - LiquidSettingsInterface ( ); - virtual ~LiquidSettingsInterface ( ); + virtual QString description ( ) const; + + virtual bool hasSettings ( ) const; - QRESULT queryInterface ( const QUuid &, QUnknownInterface ** ); - Q_REFCOUNT - virtual QWidget *create ( QWidget *parent, const char *name = 0 ); virtual bool accept ( ); virtual void reject ( ); - + private: LiquidSettings *m_widget; ulong ref; |