5725624c8b
svn path=/trunk/KDE/kdebase/workspace/; revision=540496
48 lines
838 B
C++
48 lines
838 B
C++
/*
|
|
*
|
|
* KDE2 Default configuration widget
|
|
*
|
|
* Copyright (c) 2001
|
|
* Karol Szwed <gallium@kde.org>
|
|
* http://gallium.n3.net/
|
|
*/
|
|
|
|
#ifndef _KDE_DEFAULT_CONFIG_H
|
|
#define _KDE_DEFAULT_CONFIG_H
|
|
|
|
#include <QCheckBox>
|
|
#include <QGroupBox>
|
|
#include <kconfig.h>
|
|
#include <QLabel>
|
|
#include <kvbox.h>
|
|
|
|
class KDEDefaultConfig: public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
KDEDefaultConfig( KConfig* conf, QWidget* parent );
|
|
~KDEDefaultConfig();
|
|
|
|
// 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:
|
|
QCheckBox* cbShowStipple;
|
|
QCheckBox* cbShowGrabBar;
|
|
QCheckBox* cbUseGradients;
|
|
KVBox* gb;
|
|
bool highcolor;
|
|
};
|
|
|
|
#endif
|
|
// vim: ts=4
|