add more spacing
[personal-kdebase.git] / workspace / kcontrol / kdm / background.h
blob3f2c73f0979bb445c700c6e178421c45af1aee88
1 /*
2 * This file is part of the KDE project, module kcmdisplay.
3 * Copyright (C) 1999 Geert Jansen <g.t.jansen@stud.tue.nl>
5 * You can Freely distribute this program under the GNU General Public
6 * License. See the file "COPYING" for the exact licensing terms.
7 */
9 #ifndef __BACKGROUND__
10 #define __BACKGROUND__
12 #include <QWidget>
13 #include <ksharedconfig.h>
15 class BGDialog;
16 class QCheckBox;
17 class QLabel;
19 class KBackground : public QWidget {
20 Q_OBJECT
22 public:
23 KBackground( QWidget *parent = 0 );
24 ~KBackground();
26 void load();
27 void save();
28 void defaults();
29 void makeReadOnly();
31 Q_SIGNALS:
32 void changed();
34 private Q_SLOTS:
35 void slotEnableChanged();
37 private:
38 void init();
39 void apply();
41 QCheckBox *m_pCBEnable;
42 QLabel *m_pMLabel;
43 KSharedConfigPtr m_simpleConf;
44 BGDialog *m_background;
48 #endif // __Bgnd_h_Included__