summaryrefslogtreecommitdiff
path: root/libopie/todayplugininterface.h
authorharlekin <harlekin>2002-10-31 13:09:13 (UTC)
committer harlekin <harlekin>2002-10-31 13:09:13 (UTC)
commitae467a89591b45a8a190174a0cae0b330de8d89e (patch) (side-by-side diff)
tree2a4799378bdf4ce450955492b66b418214b9fbf4 /libopie/todayplugininterface.h
parentf6ca21ad98c7af99c0ae4c04afe3c2126317d6de (diff)
downloadopie-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.h6
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:
virtual QString pixmapNameWidget() const = 0;
/** widget for the today view
* It _needs_ a parent here.
*/
virtual QWidget* widget( QWidget * ) = 0;
/**
* Pixmap used in the config widget
*/
virtual QString pixmapNameConfig() const = 0;
/**
* Config plugin widget - optional
* If the plugin has a config widget, it _needs_ a parent here.
*/
virtual TodayConfigWidget* configWidget( QWidget * ) = 0;
/**
* The application that should be assigned to the button (pixmap)
*/
virtual QString appName() const = 0;
+
+ /**
+ * If the plugin should take part in the periodic refresh
+ */
+ virtual bool excludeFromRefresh() const = 0;
+
/**
* minimum height the plugin at least should have
*/
// virtual int minHeight() const = 0;
/**
* maximum height that should be used before starting scrolling
*/
// virtual int maxHeight() const = 0;
};
struct TodayPluginInterface : public QUnknownInterface {
virtual TodayPluginObject *guiPart() = 0;
};
#endif