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/combobox.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'client/widgets/combobox.h') diff --git a/client/widgets/combobox.h b/client/widgets/combobox.h index 9ad2323..0a5724f 100644 --- a/client/widgets/combobox.h +++ b/client/widgets/combobox.h @@ -38,10 +38,15 @@ Q_OBJECT public: ComboBox(QDomNode &node, MacroWindow *macrowindow); -public slots: bool isValid(); + QString getValue(); void setValue(QString value); + + void enable(); + void disable(); + +public slots: void changed(); private: -- cgit v1.2.3