author | harlekin <harlekin> | 2002-10-31 13:09:13 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-31 13:09:13 (UTC) |
commit | ae467a89591b45a8a190174a0cae0b330de8d89e (patch) (unidiff) | |
tree | 2a4799378bdf4ce450955492b66b418214b9fbf4 /libopie/todayplugininterface.h | |
parent | f6ca21ad98c7af99c0ae4c04afe3c2126317d6de (diff) | |
download | opie-ae467a89591b45a8a190174a0cae0b330de8d89e.zip opie-ae467a89591b45a8a190174a0cae0b330de8d89e.tar.gz opie-ae467a89591b45a8a190174a0cae0b330de8d89e.tar.bz2 |
excludeFromRefresh() added
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 | |||
@@ -30,50 +30,56 @@ public: | |||
30 | */ | 30 | */ |
31 | virtual QString pluginName() const = 0; | 31 | virtual QString pluginName() const = 0; |
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 | 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 |