diff options
Diffstat (limited to 'kcontrol/tdm/background.h')
-rw-r--r-- | kcontrol/tdm/background.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/kcontrol/tdm/background.h b/kcontrol/tdm/background.h new file mode 100644 index 000000000..2e5182b16 --- /dev/null +++ b/kcontrol/tdm/background.h @@ -0,0 +1,50 @@ +/* vi: ts=8 sts=4 sw=4 + * + * This file is part of the KDE project, module kcmdisplay. + * Copyright (C) 1999 Geert Jansen <[email protected]> + * + * You can Freely distribute this program under the GNU General Public + * License. See the file "COPYING" for the exact licensing terms. + */ + +#ifndef __Bgnd_h_Included__ +#define __Bgnd_h_Included__ + +#include <tqobject.h> +#include <tqwidget.h> + + +class KSimpleConfig; +class BGDialog; +class KGlobalBackgroundSettings; +class TQCheckBox; +class TQLabel; + +class KBackground: public TQWidget +{ + Q_OBJECT +public: + KBackground(TQWidget *parent=0, const char *name=0); + ~KBackground(); + + void load(); + void save(); + void defaults(); + void makeReadOnly(); +signals: + void changed(bool); + +private slots: + void slotEnableChanged(); +private: + void init(); + void apply(); + + TQCheckBox *m_pCBEnable; + TQLabel *m_pMLabel; + KSimpleConfig *m_simpleConf; + BGDialog *m_background; +}; + + +#endif // __Bgnd_h_Included__ |