From 37cd747953facf8c4ffed40dcef175391d15c388 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 13 Aug 2010 12:18:14 +0000 Subject: Child recursion setValue fix. Missing initialisation of hideChildren and missing check on valid(). --- client/widgets/widget.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client/widgets/widget.h') diff --git a/client/widgets/widget.h b/client/widgets/widget.h index 2a95294..ef22c18 100644 --- a/client/widgets/widget.h +++ b/client/widgets/widget.h @@ -69,9 +69,11 @@ public: virtual bool setKeyboardFocus(); + /* void setInitialValue(QString value); bool hasInitialValue(); virtual void reset(); + */ QWidget *qwidget() { return widget; } @@ -119,11 +121,13 @@ private: bool hasOnChangeEvent; QString onChangeEventScript; + /* QString initial_value; QString initial_source; bool has_initial_value; - QString prefilled; + */ + }; #endif/*__PRACRO_WIDGET_H__*/ -- cgit v1.2.3