Diffstat (limited to 'noncore/styles/liquid/plugin.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/styles/liquid/plugin.h | 22 |
1 files changed, 5 insertions, 17 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 | |||
@@ -2,39 +2,27 @@ | |||
2 | #define __OPIE_LIQUID_PLUGIN_H__ | 2 | #define __OPIE_LIQUID_PLUGIN_H__ |
3 | 3 | ||
4 | #include <qpe/styleinterface.h> | 4 | #include <qpe/styleinterface.h> |
5 | 5 | ||
6 | class LiquidSettings; | 6 | class LiquidSettings; |
7 | 7 | ||
8 | class LiquidInterface : public StyleInterface { | 8 | class LiquidInterface : public StyleExtendedInterface { |
9 | public: | 9 | public: |
10 | LiquidInterface ( ); | 10 | LiquidInterface ( ); |
11 | virtual ~LiquidInterface ( ); | 11 | virtual ~LiquidInterface ( ); |
12 | 12 | ||
13 | QRESULT queryInterface ( const QUuid &, QUnknownInterface ** ); | 13 | QRESULT queryInterface ( const QUuid &, QUnknownInterface ** ); |
14 | Q_REFCOUNT | 14 | Q_REFCOUNT |
15 | 15 | ||
16 | virtual QStyle *create ( ); | 16 | virtual QStyle *style ( ); |
17 | 17 | ||
18 | virtual QString description ( ); | 18 | virtual QString name ( ) const; |
19 | virtual QString name ( ); | ||
20 | virtual QCString key ( ); | ||
21 | 19 | ||
22 | virtual unsigned int version ( ); | 20 | virtual QString description ( ) const; |
23 | 21 | ||
24 | private: | 22 | virtual bool hasSettings ( ) const; |
25 | ulong ref; | ||
26 | }; | ||
27 | |||
28 | class LiquidSettingsInterface : public StyleSettingsInterface { | ||
29 | public: | ||
30 | LiquidSettingsInterface ( ); | ||
31 | virtual ~LiquidSettingsInterface ( ); | ||
32 | |||
33 | QRESULT queryInterface ( const QUuid &, QUnknownInterface ** ); | ||
34 | Q_REFCOUNT | ||
35 | 23 | ||
36 | virtual QWidget *create ( QWidget *parent, const char *name = 0 ); | 24 | virtual QWidget *create ( QWidget *parent, const char *name = 0 ); |
37 | 25 | ||
38 | virtual bool accept ( ); | 26 | virtual bool accept ( ); |
39 | virtual void reject ( ); | 27 | virtual void reject ( ); |
40 | 28 | ||