summaryrefslogtreecommitdiff
path: root/noncore/apps/confedit/listviewitemconfigentry.h
Unidiff
Diffstat (limited to 'noncore/apps/confedit/listviewitemconfigentry.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/confedit/listviewitemconfigentry.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/noncore/apps/confedit/listviewitemconfigentry.h b/noncore/apps/confedit/listviewitemconfigentry.h
new file mode 100644
index 0000000..d2b331f
--- a/dev/null
+++ b/noncore/apps/confedit/listviewitemconfigentry.h
@@ -0,0 +1,43 @@
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 // (c) 2002 Patrick S. Vogtp <tille@handhelds.org>
10
11#ifndef LISTVIEWITEMCONFIGENTRY_H
12#define LISTVIEWITEMCONFIGENTRY_H
13
14#include <qwidget.h>
15#include <qlistview.h>
16#include "listviewitemconffile.h"
17#include "listviewitemconf.h"
18
19class ListViewItemConfigEntry : public ListViewItemConf {
20public:
21 ListViewItemConfigEntry(ListViewItemConfFile *parent, QString group, QString key="");
22 ~ListViewItemConfigEntry();
23 bool isGroup();
24 bool isKey();
25 QString getFile();
26 void setGroup(QString);
27 QString getGroup();
28 void setKey(QString);
29 QString getKey();
30 QString getValue();
31 void keyChanged(QString);
32 void valueChanged(QString);
33 virtual void displayText();
34 virtual void changed();
35private:
36 QString _file;
37 QString _group;
38 QString _key;
39 QString _value;
40 ListViewItemConfFile *_fileItem;
41};
42
43#endif