summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlbindingoptimizations_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlbindingoptimizations_p.h')
-rw-r--r--src/declarative/qml/qmlbindingoptimizations_p.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/declarative/qml/qmlbindingoptimizations_p.h b/src/declarative/qml/qmlbindingoptimizations_p.h
index 4862007..d0a4df4 100644
--- a/src/declarative/qml/qmlbindingoptimizations_p.h
+++ b/src/declarative/qml/qmlbindingoptimizations_p.h
@@ -69,9 +69,9 @@ public:
virtual ~QmlBinding_Id();
// Inherited from QmlAbstractBinding
- virtual void setEnabled(bool);
+ virtual void setEnabled(bool, QmlMetaProperty::WriteFlags flags);
virtual int propertyIndex();
- virtual void update();
+ virtual void update(QmlMetaProperty::WriteFlags flags);
void reset();
@@ -96,11 +96,12 @@ public:
QObject *context, int contextIdx, int notifyIdx);
// Inherited from QmlAbstractBinding
- virtual void setEnabled(bool);
+ virtual void setEnabled(bool, QmlMetaProperty::WriteFlags flags);
virtual int propertyIndex();
+ virtual void update(QmlMetaProperty::WriteFlags flags);
private Q_SLOTS:
- virtual void update();
+ void update() { update(QmlMetaProperty::DontRemoveBinding); }
private:
bool m_enabled;