author | harlekin <harlekin> | 2003-01-11 17:13:11 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-01-11 17:13:11 (UTC) |
commit | fecbb2ca2714c1699a76036865e6e1120110ac1d (patch) (side-by-side diff) | |
tree | 5daade92e957f7ff84721a77e6c48f756ef492c9 /libopie | |
parent | cdf8787e89cb410de62054e7b59f53372d1f4af5 (diff) | |
download | opie-fecbb2ca2714c1699a76036865e6e1120110ac1d.zip opie-fecbb2ca2714c1699a76036865e6e1120110ac1d.tar.gz opie-fecbb2ca2714c1699a76036865e6e1120110ac1d.tar.bz2 |
michael suggested to try it without the macro
-rw-r--r-- | libopie/todayplugininterface.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libopie/todayplugininterface.h b/libopie/todayplugininterface.h index b37a3ab..5bf5564 100644 --- a/libopie/todayplugininterface.h +++ b/libopie/todayplugininterface.h @@ -1,85 +1,83 @@ #ifndef TODAY_PLUGIN_INTERFACE #define TODAY_PLUGIN_INTERFACE #include <qpe/qcom.h> #include "todayconfigwidget.h" class QString; class QWidget; #ifndef IID_TodayPluginInterface #define IID_TodayPluginInterface QUuid( 0x70481804, 0x2b50, 0x4fba, 0x80, 0xbb, 0x0b, 0xf8, 0xdc, 0x72, 0x04, 0x14) #endif /** * * * */ -class TodayPluginObject { - - Q_OBJECT +class TodayPluginObject { public: virtual ~TodayPluginObject() {}; /** * The name if the plugin */ virtual QString pluginName() const = 0; /** * Version numbering */ virtual double versionNumber() const = 0; 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 |