diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-12-15 02:08:13 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-12-17 06:35:17 (GMT) |
commit | 488e616b50707e5b37162e6d0cfc71a1ffdf9bef (patch) | |
tree | 86b02b1665e7dcc29aed479c9ed2ce7d6f5ba214 /src/declarative/qml/qdeclarativecustomparser_p.h | |
parent | 139ecc0e74af2795faa55cfd532aeb10c631049e (diff) | |
download | Qt-488e616b50707e5b37162e6d0cfc71a1ffdf9bef.zip Qt-488e616b50707e5b37162e6d0cfc71a1ffdf9bef.tar.gz Qt-488e616b50707e5b37162e6d0cfc71a1ffdf9bef.tar.bz2 |
Rewrite/cache bindings created by PropertyChanges.
This provides a significant optimization for initial evaluation of
bindings specified in a PropertyChanges.
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'src/declarative/qml/qdeclarativecustomparser_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativecustomparser_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativecustomparser_p.h b/src/declarative/qml/qdeclarativecustomparser_p.h index c3f9dd2..9b419c2 100644 --- a/src/declarative/qml/qdeclarativecustomparser_p.h +++ b/src/declarative/qml/qdeclarativecustomparser_p.h @@ -56,6 +56,7 @@ #include "private/qdeclarativemetatype_p.h" #include "qdeclarativeerror.h" #include "private/qdeclarativeparser_p.h" +#include "private/qdeclarativebinding_p.h" #include <QtCore/qbytearray.h> #include <QtCore/qxmlstream.h> @@ -140,6 +141,8 @@ protected: const QMetaObject *resolveType(const QByteArray&) const; + QDeclarativeBinding::Identifier rewriteBinding(const QString&, const QByteArray&); + private: QList<QDeclarativeError> exceptions; QDeclarativeCompiler *compiler; |