summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/qdeclarativejsparser_p.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-02-25 09:34:28 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2010-02-25 09:34:28 (GMT)
commit0e4dd15a90c119cea4ada833d88b51e336f53ee7 (patch)
tree86eef14fe41bc50e0f638e91227e5ad96a5181de /src/declarative/qml/parser/qdeclarativejsparser_p.h
parent75d61cbd7d2c72abb1fcf486c97bbb7429aea81b (diff)
downloadQt-0e4dd15a90c119cea4ada833d88b51e336f53ee7.zip
Qt-0e4dd15a90c119cea4ada833d88b51e336f53ee7.tar.gz
Qt-0e4dd15a90c119cea4ada833d88b51e336f53ee7.tar.bz2
Introduced alternative syntax for defining QML bindings.
Now it is possible to define bindings using the `on' context keyword. For example, you can write Behavior on opacity { NumberAnimation { duration: 500 } } instead of opacity: Behavior { NumberAnimation { duration: 500 } }
Diffstat (limited to 'src/declarative/qml/parser/qdeclarativejsparser_p.h')
-rw-r--r--src/declarative/qml/parser/qdeclarativejsparser_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/parser/qdeclarativejsparser_p.h b/src/declarative/qml/parser/qdeclarativejsparser_p.h
index c7e097a..3864398 100644
--- a/src/declarative/qml/parser/qdeclarativejsparser_p.h
+++ b/src/declarative/qml/parser/qdeclarativejsparser_p.h
@@ -235,9 +235,9 @@ protected:
-#define J_SCRIPT_REGEXPLITERAL_RULE1 74
+#define J_SCRIPT_REGEXPLITERAL_RULE1 76
-#define J_SCRIPT_REGEXPLITERAL_RULE2 75
+#define J_SCRIPT_REGEXPLITERAL_RULE2 77
QT_QML_END_NAMESPACE