author | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
commit | b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff) | |
tree | 2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /microkde/kresources/kcmkresources.h | |
download | kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2 |
Initial revision
Diffstat (limited to 'microkde/kresources/kcmkresources.h') (more/less context) (show whitespace changes)
-rw-r--r-- | microkde/kresources/kcmkresources.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/microkde/kresources/kcmkresources.h b/microkde/kresources/kcmkresources.h new file mode 100644 index 0000000..a83bb33 --- a/dev/null +++ b/microkde/kresources/kcmkresources.h | |||
@@ -0,0 +1,54 @@ | |||
1 | /* | ||
2 | This file is part of libkresources. | ||
3 | |||
4 | Copyright (c) 2003 Tobias Koenig <tokoe@kde.org> | ||
5 | |||
6 | This library is free software; you can redistribute it and/or | ||
7 | modify it under the terms of the GNU Library General Public | ||
8 | License as published by the Free Software Foundation; either | ||
9 | version 2 of the License, or (at your option) any later version. | ||
10 | |||
11 | This library is distributed in the hope that it will be useful, | ||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
14 | Library General Public License for more details. | ||
15 | |||
16 | You should have received a copy of the GNU Library General Public License | ||
17 | along with this library; see the file COPYING.LIB. If not, write to | ||
18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
19 | Boston, MA 02111-1307, USA. | ||
20 | */ | ||
21 | |||
22 | #ifndef KRESOURCES_KCMKRESOURCES_H | ||
23 | #define KRESOURCES_KCMKRESOURCES_H | ||
24 | |||
25 | #include <kdialogbase.h> | ||
26 | |||
27 | namespace KRES { | ||
28 | |||
29 | class ConfigPage; | ||
30 | |||
31 | |||
32 | //US class KCMKResources : public KCModule | ||
33 | class KCMKResources : public KDialogBase | ||
34 | { | ||
35 | Q_OBJECT | ||
36 | |||
37 | public: | ||
38 | KCMKResources( QWidget *parent, const char *name, const QStringList& ); | ||
39 | |||
40 | void load(); | ||
41 | void save(); | ||
42 | void defaults(); | ||
43 | |||
44 | protected slots: | ||
45 | virtual void slotOk(); | ||
46 | void changed( bool ); | ||
47 | |||
48 | private: | ||
49 | KRES::ConfigPage *mConfigPage; | ||
50 | bool modified; | ||
51 | }; | ||
52 | |||
53 | } | ||
54 | #endif | ||