diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-04-16 11:56:07 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-04-27 07:44:43 +0000 |
commit | 80defcb0c01d747f331719c0f89992d6db660f98 (patch) | |
tree | bde0d4519047a9d791ae272e6c65c7772e34fe19 /src/qml/qml/qqmlproperty_p.h | |
parent | 0e14a46f60124d9da1101fe7766c7d85e2b72e64 (diff) |
Get rid of QQmlBinding::property()
The method is slow and not required anymore
Change-Id: I8c2bc6eeedbd15b901b60aa08408fe8c32a81707
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlproperty_p.h b/src/qml/qml/qqmlproperty_p.h index b6b5421999..9b735669b8 100644 --- a/src/qml/qml/qqmlproperty_p.h +++ b/src/qml/qml/qqmlproperty_p.h @@ -114,7 +114,8 @@ public: static void setBinding(QQmlAbstractBinding *binding, BindingFlags flags = None, WriteFlags writeFlags = DontRemoveBinding); static QQmlAbstractBinding *removeBinding(const QQmlProperty &that, BindingFlag flag = None); - static QQmlAbstractBinding *removeBinding(QObject *o, int index, BindingFlag flag = None); + static QQmlAbstractBinding *removeBinding(QObject *o, int index, QQmlPropertyPrivate::BindingFlag flags = None); + static QQmlAbstractBinding *removeBinding(QQmlAbstractBinding *b, BindingFlag flag = None); static QQmlAbstractBinding *binding(QObject *, int coreIndex, int valueTypeIndex /* -1 */); |