author | harlekin <harlekin> | 2003-01-11 17:13:11 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-01-11 17:13:11 (UTC) |
commit | fecbb2ca2714c1699a76036865e6e1120110ac1d (patch) (unidiff) | |
tree | 5daade92e957f7ff84721a77e6c48f756ef492c9 | |
parent | cdf8787e89cb410de62054e7b59f53372d1f4af5 (diff) | |
download | opie-fecbb2ca2714c1699a76036865e6e1120110ac1d.zip opie-fecbb2ca2714c1699a76036865e6e1120110ac1d.tar.gz opie-fecbb2ca2714c1699a76036865e6e1120110ac1d.tar.bz2 |
michael suggested to try it without the macro
-rw-r--r-- | libopie/todayplugininterface.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libopie/todayplugininterface.h b/libopie/todayplugininterface.h index b37a3ab..5bf5564 100644 --- a/libopie/todayplugininterface.h +++ b/libopie/todayplugininterface.h | |||
@@ -1,54 +1,52 @@ | |||
1 | 1 | ||
2 | #ifndef TODAY_PLUGIN_INTERFACE | 2 | #ifndef TODAY_PLUGIN_INTERFACE |
3 | #define TODAY_PLUGIN_INTERFACE | 3 | #define TODAY_PLUGIN_INTERFACE |
4 | 4 | ||
5 | #include <qpe/qcom.h> | 5 | #include <qpe/qcom.h> |
6 | #include "todayconfigwidget.h" | 6 | #include "todayconfigwidget.h" |
7 | 7 | ||
8 | class QString; | 8 | class QString; |
9 | class QWidget; | 9 | class QWidget; |
10 | 10 | ||
11 | #ifndef IID_TodayPluginInterface | 11 | #ifndef IID_TodayPluginInterface |
12 | #define IID_TodayPluginInterface QUuid( 0x70481804, 0x2b50, 0x4fba, 0x80, 0xbb, 0x0b, 0xf8, 0xdc, 0x72, 0x04, 0x14) | 12 | #define IID_TodayPluginInterface QUuid( 0x70481804, 0x2b50, 0x4fba, 0x80, 0xbb, 0x0b, 0xf8, 0xdc, 0x72, 0x04, 0x14) |
13 | #endif | 13 | #endif |
14 | 14 | ||
15 | /** | 15 | /** |
16 | * | 16 | * |
17 | * | 17 | * |
18 | * | 18 | * |
19 | */ | 19 | */ |
20 | class TodayPluginObject { | 20 | class TodayPluginObject { |
21 | |||
22 | Q_OBJECT | ||
23 | 21 | ||
24 | public: | 22 | public: |
25 | 23 | ||
26 | virtual ~TodayPluginObject() {}; | 24 | virtual ~TodayPluginObject() {}; |
27 | 25 | ||
28 | /** | 26 | /** |
29 | * The name if the plugin | 27 | * The name if the plugin |
30 | */ | 28 | */ |
31 | virtual QString pluginName() const = 0; | 29 | virtual QString pluginName() const = 0; |
32 | 30 | ||
33 | /** | 31 | /** |
34 | * Version numbering | 32 | * Version numbering |
35 | */ | 33 | */ |
36 | virtual double versionNumber() const = 0; | 34 | virtual double versionNumber() const = 0; |
37 | 35 | ||
38 | 36 | ||
39 | virtual QString pixmapNameWidget() const = 0; | 37 | virtual QString pixmapNameWidget() const = 0; |
40 | 38 | ||
41 | /** widget for the today view | 39 | /** widget for the today view |
42 | * It _needs_ a parent here. | 40 | * It _needs_ a parent here. |
43 | */ | 41 | */ |
44 | virtual QWidget* widget( QWidget * ) = 0; | 42 | virtual QWidget* widget( QWidget * ) = 0; |
45 | 43 | ||
46 | /** | 44 | /** |
47 | * Pixmap used in the config widget | 45 | * Pixmap used in the config widget |
48 | */ | 46 | */ |
49 | virtual QString pixmapNameConfig() const = 0; | 47 | virtual QString pixmapNameConfig() const = 0; |
50 | 48 | ||
51 | /** | 49 | /** |
52 | * Config plugin widget - optional | 50 | * Config plugin widget - optional |
53 | * If the plugin has a config widget, it _needs_ a parent here. | 51 | * If the plugin has a config widget, it _needs_ a parent here. |
54 | */ | 52 | */ |