Diffstat (limited to 'core/pim/today/todayplugininterface.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/today/todayplugininterface.h | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/core/pim/today/todayplugininterface.h b/core/pim/today/todayplugininterface.h deleted file mode 100644 index becb79c..0000000 --- a/core/pim/today/todayplugininterface.h +++ b/dev/null | |||
@@ -1,79 +0,0 @@ | |||
1 | |||
2 | #ifndef TODAY_PLUGIN_INTERFACE | ||
3 | #define TODAY_PLUGIN_INTERFACE | ||
4 | |||
5 | #include <qpe/qcom.h> | ||
6 | #include "todayconfigwidget.h" | ||
7 | |||
8 | class QString; | ||
9 | class QWidget; | ||
10 | |||
11 | #ifndef IID_TodayPluginInterface | ||
12 | #define IID_TodayPluginInterface QUuid( 0x70481804, 0x2b50, 0x4fba, 0x80, 0xbb, 0x0b, 0xf8, 0xdc, 0x72, 0x04, 0x14) | ||
13 | #endif | ||
14 | |||
15 | /** | ||
16 | * | ||
17 | * | ||
18 | * | ||
19 | */ | ||
20 | class TodayPluginObject { | ||
21 | |||
22 | Q_OBJECT | ||
23 | |||
24 | public: | ||
25 | |||
26 | virtual ~TodayPluginObject() {}; | ||
27 | |||
28 | /** | ||
29 | * The name if the plugin | ||
30 | */ | ||
31 | virtual QString pluginName() const = 0; | ||
32 | |||
33 | /** | ||
34 | * Version numbering | ||
35 | */ | ||
36 | virtual double versionNumber() const = 0; | ||
37 | |||
38 | |||
39 | virtual QString pixmapNameWidget() const = 0; | ||
40 | |||
41 | /** widget for the today view | ||
42 | * It _needs_ a parent here. | ||
43 | */ | ||
44 | virtual QWidget* widget( QWidget * ) = 0; | ||
45 | |||
46 | /** | ||
47 | * Pixmap used in the config widget | ||
48 | */ | ||
49 | virtual QString pixmapNameConfig() const = 0; | ||
50 | |||
51 | /** | ||
52 | * Config plugin widget - optional | ||
53 | * If the plugin has a config widget, it _needs_ a parent here. | ||
54 | */ | ||
55 | virtual TodayConfigWidget* configWidget( QWidget * ) = 0; | ||
56 | |||
57 | /** | ||
58 | * The application that should be assigned to the button (pixmap) | ||
59 | */ | ||
60 | virtual QString appName() const = 0; | ||
61 | |||
62 | /** | ||
63 | * minimum height the plugin at least should have | ||
64 | */ | ||
65 | // virtual int minHeight() const = 0; | ||
66 | |||
67 | /** | ||
68 | * maximum height that should be used before starting scrolling | ||
69 | */ | ||
70 | // virtual int maxHeight() const = 0; | ||
71 | |||
72 | }; | ||
73 | |||
74 | |||
75 | struct TodayPluginInterface : public QUnknownInterface { | ||
76 | virtual TodayPluginObject *guiPart() = 0; | ||
77 | }; | ||
78 | |||
79 | #endif | ||