not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kcontrol / kdm / kdm-gen.h
blob04caad0632ab595989c7e4a6ceb5c5a17ea03394
1 /*
2 Copyright (C) 1997 Thomas Tanghus (tanghus@earthling.net)
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
20 #ifndef __KDMGEN_H__
21 #define __KDMGEN_H__
23 #include <QWidget>
25 class KBackedComboBox;
26 class KFontRequester;
27 class KLanguageButton;
28 class QCheckBox;
30 class KDMGeneralWidget : public QWidget {
31 Q_OBJECT
33 public:
34 KDMGeneralWidget( QWidget *parent = 0 );
36 void load();
37 void save();
38 void defaults();
39 void makeReadOnly();
41 void loadColorSchemes( KBackedComboBox *combo );
42 void loadGuiStyles( KBackedComboBox *combo );
44 Q_SIGNALS:
45 void changed();
46 void useThemeChanged( bool );
48 protected Q_SLOTS:
49 void slotUseThemeChanged();
51 private:
52 void set_def();
54 QCheckBox *useThemeCheck;
55 KBackedComboBox *guicombo;
56 KBackedComboBox *colcombo;
57 KLanguageButton *langcombo;
58 QCheckBox *aacb;
59 KFontRequester *greetingFontChooser;
60 KFontRequester *failFontChooser;
61 KFontRequester *stdFontChooser;
65 #endif