diff options
author | Timothy Pearson <[email protected]> | 2012-01-22 01:02:36 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-01-22 01:02:36 -0600 |
commit | b81e43465b14836b17e4fe2dea91c78a2bdd29b3 (patch) | |
tree | 7815d61ce59a6ccb6e655ed44f5fea786f520985 /kcontrol/tdm/background.h | |
parent | 7021f40c13f949b7cb5ded32d0241d648a43bf6c (diff) | |
download | tdebase-b81e43465b14836b17e4fe2dea91c78a2bdd29b3.tar.gz tdebase-b81e43465b14836b17e4fe2dea91c78a2bdd29b3.zip |
Part 2 of prior commit
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__ |