-rw-r--r-- | core/pim/today/today.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/core/pim/today/today.h b/core/pim/today/today.h index 89170e1..c947ae1 100644 --- a/core/pim/today/today.h +++ b/core/pim/today/today.h @@ -22,6 +22,7 @@ #include <opie2/todayplugininterface.h> #include <opie2/oclickablelabel.h> +#include <opie2/opluginloader.h> #include <qpe/qlibrary.h> @@ -31,6 +32,13 @@ class QVBoxLayout; +namespace Opie { + namespace Core { + class OPluginManager; + class OPluginLoader; + } +} + class Today : public TodayBase { Q_OBJECT @@ -38,7 +46,9 @@ class Today : public TodayBase { public: Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~Today(); - static QString appName() { return QString::fromLatin1("today"); } + static QString appName() { + return QString::fromLatin1("today"); + } private slots: void startConfig(); @@ -50,14 +60,13 @@ private: void init(); void setOwnerField(); void setOwnerField(QString &string); - void loadPlugins(); - void draw(); - void reinitialize(); + void initialize(); void setRefreshTimer( int ); private slots: void channelReceived(const QCString &msg, const QByteArray & data); + void loadPlugins(); private: TodayConfig *conf; @@ -68,7 +77,8 @@ private slots: QWidget* m_big_box; QVBoxLayout *m_bblayout; - + Opie::Core::OPluginLoader *m_pluginLoader; + Opie::Core::OPluginManager *m_manager; QTimer *m_refreshTimer; @@ -78,5 +88,4 @@ private slots: int m_maxCharClip; int m_hideBanner; }; - #endif |