-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 @@ -24,2 +24,3 @@ #include <opie2/oclickablelabel.h> +#include <opie2/opluginloader.h> @@ -30,5 +31,12 @@ - + class QVBoxLayout; +namespace Opie { + namespace Core { + class OPluginManager; + class OPluginLoader; + } +} + class Today : public TodayBase { @@ -37,6 +45,8 @@ class Today : public TodayBase { - 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"); + } @@ -52,5 +62,3 @@ private: void setOwnerField(QString &string); - void loadPlugins(); - void draw(); - void reinitialize(); + void initialize(); @@ -60,4 +68,5 @@ private slots: void channelReceived(const QCString &msg, const QByteArray & data); + void loadPlugins(); - private: +private: TodayConfig *conf; @@ -70,3 +79,4 @@ private slots: - + Opie::Core::OPluginLoader *m_pluginLoader; + Opie::Core::OPluginManager *m_manager; @@ -80,3 +90,2 @@ private slots: }; - #endif |