diff options
author | deva <deva> | 2009-08-06 13:41:25 +0000 |
---|---|---|
committer | deva <deva> | 2009-08-06 13:41:25 +0000 |
commit | 11591030b43932140fc2e3d4cc922e58f8bb7c6d (patch) | |
tree | cf403a8e2062ed0064cb5e0be085bf50d3414362 /client/widgets/widget.h | |
parent | e3fa5da963ba88b64b4aaf83ca53bb3d7aeb1f70 (diff) |
Made macros with prefilled values commitable. Fixed bug, where innerwidget of altcombobox didn't get its value set.
Diffstat (limited to 'client/widgets/widget.h')
-rw-r--r-- | client/widgets/widget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/widgets/widget.h b/client/widgets/widget.h index 2977e3a..bd84705 100644 --- a/client/widgets/widget.h +++ b/client/widgets/widget.h @@ -65,6 +65,7 @@ public: virtual bool setKeyboardFocus() { return false; } void setInitialValue(QString value); + bool hasInitialValue(); virtual void reset(); protected: @@ -85,6 +86,8 @@ private: QString initial_value; bool has_initial_value; + + QString prefilled; }; #endif/*__PRACRO_WIDGET_H__*/ |