From 5ef5f1bb9eb282a122906d375e90632c6dcfcb35 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 16 Apr 2015 22:26:44 +0200 Subject: Move the target property index into the common base class This unifies some more code between the different binding classes Change-Id: I891dc9358cf9598a0c1e21df8a62d6f8a4193985 Reviewed-by: Simon Hausmann --- src/qml/qml/qqmlbinding_p.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/qml/qml/qqmlbinding_p.h') diff --git a/src/qml/qml/qqmlbinding_p.h b/src/qml/qml/qqmlbinding_p.h index 69d434ab25..18f60a2b39 100644 --- a/src/qml/qml/qqmlbinding_p.h +++ b/src/qml/qml/qqmlbinding_p.h @@ -84,7 +84,6 @@ public: // Inherited from QQmlAbstractBinding virtual void setEnabled(bool, QQmlPropertyPrivate::WriteFlags flags = QQmlPropertyPrivate::DontRemoveBinding); virtual QString expression() const; - virtual int targetPropertyIndex() const; void update(QQmlPropertyPrivate::WriteFlags flags = QQmlPropertyPrivate::DontRemoveBinding); typedef int Identifier; @@ -105,8 +104,6 @@ private: inline bool enabledFlag() const; inline void setEnabledFlag(bool); QQmlPropertyData getPropertyData() const; - - int m_index; }; bool QQmlBinding::updatingFlag() const -- cgit v1.2.3