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/button.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/widgets/button.h') diff --git a/client/widgets/button.h b/client/widgets/button.h index d9d0b26..64d51f9 100644 --- a/client/widgets/button.h +++ b/client/widgets/button.h @@ -51,6 +51,10 @@ public: void reset(); + void disable(); + void enable(); + bool isDisabled(); + public slots: void commit(); void _reset(); -- cgit v1.2.3