summaryrefslogtreecommitdiff
path: root/noncore/apps/confedit/listviewitemconf.h
Unidiff
Diffstat (limited to 'noncore/apps/confedit/listviewitemconf.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/confedit/listviewitemconf.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/noncore/apps/confedit/listviewitemconf.h b/noncore/apps/confedit/listviewitemconf.h
new file mode 100644
index 0000000..5837625
--- a/dev/null
+++ b/noncore/apps/confedit/listviewitemconf.h
@@ -0,0 +1,35 @@
1/***************************************************************************
2 * *
3 * This program is free software; you can redistribute it and/or modify *
4 * it under the terms of the GNU General Public License as published by *
5 * the Free Software Foundation; either version 2 of the License, or *
6 * (at your option) any later version. *
7 * *
8 ***************************************************************************/
9
10#ifndef LISTVIEWITEMCONF_H
11#define LISTVIEWITEMCONF_H
12
13#include <qlistview.h>
14
15
16class ListViewItemConf : public QListViewItem
17{
18public:
19 enum {File, Group, Key};
20
21 ListViewItemConf(ListViewItemConf *parent);
22 ListViewItemConf(QListView *parent);
23 ~ListViewItemConf();
24
25 int getType();
26 virtual void displayText() = 0;
27 virtual void changed();
28 virtual void unchanged();
29
30protected:
31 int _type;
32 bool _changed;
33};
34
35#endif