diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-02-25 09:34:28 (GMT) |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2010-02-25 09:34:28 (GMT) |
commit | 0e4dd15a90c119cea4ada833d88b51e336f53ee7 (patch) | |
tree | 86eef14fe41bc50e0f638e91227e5ad96a5181de /src/declarative/qml/parser/qdeclarativejsparser_p.h | |
parent | 75d61cbd7d2c72abb1fcf486c97bbb7429aea81b (diff) | |
download | Qt-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.h | 4 |
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 |