summaryrefslogtreecommitdiffstats
path: root/twin/clients/modernsystem/config/config.h
blob: 3a04573cf2e64d3d10b205a01f368fd4da25aabe (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
#ifndef __KDE_MODSYSTEMCONFIG_H
#define __KDE_MODSYSTEMCONFIG_H

#include <tqcheckbox.h>
#include <tqgroupbox.h>
#include <tqlayout.h>
#include <tqvbox.h>
#include <tqslider.h>
#include <tqlabel.h>

class ModernSysConfig : public TQObject
{
	Q_OBJECT

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

	// 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

	private:
		KConfig   	*clientrc;
		TQWidget		*mainw;
		TQVBoxLayout	*vbox;
		TQWidget         *handleBox;
		TQCheckBox 	*cbShowHandle;
		TQVBox		*sliderBox;
		TQSlider		*handleSizeSlider;
		TQHBox		*hbox;
		TQLabel		*label1;
		TQLabel		*label2;
		TQLabel		*label3;
		
		unsigned  	handleWidth;
		unsigned  	handleSize;

};


#endif