summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/todayplugininterface.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie/todayplugininterface.h b/libopie/todayplugininterface.h
index 5bf5564..6ee2a06 100644
--- a/libopie/todayplugininterface.h
+++ b/libopie/todayplugininterface.h
@@ -51,32 +51,38 @@ public:
51 * 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.
52 */ 52 */
53 virtual TodayConfigWidget* configWidget( QWidget * ) = 0; 53 virtual TodayConfigWidget* configWidget( QWidget * ) = 0;
54 54
55 /** 55 /**
56 * The application that should be assigned to the button (pixmap) 56 * The application that should be assigned to the button (pixmap)
57 */ 57 */
58 virtual QString appName() const = 0; 58 virtual QString appName() const = 0;
59 59
60 60
61 /** 61 /**
62 * If the plugin should take part in the periodic refresh 62 * If the plugin should take part in the periodic refresh
63 */ 63 */
64 virtual bool excludeFromRefresh() const = 0; 64 virtual bool excludeFromRefresh() const = 0;
65 65
66 /** 66 /**
67 * Refresh that plugins view. For updating the plugins
68 *
69 */
70 virtual void refresh() {};
71
72 /**
67 * minimum height the plugin at least should have 73 * minimum height the plugin at least should have
68 */ 74 */
69 // virtual int minHeight() const = 0; 75 // virtual int minHeight() const = 0;
70 76
71 /** 77 /**
72 * maximum height that should be used before starting scrolling 78 * maximum height that should be used before starting scrolling
73 */ 79 */
74 // virtual int maxHeight() const = 0; 80 // virtual int maxHeight() const = 0;
75 81
76}; 82};
77 83
78 84
79struct TodayPluginInterface : public QUnknownInterface { 85struct TodayPluginInterface : public QUnknownInterface {
80 virtual TodayPluginObject *guiPart() = 0; 86 virtual TodayPluginObject *guiPart() = 0;
81}; 87};
82 88