aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlbinding_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-04-17 14:21:25 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-06-05 10:07:45 +0000
commit6e1a4bf12846e6a68931a924890f54b433a42d1c (patch)
treef4f88e0235f7dc39496abafaefe6c71b9197d673 /src/qml/qml/qqmlbinding_p.h
parentef81c2920ac8a49c91b3331ce7260306d6411dad (diff)
Move the writeBinding method into QQmlBinding
It's only called from there; this simplifies the code and will allow some further optimizations. Change-Id: I1f0befe620beaa0bbf961fc829881ef7b5c2e435 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlbinding_p.h')
-rw-r--r--src/qml/qml/qqmlbinding_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlbinding_p.h b/src/qml/qml/qqmlbinding_p.h
index 18f60a2b39..4d6c67eb47 100644
--- a/src/qml/qml/qqmlbinding_p.h
+++ b/src/qml/qml/qqmlbinding_p.h
@@ -104,6 +104,11 @@ private:
inline bool enabledFlag() const;
inline void setEnabledFlag(bool);
QQmlPropertyData getPropertyData() const;
+
+ bool write(const QQmlPropertyData &core,
+ const QV4::Value &result, bool isUndefined,
+ QQmlPropertyPrivate::WriteFlags flags);
+
};
bool QQmlBinding::updatingFlag() const