diff options
author | deva <deva> | 2008-06-03 14:45:48 +0000 |
---|---|---|
committer | deva <deva> | 2008-06-03 14:45:48 +0000 |
commit | 0febf6ea9cbd1a6e04e41339fc46d2e6b07da5e7 (patch) | |
tree | da9cee1a15609b8aa2ed556160c5660819621db2 /client/widgets/widget.h | |
parent | bb3fad646f94739a876869464a484c99795bce61 (diff) |
LUA rocks
Diffstat (limited to 'client/widgets/widget.h')
-rw-r--r-- | client/widgets/widget.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/client/widgets/widget.h b/client/widgets/widget.h index 391f2e9..cba6be9 100644 --- a/client/widgets/widget.h +++ b/client/widgets/widget.h @@ -31,13 +31,15 @@ #include <QDomNode> #include <QRegExp> +#include "macrowindow.h" #include "lua.h" class Widget { public: - Widget(QDomNode &node); + Widget(QDomNode &node, MacroWindow *macrowindow); virtual ~Widget(){} virtual QString getValue(); + virtual void setValue(QString value); virtual bool isValid(); QString getName(); @@ -51,9 +53,11 @@ private: QRegExp rx; bool hasregexpvalidator; - bool hasluavalidator; + bool hasluaprogram; - QString lua_validator; + QString luaprogram; + LUA *lua; + MacroWindow *macrowindow; }; #endif/*__PRACRO_WIDGET_H__*/ |