-rw-r--r-- | core/pim/today/todayconfig.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/core/pim/today/todayconfig.h b/core/pim/today/todayconfig.h index 2b6c507..ab79f31 100644 --- a/core/pim/today/todayconfig.h +++ b/core/pim/today/todayconfig.h | |||
@@ -20,6 +20,7 @@ | |||
20 | #include "todayconfigmiscbase.h" | 20 | #include "todayconfigmiscbase.h" |
21 | 21 | ||
22 | #include <opie2/otabwidget.h> | 22 | #include <opie2/otabwidget.h> |
23 | #include <opie2/opluginloader.h> | ||
23 | 24 | ||
24 | #include <qvariant.h> | 25 | #include <qvariant.h> |
25 | #include <qdialog.h> | 26 | #include <qdialog.h> |
@@ -30,6 +31,14 @@ class QLabel; | |||
30 | class QSpinBox; | 31 | class QSpinBox; |
31 | class QTabWidget; | 32 | class QTabWidget; |
32 | 33 | ||
34 | namespace Opie { | ||
35 | namespace Core { | ||
36 | class OPluginManager; | ||
37 | class OPluginLoader; | ||
38 | class OPluginItem; | ||
39 | } | ||
40 | } | ||
41 | |||
33 | class TodayConfig : public QDialog { | 42 | class TodayConfig : public QDialog { |
34 | 43 | ||
35 | Q_OBJECT | 44 | Q_OBJECT |
@@ -41,17 +50,17 @@ public: | |||
41 | Opie::Ui::OTabWidget* TabWidget3; | 50 | Opie::Ui::OTabWidget* TabWidget3; |
42 | 51 | ||
43 | void writeConfig(); | 52 | void writeConfig(); |
44 | void pluginManagement( QString libName, QString name, QPixmap icon ); | ||
45 | 53 | ||
54 | void setUpPlugins( Opie::Core::OPluginManager * plugManager, Opie::Core::OPluginLoader * plugLoader ); | ||
46 | 55 | ||
47 | protected slots: | 56 | protected slots: |
48 | void appletChanged(); | ||
49 | void moveSelectedUp(); | 57 | void moveSelectedUp(); |
50 | void moveSelectedDown(); | 58 | void moveSelectedDown(); |
51 | 59 | ||
52 | private: | 60 | private: |
53 | void setAutoStart(); | 61 | void setAutoStart(); |
54 | void readConfig(); | 62 | void readConfig(); |
63 | void pluginManagement( Opie::Core::OPluginItem plugItem); | ||
55 | 64 | ||
56 | QListView* m_appletListView; | 65 | QListView* m_appletListView; |
57 | QMap<QString,QCheckListItem*> m_applets; | 66 | QMap<QString,QCheckListItem*> m_applets; |
@@ -67,6 +76,11 @@ private: | |||
67 | QLabel* TextLabel1, *TextLabel4; | 76 | QLabel* TextLabel1, *TextLabel4; |
68 | QSpinBox* SpinBox7; | 77 | QSpinBox* SpinBox7; |
69 | 78 | ||
79 | Opie::Core::OPluginManager *m_pluginManager; | ||
80 | Opie::Core::OPluginLoader *m_pluginLoader; | ||
81 | |||
82 | QCheckListItem *previousItem; | ||
83 | |||
70 | TodayConfigMiscBase *m_guiMisc; | 84 | TodayConfigMiscBase *m_guiMisc; |
71 | }; | 85 | }; |
72 | 86 | ||