~ubuntu-branches/ubuntu/gutsy/kdebase-workspace/gutsy-backports

« back to all changes in this revision

Viewing changes to kcontrol/kdm/background.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-09-05 20:45:14 UTC
  • Revision ID: james.westby@ubuntu.com-20070905204514-632hhspl0nvrc84i
Tags: upstream-3.93.0
ImportĀ upstreamĀ versionĀ 3.93.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of the KDE project, module kcmdisplay.
 
3
 * Copyright (C) 1999 Geert Jansen <g.t.jansen@stud.tue.nl>
 
4
 *
 
5
 * You can Freely distribute this program under the GNU General Public
 
6
 * License. See the file "COPYING" for the exact licensing terms.
 
7
 */
 
8
 
 
9
#ifndef __BACKGROUND__
 
10
#define __BACKGROUND__
 
11
 
 
12
#include <QWidget>
 
13
#include <ksharedconfig.h>
 
14
 
 
15
class BGDialog;
 
16
class QCheckBox;
 
17
class QLabel;
 
18
 
 
19
class KBackground : public QWidget {
 
20
        Q_OBJECT
 
21
 
 
22
  public:
 
23
        KBackground( QWidget *parent = 0 );
 
24
        ~KBackground();
 
25
 
 
26
        void load();
 
27
        void save();
 
28
        void defaults();
 
29
        void makeReadOnly();
 
30
 
 
31
  Q_SIGNALS:
 
32
        void changed();
 
33
 
 
34
  private Q_SLOTS:
 
35
        void slotEnableChanged();
 
36
 
 
37
  private:
 
38
        void init();
 
39
        void apply();
 
40
 
 
41
        QCheckBox *m_pCBEnable;
 
42
        QLabel *m_pMLabel;
 
43
        KSharedConfigPtr m_simpleConf;
 
44
        BGDialog *m_background;
 
45
};
 
46
 
 
47
 
 
48
#endif // __Bgnd_h_Included__