summaryrefslogtreecommitdiffstats
path: root/kcontrol/tdm/background.h
blob: d88629c35f1ca74cef8f0d5818434e775e3192d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* vi: ts=8 sts=4 sw=4
 *
 * This file is part of the KDE project, module kcmdisplay.
 * Copyright (C) 1999 Geert Jansen <g.t.jansen@stud.tue.nl>
 *
 * 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 TDEGlobalBackgroundSettings;
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__