aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvaluetypeproxybinding_p.h
diff options
context:
space:
mode:
authorAnton Kudryavtsev <a.kudryavtsev@netris.ru>2016-10-17 17:19:00 +0300
committerAnton Kudryavtsev <antkudr@mail.ru>2016-10-24 14:49:31 +0000
commit3e016891b2870374e7093ad150a08d1d4a27bccc (patch)
tree244ec5d029eb98e0e19bc9cf110988dee5ea09ed /src/qml/qml/qqmlvaluetypeproxybinding_p.h
parentc3c3ee6def18ec292340983629e80d350d6e53c0 (diff)
Qml: mark some methods as const
These methods do not modify objects. Change-Id: Iefe8effa97e6f6142308d61d57d08f9dc14a7709 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlvaluetypeproxybinding_p.h')
-rw-r--r--src/qml/qml/qqmlvaluetypeproxybinding_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlvaluetypeproxybinding_p.h b/src/qml/qml/qqmlvaluetypeproxybinding_p.h
index aa7abaa486..92b5470f39 100644
--- a/src/qml/qml/qqmlvaluetypeproxybinding_p.h
+++ b/src/qml/qml/qqmlvaluetypeproxybinding_p.h
@@ -60,7 +60,7 @@ class QQmlValueTypeProxyBinding : public QQmlAbstractBinding
public:
QQmlValueTypeProxyBinding(QObject *o, QQmlPropertyIndex coreIndex);
- QQmlAbstractBinding *binding(QQmlPropertyIndex targetPropertyIndex);
+ QQmlAbstractBinding *binding(QQmlPropertyIndex targetPropertyIndex) const;
void removeBindings(quint32 mask);
void setEnabled(bool, QQmlPropertyData::WriteFlags) override;