summaryrefslogtreecommitdiffabout
path: root/libkdepim/categoryeditdialog.h
Side-by-side diff
Diffstat (limited to 'libkdepim/categoryeditdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/categoryeditdialog.h24
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 @@
#define KPIM_CATEGORYEDITDIALOG_H
#include <categoryeditdialog_base.h>
+#include <qlistview.h>
class KPimPrefs;
namespace KPIM {
+ class CategorySelectItem :public QObject, public QCheckListItem
+{
+
+ Q_OBJECT
+ public:
+
+ CategorySelectItem(QListView * parent, const QString & text, Type tt) :
+ QCheckListItem (parent, text, tt ) , QObject( parent )
+ {;}
+
+ signals:
+ void stateChanged( QListViewItem*);
+
+ protected:
+
+ virtual void stateChange(bool b)
+ {
+ QCheckListItem::stateChange(b);
+ emit stateChanged( this );
+ }
+};
+
+
class CategoryEditDialog : public CategoryEditDialog_base
{
Q_OBJECT