summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard/inputbool.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-07-28 20:14:48 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-07-28 20:14:48 (GMT)
commitadac91e9a353095c3bae4b580d27b7cfd8617493 (patch)
treeeb4c65d3676c6ecd00dc532bcb6420f9eb71aa32 /addon/doxywizard/inputbool.h
parentb860a5cc743f3297002876b58d4db5e504f4294d (diff)
downloadDoxygen-adac91e9a353095c3bae4b580d27b7cfd8617493.zip
Doxygen-adac91e9a353095c3bae4b580d27b7cfd8617493.tar.gz
Doxygen-adac91e9a353095c3bae4b580d27b7cfd8617493.tar.bz2
Release-1.2.17-20020728
Diffstat (limited to 'addon/doxywizard/inputbool.h')
-rw-r--r--addon/doxywizard/inputbool.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/addon/doxywizard/inputbool.h b/addon/doxywizard/inputbool.h
index ab9728f..ca4520c 100644
--- a/addon/doxywizard/inputbool.h
+++ b/addon/doxywizard/inputbool.h
@@ -15,13 +15,14 @@
#ifndef _INPUTBOOL_H
#define _INPUTBOOL_H
+#include <qwidget.h>
#include <qcheckbox.h>
#include "input.h"
class PageWidget;
-class InputBool : public QCheckBox, public IInput
+class InputBool : public QWidget, /*QCheckBox,*/ public IInput
{
Q_OBJECT
@@ -29,7 +30,7 @@ class InputBool : public QCheckBox, public IInput
InputBool( const QString &text, PageWidget *parent, bool &flag );
~InputBool(){};
void init();
- void setEnabled(bool b) { QCheckBox::setEnabled(b); }
+ void setEnabled(bool b) { cb->setEnabled(b); }
QObject *qobject() { return this; }
bool getState() const { return state; }
@@ -42,6 +43,7 @@ class InputBool : public QCheckBox, public IInput
private:
bool &state;
+ QCheckBox *cb;
};