aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcustomparser.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-24 12:10:46 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-24 12:42:45 +0200
commitbe4f0622f8c0d89371e9314e2d53c246dd77871b (patch)
tree55417377038c0a859703f4c5821c53df81e77be7 /src/qml/qml/qqmlcustomparser.cpp
parent1eb41200948ab414f1c47d93123b41c547a993df (diff)
Remove the remaining dependencies onto the binding rewriter
Remove the remaining places that were rewriting bindings. Remove the binding rewriter class. Change-Id: Ib1e9121dc10f4526ddb7cf0ae32fecd8ce2d4993 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcustomparser.cpp')
-rw-r--r--src/qml/qml/qqmlcustomparser.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlcustomparser.cpp b/src/qml/qml/qqmlcustomparser.cpp
index e2ec48f30d..3787c34ac6 100644
--- a/src/qml/qml/qqmlcustomparser.cpp
+++ b/src/qml/qml/qqmlcustomparser.cpp
@@ -311,9 +311,10 @@ const QMetaObject *QQmlCustomParser::resolveType(const QString& name) const
used to construct the binding later. \a name
is used as the name of the rewritten function.
*/
-QQmlBinding::Identifier QQmlCustomParser::rewriteBinding(const QQmlScript::Variant &value, const QString& name)
+QQmlBinding::Identifier QQmlCustomParser::bindingIdentifier(const QQmlScript::Variant &value, const QString& name)
{
- return compiler->rewriteBinding(value, name);
+ Q_UNUSED(name);
+ return compiler->bindingIdentifier(value);
}
/*!