summaryrefslogtreecommitdiff
path: root/client/widgets/widget.h
diff options
context:
space:
mode:
authordeva <deva>2010-08-19 09:04:47 +0000
committerdeva <deva>2010-08-19 09:04:47 +0000
commit7914500c96ebe2106716a001ca2b93594d3c07a5 (patch)
tree025cf3dcbba673df9dcca9fa5864135a328209c8 /client/widgets/widget.h
parent145bc8467b9f4271ca15654bc4bc6f7a8bc816b6 (diff)
Fixed problems with eventOnChange.
Diffstat (limited to 'client/widgets/widget.h')
-rw-r--r--client/widgets/widget.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/client/widgets/widget.h b/client/widgets/widget.h
index 99b9479..17480cb 100644
--- a/client/widgets/widget.h
+++ b/client/widgets/widget.h
@@ -81,15 +81,16 @@ public:
signals:
void wasChanged();
-public slots:
- void childWasChanged();
-
-protected:
/*
* LUA scripting events:
*/
void eventOnChange(bool deep = false);
+public slots:
+ void childWasChanged();
+ void runEventOnChange(bool deep = false);
+
+protected:
QWidget *widget;
bool hideChildren;