author | tille <tille> | 2002-06-29 20:15:06 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-29 20:15:06 (UTC) |
commit | 5960b3a2823037c63afba09ca83dbcc0943cd082 (patch) (unidiff) | |
tree | e81a6fed931463b24ef0dd32cd913275e19eb850 /noncore/apps/confedit/listviewitemconffile.h | |
parent | ffc8b4587d6070abc82b22d03f0819d78c1ff9b0 (diff) | |
download | opie-5960b3a2823037c63afba09ca83dbcc0943cd082.zip opie-5960b3a2823037c63afba09ca83dbcc0943cd082.tar.gz opie-5960b3a2823037c63afba09ca83dbcc0943cd082.tar.bz2 |
something like regedit ;-)
Diffstat (limited to 'noncore/apps/confedit/listviewitemconffile.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/confedit/listviewitemconffile.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/noncore/apps/confedit/listviewitemconffile.h b/noncore/apps/confedit/listviewitemconffile.h new file mode 100644 index 0000000..9208918 --- a/dev/null +++ b/noncore/apps/confedit/listviewitemconffile.h | |||
@@ -0,0 +1,36 @@ | |||
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. Vogt <tille@handhelds.org> | ||
10 | |||
11 | #ifndef LISTVIEWITEMCONFFILE_H | ||
12 | #define LISTVIEWITEMCONFFILE_H | ||
13 | |||
14 | #include <qwidget.h> | ||
15 | #include <qlistview.h> | ||
16 | #include <qfile.h> | ||
17 | #include <qfileinfo.h> | ||
18 | #include "listviewitemconf.h" | ||
19 | |||
20 | |||
21 | class ListViewItemConfFile : public ListViewItemConf { | ||
22 | public: | ||
23 | ListViewItemConfFile(QFileInfo *file, QListView *parent=0); | ||
24 | ~ListViewItemConfFile(); | ||
25 | void parseFile(); | ||
26 | QString fileName(); | ||
27 | virtual void displayText(); | ||
28 | /** No descriptions */ | ||
29 | void save(); | ||
30 | protected: | ||
31 | private: | ||
32 | bool _valid; | ||
33 | QFileInfo *confFileInfo; | ||
34 | }; | ||
35 | |||
36 | #endif | ||