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 | 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 @@ -24,2 +24,3 @@ #include <opie2/oclickablelabel.h> +#include <opie2/opluginloader.h> @@ -33,2 +34,9 @@ class QVBoxLayout; +namespace Opie { + namespace Core { + class OPluginManager; + class OPluginLoader; + } +} + class Today : public TodayBase { @@ -40,3 +48,5 @@ class Today : public TodayBase { ~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,2 +68,3 @@ private slots: void channelReceived(const QCString &msg, const QByteArray & data); + void loadPlugins(); @@ -70,3 +79,4 @@ private slots: - + Opie::Core::OPluginLoader *m_pluginLoader; + Opie::Core::OPluginManager *m_manager; @@ -80,3 +90,2 @@ private slots: }; - #endif |