Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / kwin / clients / kde2 / config / config.h
blob745e65b69d38e25e19daeea22b04aceb5d006fda
1 /*********************************************************************
3 KDE2 Default configuration widget
5 Copyright (c) 2001
6 Karol Szwed <gallium@kde.org>
7 http://gallium.n3.net/
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 *********************************************************************/
23 #ifndef KDE2_CONFIG_H
24 #define KDE2_CONFIG_H
26 #include <QCheckBox>
27 #include <QGroupBox>
28 #include <QLabel>
30 #include <kvbox.h>
31 #include <kconfig.h>
33 class KDE2Config: public QObject
35 Q_OBJECT
37 public:
38 KDE2Config( KConfig* conf, QWidget* parent );
39 ~KDE2Config();
41 // These public signals/slots work similar to KCM modules
42 signals:
43 void changed();
45 public slots:
46 void load( const KConfigGroup& conf );
47 void save( KConfigGroup& conf );
48 void defaults();
50 protected slots:
51 void slotSelectionChanged(); // Internal use
53 private:
54 QCheckBox* cbShowStipple;
55 QCheckBox* cbShowGrabBar;
56 QCheckBox* cbUseGradients;
57 KVBox* gb;
58 KConfig *c;
59 bool highcolor;
62 #endif
63 // vim: ts=4
64 // kate: space-indent off; tab-width 4;