From 4d7617cbf20985b7cf2231675d8aadd01f77c3d2 Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 2 Jul 2008 07:49:31 +0000 Subject: Added disable/enable methods on widgets and exposed them to lua. --- client/widgets/widget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/widgets/widget.h') diff --git a/client/widgets/widget.h b/client/widgets/widget.h index cba6be9..9b6a996 100644 --- a/client/widgets/widget.h +++ b/client/widgets/widget.h @@ -41,6 +41,8 @@ public: virtual QString getValue(); virtual void setValue(QString value); virtual bool isValid(); + virtual void disable(); + virtual void enable(); QString getName(); protected: -- cgit v1.2.3