2001-09-08 10:12:23 +00:00
|
|
|
/*
|
|
|
|
* This file contains the B2 configuration widget
|
|
|
|
*
|
|
|
|
* Copyright (c) 2001
|
|
|
|
* Karol Szwed <gallium@kde.org>
|
|
|
|
* http://gallium.n3.net/
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _KDE_B2CONFIG_H
|
|
|
|
#define _KDE_B2CONFIG_H
|
|
|
|
|
|
|
|
#include <qcheckbox.h>
|
|
|
|
#include <qgroupbox.h>
|
2004-05-22 00:31:07 +00:00
|
|
|
#include <qhgroupbox.h>
|
|
|
|
#include <qlabel.h>
|
|
|
|
#include <qcombobox.h>
|
2001-09-08 10:12:23 +00:00
|
|
|
#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( KConfig* conf );
|
|
|
|
void save( KConfig* conf );
|
|
|
|
void defaults();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void slotSelectionChanged(); // Internal use
|
|
|
|
|
|
|
|
private:
|
|
|
|
KConfig* b2Config;
|
|
|
|
QCheckBox* cbColorBorder;
|
2004-06-20 10:03:04 +00:00
|
|
|
QCheckBox* showGrabHandleCb;
|
2004-05-22 00:31:07 +00:00
|
|
|
QHGroupBox* actionsGB;
|
|
|
|
QComboBox* menuDblClickOp;
|
2003-06-30 08:16:28 +00:00
|
|
|
QWidget* gb;
|
2001-09-08 10:12:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// vim: ts=4
|