diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-15 07:53:25 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-15 07:53:25 (GMT) |
commit | 958dc50e2b0fe2e875a704554438be75907ed3c5 (patch) | |
tree | 4d6adcfaaa1dab716e50868482c034dbf13ae916 /src/declarative/qml/qmlexpression_p.h | |
parent | 439a06d29088856bff2ef4b7ce5b9585561c7de9 (diff) | |
download | Qt-958dc50e2b0fe2e875a704554438be75907ed3c5.zip Qt-958dc50e2b0fe2e875a704554438be75907ed3c5.tar.gz Qt-958dc50e2b0fe2e875a704554438be75907ed3c5.tar.bz2 |
Use a function object when evaluating bindings
Diffstat (limited to 'src/declarative/qml/qmlexpression_p.h')
-rw-r--r-- | src/declarative/qml/qmlexpression_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlexpression_p.h b/src/declarative/qml/qmlexpression_p.h index 5883125..09745a3 100644 --- a/src/declarative/qml/qmlexpression_p.h +++ b/src/declarative/qml/qmlexpression_p.h @@ -55,6 +55,7 @@ #include "qmlbasicscript_p.h" #include "qmlexpression.h" +#include <QtScript/qscriptvalue.h> QT_BEGIN_NAMESPACE @@ -73,6 +74,9 @@ public: QmlExpression *q; QmlContext *ctxt; QString expression; + bool expressionFunctionValid; + QScriptValue expressionFunction; + QmlBasicScript sse; void *sseData; QmlExpressionBindProxy *proxy; |