author | harlekin <harlekin> | 2004-06-03 20:36:44 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-06-03 20:36:44 (UTC) |
commit | 52f849d3031f9d2fad2272ad069e7a1456c0ee54 (patch) (side-by-side diff) | |
tree | 7d03d229363b81c40d180ee99d168e99c4f6c06e /core/pim/today/today.h | |
parent | 74109985fd9ebdffd6cf0416207a69b17b563fd6 (diff) | |
download | opie-52f849d3031f9d2fad2272ad069e7a1456c0ee54.zip opie-52f849d3031f9d2fad2272ad069e7a1456c0ee54.tar.gz opie-52f849d3031f9d2fad2272ad069e7a1456c0ee54.tar.bz2 |
updated today to use the new opluginloader, migration not finished yet but mostly working
-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 |