Diffstat (limited to 'core/pim/today/todayplugininterface.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/today/todayplugininterface.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/core/pim/today/todayplugininterface.h b/core/pim/today/todayplugininterface.h index 01e7d58..becb79c 100644 --- a/core/pim/today/todayplugininterface.h +++ b/core/pim/today/todayplugininterface.h | |||
@@ -1,12 +1,12 @@ | |||
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 "configwidget.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) |
@@ -32,16 +32,13 @@ public: | |||
32 | 32 | ||
33 | /** | 33 | /** |
34 | * Version numbering | 34 | * Version numbering |
35 | */ | 35 | */ |
36 | virtual double versionNumber() const = 0; | 36 | virtual double versionNumber() const = 0; |
37 | 37 | ||
38 | /** | 38 | |
39 | * the path and name of the identifer icon that should be shown | ||
40 | * in "Resource" notation, that means only subdir/picname form $QPEDIR/pics | ||
41 | */ | ||
42 | virtual QString pixmapNameWidget() const = 0; | 39 | virtual QString pixmapNameWidget() const = 0; |
43 | 40 | ||
44 | /** widget for the today view | 41 | /** widget for the today view |
45 | * It _needs_ a parent here. | 42 | * It _needs_ a parent here. |
46 | */ | 43 | */ |
47 | virtual QWidget* widget( QWidget * ) = 0; | 44 | virtual QWidget* widget( QWidget * ) = 0; |
@@ -52,28 +49,28 @@ public: | |||
52 | virtual QString pixmapNameConfig() const = 0; | 49 | virtual QString pixmapNameConfig() const = 0; |
53 | 50 | ||
54 | /** | 51 | /** |
55 | * Config plugin widget - optional | 52 | * Config plugin widget - optional |
56 | * If the plugin has a config widget, it _needs_ a parent here. | 53 | * If the plugin has a config widget, it _needs_ a parent here. |
57 | */ | 54 | */ |
58 | virtual ConfigWidget* configWidget( QWidget * ) = 0; | 55 | virtual TodayConfigWidget* configWidget( QWidget * ) = 0; |
59 | 56 | ||
60 | /** | 57 | /** |
61 | * The application that should be assigned to the button (pixmap) | 58 | * The application that should be assigned to the button (pixmap) |
62 | */ | 59 | */ |
63 | virtual QString appName() const = 0; | 60 | virtual QString appName() const = 0; |
64 | 61 | ||
65 | /** | 62 | /** |
66 | * minimum height the plugin at least should have | 63 | * minimum height the plugin at least should have |
67 | */ | 64 | */ |
68 | virtual int minHeight() const = 0; | 65 | // virtual int minHeight() const = 0; |
69 | 66 | ||
70 | /** | 67 | /** |
71 | * maximum height that should be used before starting scrolling | 68 | * maximum height that should be used before starting scrolling |
72 | */ | 69 | */ |
73 | virtual int maxHeight() const = 0; | 70 | // virtual int maxHeight() const = 0; |
74 | 71 | ||
75 | }; | 72 | }; |
76 | 73 | ||
77 | 74 | ||
78 | struct TodayPluginInterface : public QUnknownInterface { | 75 | struct TodayPluginInterface : public QUnknownInterface { |
79 | virtual TodayPluginObject *guiPart() = 0; | 76 | virtual TodayPluginObject *guiPart() = 0; |