aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlbinding_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-04-13 11:49:18 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-04-25 05:26:08 +0000
commit54daa0035c9649ab92a70ae050534832b37c09be (patch)
tree38ab301521ef124f6aacb306855e0df01d890c81 /src/qml/qml/qqmlbinding_p.h
parent895fe4b881ae819981c337d65c8fae5f5daaf164 (diff)
Remove the manual vtable from QQmlJavaScriptExpression
Now that the class got unified with QQmlAbstractExpression, it has a vtable anyway, so we can just as well remove the old hack. Change-Id: Ifa095297e3d75564c4305ce3655eaa57436ef4a8 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlbinding_p.h')
-rw-r--r--src/qml/qml/qqmlbinding_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlbinding_p.h b/src/qml/qml/qqmlbinding_p.h
index 79c61574a5..4f1c27c248 100644
--- a/src/qml/qml/qqmlbinding_p.h
+++ b/src/qml/qml/qqmlbinding_p.h
@@ -104,8 +104,8 @@ public:
QVariant evaluate();
- static QString expressionIdentifier(QQmlJavaScriptExpression *);
- static void expressionChanged(QQmlJavaScriptExpression *);
+ virtual QString expressionIdentifier();
+ virtual void expressionChanged();
protected:
friend class QQmlAbstractBinding;