diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-08-13 18:56:34 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-08-20 17:42:45 +0200 |
commit | 9a3641f43572ce9e77dd6770f0029e82bd92d70c (patch) | |
tree | 1f3096efce177160efa139808194b160d4ad1102 /lib/quick/qquickwebengineview_p.h | |
parent | 2a7cba9b412e5c77d46897c3c89405b64a1729b6 (diff) | |
download | qtwebengine-9a3641f43572ce9e77dd6770f0029e82bd92d70c.tar.gz |
Use QObject::d_ptr for public API classes
This follows the model used by the rest of Qt, potentially
avoiding binary compatibility issues.
The compromise is that we now depend on core-private, thus
forcing us to follow Qt's release cycle.
Change-Id: Ib2df51071fc35935ac99edf7b9c5562949cb43e2
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'lib/quick/qquickwebengineview_p.h')
-rw-r--r-- | lib/quick/qquickwebengineview_p.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/quick/qquickwebengineview_p.h b/lib/quick/qquickwebengineview_p.h index 2aa34c033..484f6bba6 100644 --- a/lib/quick/qquickwebengineview_p.h +++ b/lib/quick/qquickwebengineview_p.h @@ -43,7 +43,6 @@ #define QQUICKWEBENGINEVIEW_P_H #include <QQuickItem> -#include <QScopedPointer> class QQuickWebEngineViewPrivate; @@ -56,7 +55,7 @@ class QQuickWebEngineView : public QQuickItem { Q_PROPERTY(bool canGoForward READ canGoForward NOTIFY loadingStateChanged) public: - QQuickWebEngineView(); + QQuickWebEngineView(QQuickItem *parent = 0); ~QQuickWebEngineView(); QUrl url() const; @@ -82,8 +81,6 @@ protected: private: Q_DECLARE_PRIVATE(QQuickWebEngineView) - // Hides QObject::d_ptr allowing us to use the convenience macros. - QScopedPointer<QQuickWebEngineViewPrivate> d_ptr; }; QML_DECLARE_TYPE(QQuickWebEngineView) |