author | zautrix <zautrix> | 2005-02-19 20:30:34 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-19 20:30:34 (UTC) |
commit | 6f4d42c16c87668279db1e0a0d3e4f4aad5b84f6 (patch) (unidiff) | |
tree | 89fbb2b107a1681a1fbb19b35c3a9484652dc352 /libkdepim/categoryeditdialog.h | |
parent | 11b5b0eb24cfb943df106f7ee97646955bec0fd3 (diff) | |
download | kdepimpi-6f4d42c16c87668279db1e0a0d3e4f4aad5b84f6.zip kdepimpi-6f4d42c16c87668279db1e0a0d3e4f4aad5b84f6.tar.gz kdepimpi-6f4d42c16c87668279db1e0a0d3e4f4aad5b84f6.tar.bz2 |
cat select fix
Diffstat (limited to 'libkdepim/categoryeditdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libkdepim/categoryeditdialog.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libkdepim/categoryeditdialog.h b/libkdepim/categoryeditdialog.h index 4ebc802..3e8ab45 100644 --- a/libkdepim/categoryeditdialog.h +++ b/libkdepim/categoryeditdialog.h | |||
@@ -24,11 +24,35 @@ | |||
24 | #define KPIM_CATEGORYEDITDIALOG_H | 24 | #define KPIM_CATEGORYEDITDIALOG_H |
25 | 25 | ||
26 | #include <categoryeditdialog_base.h> | 26 | #include <categoryeditdialog_base.h> |
27 | #include <qlistview.h> | ||
27 | 28 | ||
28 | class KPimPrefs; | 29 | class KPimPrefs; |
29 | 30 | ||
30 | namespace KPIM { | 31 | namespace KPIM { |
31 | 32 | ||
33 | class CategorySelectItem :public QObject, public QCheckListItem | ||
34 | { | ||
35 | |||
36 | Q_OBJECT | ||
37 | public: | ||
38 | |||
39 | CategorySelectItem(QListView * parent, const QString & text, Type tt) : | ||
40 | QCheckListItem (parent, text, tt ) , QObject( parent ) | ||
41 | {;} | ||
42 | |||
43 | signals: | ||
44 | void stateChanged( QListViewItem*); | ||
45 | |||
46 | protected: | ||
47 | |||
48 | virtual void stateChange(bool b) | ||
49 | { | ||
50 | QCheckListItem::stateChange(b); | ||
51 | emit stateChanged( this ); | ||
52 | } | ||
53 | }; | ||
54 | |||
55 | |||
32 | class CategoryEditDialog : public CategoryEditDialog_base | 56 | class CategoryEditDialog : public CategoryEditDialog_base |
33 | { | 57 | { |
34 | Q_OBJECT | 58 | Q_OBJECT |