From 4497bea2b68a883d1bed72797f27275c833843ea Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 15 Jan 2009 07:24:30 +0000 Subject: Added isDisabled method to all widget classes and made sure that only enabled widgets send their values on commit. --- client/widgets/groupbox.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/widgets/groupbox.h') diff --git a/client/widgets/groupbox.h b/client/widgets/groupbox.h index d1ffb86..ed848f7 100644 --- a/client/widgets/groupbox.h +++ b/client/widgets/groupbox.h @@ -36,8 +36,9 @@ class GroupBox : public QGroupBox, public Widget public: GroupBox(QDomNode &node, MacroWindow *macrowindow); - void enable(); void disable(); + void enable(); + bool isDisabled(); void connectFrom(const char *signal, const QObject *receiver, const char *method); -- cgit v1.2.3