2007-04-29 17:35:43 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* KDE2 Default configuration widget
|
|
|
|
*
|
|
|
|
* Copyright (c) 2001
|
|
|
|
* Karol Szwed <gallium@kde.org>
|
|
|
|
* http://gallium.n3.net/
|
|
|
|
*/
|
|
|
|
|
2007-07-31 19:37:29 +00:00
|
|
|
#ifndef KDE2_CONFIG_H
|
|
|
|
#define KDE2_CONFIG_H
|
2007-04-29 17:35:43 +00:00
|
|
|
|
|
|
|
#include <QCheckBox>
|
|
|
|
#include <QGroupBox>
|
|
|
|
#include <QLabel>
|
2007-07-31 19:37:29 +00:00
|
|
|
|
2007-04-29 17:35:43 +00:00
|
|
|
#include <kvbox.h>
|
2007-07-31 19:37:29 +00:00
|
|
|
#include <kconfig.h>
|
2007-04-29 17:35:43 +00:00
|
|
|
|
2007-07-31 19:37:29 +00:00
|
|
|
class KDE2Config: public QObject
|
2007-04-29 17:35:43 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2007-07-31 19:37:29 +00:00
|
|
|
KDE2Config( KConfig* conf, QWidget* parent );
|
|
|
|
~KDE2Config();
|
2007-04-29 17:35:43 +00:00
|
|
|
|
|
|
|
// These public signals/slots work similar to KCM modules
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
|
|
|
|
|
|
public slots:
|
2007-05-11 15:49:22 +00:00
|
|
|
void load( const KConfigGroup& conf );
|
|
|
|
void save( KConfigGroup& conf );
|
2007-04-29 17:35:43 +00:00
|
|
|
void defaults();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void slotSelectionChanged(); // Internal use
|
|
|
|
|
|
|
|
private:
|
|
|
|
QCheckBox* cbShowStipple;
|
|
|
|
QCheckBox* cbShowGrabBar;
|
|
|
|
QCheckBox* cbUseGradients;
|
|
|
|
KVBox* gb;
|
2007-07-31 19:37:29 +00:00
|
|
|
KConfig *c;
|
|
|
|
bool highcolor;
|
2007-04-29 17:35:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// vim: ts=4
|
2007-07-31 19:37:29 +00:00
|
|
|
// kate: space-indent off; tab-width 4;
|