Diffstat (limited to 'libopie/todayplugininterface.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/todayplugininterface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie/todayplugininterface.h b/libopie/todayplugininterface.h index becb79c..b37a3ab 100644 --- a/libopie/todayplugininterface.h +++ b/libopie/todayplugininterface.h | |||
@@ -38,42 +38,48 @@ public: | |||
38 | 38 | ||
39 | virtual QString pixmapNameWidget() const = 0; | 39 | virtual QString pixmapNameWidget() const = 0; |
40 | 40 | ||
41 | /** widget for the today view | 41 | /** widget for the today view |
42 | * It _needs_ a parent here. | 42 | * It _needs_ a parent here. |
43 | */ | 43 | */ |
44 | virtual QWidget* widget( QWidget * ) = 0; | 44 | virtual QWidget* widget( QWidget * ) = 0; |
45 | 45 | ||
46 | /** | 46 | /** |
47 | * Pixmap used in the config widget | 47 | * Pixmap used in the config widget |
48 | */ | 48 | */ |
49 | virtual QString pixmapNameConfig() const = 0; | 49 | virtual QString pixmapNameConfig() const = 0; |
50 | 50 | ||
51 | /** | 51 | /** |
52 | * Config plugin widget - optional | 52 | * Config plugin widget - optional |
53 | * 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. |
54 | */ | 54 | */ |
55 | virtual TodayConfigWidget* configWidget( QWidget * ) = 0; | 55 | virtual TodayConfigWidget* configWidget( QWidget * ) = 0; |
56 | 56 | ||
57 | /** | 57 | /** |
58 | * The application that should be assigned to the button (pixmap) | 58 | * The application that should be assigned to the button (pixmap) |
59 | */ | 59 | */ |
60 | virtual QString appName() const = 0; | 60 | virtual QString appName() const = 0; |
61 | 61 | ||
62 | |||
63 | /** | ||
64 | * If the plugin should take part in the periodic refresh | ||
65 | */ | ||
66 | virtual bool excludeFromRefresh() const = 0; | ||
67 | |||
62 | /** | 68 | /** |
63 | * minimum height the plugin at least should have | 69 | * minimum height the plugin at least should have |
64 | */ | 70 | */ |
65 | // virtual int minHeight() const = 0; | 71 | // virtual int minHeight() const = 0; |
66 | 72 | ||
67 | /** | 73 | /** |
68 | * maximum height that should be used before starting scrolling | 74 | * maximum height that should be used before starting scrolling |
69 | */ | 75 | */ |
70 | // virtual int maxHeight() const = 0; | 76 | // virtual int maxHeight() const = 0; |
71 | 77 | ||
72 | }; | 78 | }; |
73 | 79 | ||
74 | 80 | ||
75 | struct TodayPluginInterface : public QUnknownInterface { | 81 | struct TodayPluginInterface : public QUnknownInterface { |
76 | virtual TodayPluginObject *guiPart() = 0; | 82 | virtual TodayPluginObject *guiPart() = 0; |
77 | }; | 83 | }; |
78 | 84 | ||
79 | #endif | 85 | #endif |