-rw-r--r-- | core/pim/today/today.h | 27 |
1 files changed, 18 insertions, 9 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> @@ -29,15 +30,24 @@ #include <qvbox.h> - + class QVBoxLayout; +namespace Opie { + namespace Core { + class OPluginManager; + class OPluginLoader; + } +} + class Today : public TodayBase { Q_OBJECT - public: +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: @@ -51,7 +61,5 @@ private: void setOwnerField(); void setOwnerField(QString &string); - void loadPlugins(); - void draw(); - void reinitialize(); + void initialize(); void setRefreshTimer( int ); @@ -59,6 +67,7 @@ private: private slots: void channelReceived(const QCString &msg, const QByteArray & data); + void loadPlugins(); - private: +private: TodayConfig *conf; QStringList m_excludeApplets; @@ -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 |