summaryrefslogtreecommitdiffstats
path: root/kcontrol/kdm/background.h
blob: 76b0070c3fc16535e84bc72471456270b454ffce (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 KGlobalBackgroundSettings;
class TQCheckBox;
class TQLabel;

class KBackground: public QWidget
{
    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__