aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlproperty_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-04-13 15:42:03 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-04-25 18:50:14 +0000
commit2540a60e39bafaac3a0c373f52270003d4308bf5 (patch)
tree5f8cb7baf8dfa0eefdedae8389defc8f9a40e78e /src/qml/qml/qqmlproperty_p.h
parent4c365e4d4d125c8c874c3ffcbeefbdcd6453ea28 (diff)
Make removal of bindings explicit
This simplifies the code for further refactoring. Change-Id: I6bcb5ce397f642242af80ce37dc8bba1fa9bf3f5 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlproperty_p.h')
-rw-r--r--src/qml/qml/qqmlproperty_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlproperty_p.h b/src/qml/qml/qqmlproperty_p.h
index ece168925b..4b51128fef 100644
--- a/src/qml/qml/qqmlproperty_p.h
+++ b/src/qml/qml/qqmlproperty_p.h
@@ -108,6 +108,7 @@ public:
int valueTypeIndex /* -1 */,
QQmlAbstractBinding *,
WriteFlags flags = DontRemoveBinding);
+ static QQmlAbstractBinding *removeBinding(QObject *object, int coreIndex, int valueTypeIndex /* -1 */);
static QQmlAbstractBinding *setBindingNoEnable(QObject *, int coreIndex,
int valueTypeIndex /* -1 */,
QQmlAbstractBinding *);
@@ -132,6 +133,7 @@ public:
static QQmlAbstractBinding *setBinding(const QQmlProperty &that,
QQmlAbstractBinding *,
WriteFlags flags = DontRemoveBinding);
+ static QQmlAbstractBinding *removeBinding(const QQmlProperty &that);
static QQmlBoundSignalExpression *signalExpression(const QQmlProperty &that);
static QQmlBoundSignalExpressionPointer setSignalExpression(const QQmlProperty &that,
QQmlBoundSignalExpression *);