author | sandman <sandman> | 2002-10-04 01:42:57 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-04 01:42:57 (UTC) |
commit | 4a6ccb87f45065bc37f801adb61c3462f870cb92 (patch) (unidiff) | |
tree | 86b6819ee7a13b8df82b14b2bdcf46741b5935a0 /noncore/styles/theme/plugin.h | |
parent | b7ec6d0674f0f7835da7f114683dcfa74e6bc546 (diff) | |
download | opie-4a6ccb87f45065bc37f801adb61c3462f870cb92.zip opie-4a6ccb87f45065bc37f801adb61c3462f870cb92.tar.gz opie-4a6ccb87f45065bc37f801adb61c3462f870cb92.tar.bz2 |
- ported all OPIE styles to the new Qtopia compatible style interface
- some cleanup in liquid (unused code)
Diffstat (limited to 'noncore/styles/theme/plugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/theme/plugin.h | 23 |
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 @@ | |||
2 | #define __OPIE_THEME_PLUGIN_H__ | 2 | #define __OPIE_THEME_PLUGIN_H__ |
3 | 3 | ||
4 | #include <qpe/styleinterface.h> | 4 | #include <qpe/styleinterface.h> |
5 | 5 | ||
6 | class ThemeSettings; | 6 | class ThemeSettings; |
7 | 7 | ||
8 | class ThemeInterface : public StyleInterface { | 8 | class ThemeInterface : public StyleExtendedInterface { |
9 | public: | 9 | public: |
10 | ThemeInterface ( ); | 10 | ThemeInterface ( ); |
11 | virtual ~ThemeInterface ( ); | 11 | virtual ~ThemeInterface ( ); |
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 | virtual QString name ( ) const; | ||
17 | 18 | ||
18 | virtual QString description ( ); | 19 | virtual QString description ( ) const; |
19 | virtual QString name ( ); | ||
20 | virtual QCString key ( ); | ||
21 | 20 | ||
22 | virtual unsigned int version ( ); | 21 | virtual bool hasSettings ( ) const; |
23 | 22 | ||
24 | private: | ||
25 | ulong ref; | ||
26 | }; | ||
27 | |||
28 | class ThemeSettingsInterface : public StyleSettingsInterface { | ||
29 | public: | ||
30 | ThemeSettingsInterface ( ); | ||
31 | virtual ~ThemeSettingsInterface ( ); | ||
32 | |||
33 | QRESULT queryInterface ( const QUuid &, QUnknownInterface ** ); | ||
34 | Q_REFCOUNT | ||
35 | |||
36 | virtual QWidget *create ( QWidget *parent, const char *name = 0 ); | 23 | virtual QWidget *create ( QWidget *parent, const char *name = 0 ); |
37 | 24 | ||
38 | virtual bool accept ( ); | 25 | virtual bool accept ( ); |
39 | virtual void reject ( ); | 26 | virtual void reject ( ); |
40 | 27 | ||
41 | private: | 28 | private: |