kwin/clients/modernsystem/config/config.h
Stephan Kulow b464518b3c svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/kwin/; revision=439627
2005-07-28 14:59:42 +00:00

52 lines
948 B
C++

#ifndef __KDE_MODSYSTEMCONFIG_H
#define __KDE_MODSYSTEMCONFIG_H
#include <qcheckbox.h>
#include <q3groupbox.h>
#include <qlayout.h>
#include <q3vbox.h>
#include <qslider.h>
#include <qlabel.h>
//Added by qt3to4:
#include <QVBoxLayout>
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;
Q3VBox *sliderBox;
QSlider *handleSizeSlider;
Q3HBox *hbox;
QLabel *label1;
QLabel *label2;
QLabel *label3;
unsigned handleWidth;
unsigned handleSize;
};
#endif