summaryrefslogtreecommitdiffstats
path: root/kwin-styles/cde/config/config.h
blob: 366cec5497d589909767e3061fc932f4a498c0e0 (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
51
#ifndef __KDE_CDECONFIG_H
#define __KDE_CDECONFIG_H

#include <tqcheckbox.h>
#include <tqgroupbox.h>
#include <tqbuttongroup.h>
#include <tqlabel.h>
#include <tqradiobutton.h>
#include <tqhbox.h>
#include <kconfig.h>

class TQCheckBox;
class TQGroupBox;
class TQVBox;
class TQLabel;
class TQRadioButton;

class CdeConfig: public QObject
{
	Q_OBJECT

	public:
		CdeConfig( KConfig* conf, TQWidget* parent );
		~CdeConfig();

	// These public signals/slots work similar to KCM modules
	signals:
		void changed();

	public slots:
		void load( KConfig* conf );	
		void save( KConfig* conf );
		void defaults();

	protected slots:
		void slotSelectionChanged();	// Internal use
		void slotSelectionChanged( int );
		
	private:
		KConfig*   	cdeConfig;
		TQCheckBox* 	cbColorBorder;
//		TQCheckBox* 	cbTitlebarButton;
		TQHBox* 	        groupBox;
		TQGroupBox* 	gbSlider;
		TQButtonGroup*	bgAlign;
};


#endif

// vim: ts=4