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