summaryrefslogtreecommitdiff
path: root/core/pim/today/todayconfig.h
authorzecke <zecke>2004-09-12 20:31:20 (UTC)
committer zecke <zecke>2004-09-12 20:31:20 (UTC)
commitb52e2e46ec535a5307276b8fdf1e578aa5d29283 (patch) (unidiff)
treef30d0fd2faaf89c2bc982e3f8a645645bf74edd8 /core/pim/today/todayconfig.h
parent90aaa298cc69522e88e1f81ade7d5259131b1544 (diff)
downloadopie-b52e2e46ec535a5307276b8fdf1e578aa5d29283.zip
opie-b52e2e46ec535a5307276b8fdf1e578aa5d29283.tar.gz
opie-b52e2e46ec535a5307276b8fdf1e578aa5d29283.tar.bz2
-Only create configWidgets once per config dialog, properly delete them
-Delete the Widgets before we remove the plugin from our address space some random clean ups
Diffstat (limited to 'core/pim/today/todayconfig.h') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/todayconfig.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/pim/today/todayconfig.h b/core/pim/today/todayconfig.h
index ab79f31..81120d3 100644
--- a/core/pim/today/todayconfig.h
+++ b/core/pim/today/todayconfig.h
@@ -30,6 +30,8 @@ class QCheckBox;
30class QLabel; 30class QLabel;
31class QSpinBox; 31class QSpinBox;
32class QTabWidget; 32class QTabWidget;
33class TodayConfigWidget;
34class TodayPluginInterface;
33 35
34namespace Opie { 36namespace Opie {
35 namespace Core { 37 namespace Core {
@@ -40,7 +42,6 @@ namespace Opie {
40} 42}
41 43
42class TodayConfig : public QDialog { 44class TodayConfig : public QDialog {
43
44 Q_OBJECT 45 Q_OBJECT
45 46
46public: 47public:
@@ -64,6 +65,7 @@ private:
64 65
65 QListView* m_appletListView; 66 QListView* m_appletListView;
66 QMap<QString,QCheckListItem*> m_applets; 67 QMap<QString,QCheckListItem*> m_applets;
68 QMap<TodayPluginInterface*,TodayConfigWidget*> m_configMap;
67 69
68 int m_autoStart; 70 int m_autoStart;
69 int m_autoStartTimer; 71 int m_autoStartTimer;