768109dcf6
svn path=/trunk/KDE/kdebase/workspace/; revision=673175
51 lines
954 B
C++
51 lines
954 B
C++
/*
|
|
* This file contains the B2 configuration widget
|
|
*
|
|
* Copyright (c) 2001
|
|
* Karol Szwed <gallium@kde.org>
|
|
* http://gallium.n3.net/
|
|
* Copyright (c) 2007
|
|
* Luciano Montanaro <mikelima@cirulla.net>
|
|
*/
|
|
|
|
#ifndef _KDE_B2CONFIG_H
|
|
#define _KDE_B2CONFIG_H
|
|
|
|
#include <QCheckBox>
|
|
#include <QGroupBox>
|
|
#include <QLabel>
|
|
#include <QComboBox>
|
|
#include <kconfig.h>
|
|
|
|
class B2Config: public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
B2Config(KConfig *conf, QWidget *parent);
|
|
~B2Config();
|
|
|
|
// These public signals/slots work similar to KCM modules
|
|
signals:
|
|
void changed();
|
|
|
|
public slots:
|
|
void load(const KConfigGroup &conf);
|
|
void save(KConfigGroup &conf);
|
|
void defaults();
|
|
|
|
protected slots:
|
|
void slotSelectionChanged(); // Internal use
|
|
|
|
private:
|
|
KConfig *b2Config;
|
|
QCheckBox *cbColorBorder;
|
|
QCheckBox *showGrabHandleCb;
|
|
QGroupBox *actionsGB;
|
|
QComboBox *menuDblClickOp;
|
|
QWidget *gb;
|
|
};
|
|
|
|
#endif
|
|
|
|
// vi: sw=4 ts=8
|