From 895fe4b881ae819981c337d65c8fae5f5daaf164 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 13 Apr 2015 10:29:45 +0200 Subject: Get rid of QQmlAbstractExpression The class is always used together with QQmlJavaScriptExpression, so we can just as well fold the functionality together into one class and simplify our code. Change-Id: I23820e51efaaea16ae5db7e2153a827d7b22999e Reviewed-by: Simon Hausmann --- src/qml/qml/qqmlexpression_p.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/qml/qml/qqmlexpression_p.h') diff --git a/src/qml/qml/qqmlexpression_p.h b/src/qml/qml/qqmlexpression_p.h index d8da387878..f1c02c51b0 100644 --- a/src/qml/qml/qqmlexpression_p.h +++ b/src/qml/qml/qqmlexpression_p.h @@ -52,7 +52,6 @@ #include #include #include -#include #include QT_BEGIN_NAMESPACE @@ -60,8 +59,7 @@ QT_BEGIN_NAMESPACE class QQmlExpression; class QString; class QQmlExpressionPrivate : public QObjectPrivate, - public QQmlJavaScriptExpression, - public QQmlAbstractExpression + public QQmlJavaScriptExpression { Q_DECLARE_PUBLIC(QQmlExpression) public: -- cgit v1.2.3