author | zecke <zecke> | 2004-09-12 20:31:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-12 20:31:20 (UTC) |
commit | b52e2e46ec535a5307276b8fdf1e578aa5d29283 (patch) (unidiff) | |
tree | f30d0fd2faaf89c2bc982e3f8a645645bf74edd8 /core/pim/today/todayconfig.h | |
parent | 90aaa298cc69522e88e1f81ade7d5259131b1544 (diff) | |
download | opie-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
-rw-r--r-- | core/pim/today/todayconfig.h | 4 |
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; | |||
30 | class QLabel; | 30 | class QLabel; |
31 | class QSpinBox; | 31 | class QSpinBox; |
32 | class QTabWidget; | 32 | class QTabWidget; |
33 | class TodayConfigWidget; | ||
34 | class TodayPluginInterface; | ||
33 | 35 | ||
34 | namespace Opie { | 36 | namespace Opie { |
35 | namespace Core { | 37 | namespace Core { |
@@ -40,7 +42,6 @@ namespace Opie { | |||
40 | } | 42 | } |
41 | 43 | ||
42 | class TodayConfig : public QDialog { | 44 | class TodayConfig : public QDialog { |
43 | |||
44 | Q_OBJECT | 45 | Q_OBJECT |
45 | 46 | ||
46 | public: | 47 | public: |
@@ -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; |