aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcompiler_p.h
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/qqmlcompiler_p.h
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/qqmlcompiler_p.h')
-rw-r--r--src/qml/qml/qqmlcompiler_p.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/qml/qml/qqmlcompiler_p.h b/src/qml/qml/qqmlcompiler_p.h
index 1b2796248e..70155f9039 100644
--- a/src/qml/qml/qqmlcompiler_p.h
+++ b/src/qml/qml/qqmlcompiler_p.h
@@ -195,17 +195,15 @@ namespace QQmlCompilerTypes {
struct JSBindingReference : public QQmlPool::Class,
public BindingReference
{
- JSBindingReference() : isSafe(false), nextReference(0) {}
+ JSBindingReference() : nextReference(0) {}
QQmlScript::Variant expression;
QQmlScript::Property *property;
QQmlScript::Value *value;
- int compiledIndex:15;
- int sharedIndex:15;
- bool isSafe:1;
+ int compiledIndex : 16;
+ int sharedIndex : 16;
- QString rewrittenExpression;
BindingContext bindingContext;
JSBindingReference *nextReference;
@@ -297,7 +295,7 @@ public:
int evaluateEnum(const QHashedStringRef &scope, const QByteArray& enumValue, bool *ok) const; // for QQmlCustomParser::evaluateEnum
const QMetaObject *resolveType(const QString& name) const; // for QQmlCustomParser::resolveType
- int rewriteBinding(const QQmlScript::Variant& value, const QString& name); // for QQmlCustomParser::rewriteBinding
+ int bindingIdentifier(const QQmlScript::Variant& value); // for QQmlCustomParser::bindingIndex
QString rewriteSignalHandler(const QQmlScript::Variant& value, const QString &name); // for QQmlCustomParser::rewriteSignalHandler
private: