kwin/clients/modernsystem/config/config.h
Urs Wolfer 13911a64f5 less Q3:
* remove unused Q3 includes
* revert mistake form my last commit

svn path=/trunk/KDE/kdebase/workspace/; revision=484484
2005-11-30 23:58:24 +00:00

52 lines
922 B
C++

#ifndef __KDE_MODSYSTEMCONFIG_H
#define __KDE_MODSYSTEMCONFIG_H
#include <qcheckbox.h>
#include <qlayout.h>
#include <qslider.h>
#include <qlabel.h>
//Added by qt3to4:
#include <QVBoxLayout>
#include <kvbox.h>
class ModernSysConfig : public QObject
{
Q_OBJECT
public:
ModernSysConfig(KConfig* conf, QWidget* 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;
QWidget *mainw;
QVBoxLayout *vbox;
QWidget *handleBox;
QCheckBox *cbShowHandle;
KVBox *sliderBox;
QSlider *handleSizeSlider;
KHBox *hbox;
QLabel *label1;
QLabel *label2;
QLabel *label3;
unsigned handleWidth;
unsigned handleSize;
};
#endif