-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 @@ -23,4 +23,5 @@ #include <opie2/todayplugininterface.h> #include <opie2/oclickablelabel.h> +#include <opie2/opluginloader.h> #include <qpe/qlibrary.h> @@ -32,4 +33,11 @@ class QVBoxLayout; +namespace Opie { + namespace Core { + class OPluginManager; + class OPluginLoader; + } +} + class Today : public TodayBase { @@ -39,5 +47,7 @@ class Today : public TodayBase { 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: @@ -51,7 +61,5 @@ private: void setOwnerField(); void setOwnerField(QString &string); - void loadPlugins(); - void draw(); - void reinitialize(); + void initialize(); void setRefreshTimer( int ); @@ -59,4 +67,5 @@ private: private slots: void channelReceived(const QCString &msg, const QByteArray & data); + void loadPlugins(); private: @@ -69,5 +78,6 @@ private slots: QVBoxLayout *m_bblayout; - + Opie::Core::OPluginLoader *m_pluginLoader; + Opie::Core::OPluginManager *m_manager; QTimer *m_refreshTimer; @@ -79,4 +89,3 @@ private slots: int m_hideBanner; }; - #endif |