not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kwin / clients / b2 / config / config.h
bloba0f2c836c620e3ab8f6fd3d8e75f78b5074471f3
1 /********************************************************************
2 This file contains the B2 configuration widget
4 Copyright (c) 2001
5 Karol Szwed <gallium@kde.org>
6 http://gallium.n3.net/
7 Copyright (c) 2007
8 Luciano Montanaro <mikelima@cirulla.net>
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 *********************************************************************/
24 #ifndef _KDE_B2CONFIG_H
25 #define _KDE_B2CONFIG_H
27 #include <QCheckBox>
28 #include <QGroupBox>
29 #include <QLabel>
30 #include <QComboBox>
31 #include <kconfig.h>
33 class B2Config: public QObject
35 Q_OBJECT
37 public:
38 B2Config(KConfig *conf, QWidget *parent);
39 ~B2Config();
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 KConfig *b2Config;
55 QCheckBox *cbColorBorder;
56 QCheckBox *showGrabHandleCb;
57 QGroupBox *actionsGB;
58 QComboBox *menuDblClickOp;
59 QWidget *gb;
62 #endif
64 // vi: sw=4 ts=8