Skip to content
Snippets Groups Projects
Commit 524e279e authored by Olivier Goffart's avatar Olivier Goffart
Browse files

Do not include private headers

parent 6c73fb8f
Branches
Tags
No related merge requests found
...@@ -59,9 +59,9 @@ private: ...@@ -59,9 +59,9 @@ private:
QDeclarativeEngineDebugPrivate *priv; QDeclarativeEngineDebugPrivate *priv;
}; };
class QDeclarativeEngineDebugPrivate : public QObjectPrivate class QDeclarativeEngineDebugPrivate
{ {
Q_DECLARE_PUBLIC(QDeclarativeEngineDebug) // Q_DECLARE_PUBLIC(QDeclarativeEngineDebug)
public: public:
QDeclarativeEngineDebugPrivate(QDeclarativeDebugConnection *); QDeclarativeEngineDebugPrivate(QDeclarativeDebugConnection *);
...@@ -377,9 +377,10 @@ void QDeclarativeEngineDebugPrivate::message(const QByteArray &data) ...@@ -377,9 +377,10 @@ void QDeclarativeEngineDebugPrivate::message(const QByteArray &data)
} }
QDeclarativeEngineDebug::QDeclarativeEngineDebug(QDeclarativeDebugConnection *client, QObject *parent) QDeclarativeEngineDebug::QDeclarativeEngineDebug(QDeclarativeDebugConnection *client, QObject *parent)
: QObject(*(new QDeclarativeEngineDebugPrivate(client)), parent) : QObject(parent), d_ptr(new QDeclarativeEngineDebugPrivate(client))
{ {
} }
QDeclarativeEngineDebug::~QDeclarativeEngineDebug() {}
QDeclarativeDebugPropertyWatch *QDeclarativeEngineDebug::addWatch(const QDeclarativeDebugPropertyReference &property, QObject *parent) QDeclarativeDebugPropertyWatch *QDeclarativeEngineDebug::addWatch(const QDeclarativeDebugPropertyReference &property, QObject *parent)
{ {
......
...@@ -70,6 +70,7 @@ class QDeclarativeEngineDebug : public QObject ...@@ -70,6 +70,7 @@ class QDeclarativeEngineDebug : public QObject
Q_OBJECT Q_OBJECT
public: public:
QDeclarativeEngineDebug(QDeclarativeDebugConnection *, QObject * = 0); QDeclarativeEngineDebug(QDeclarativeDebugConnection *, QObject * = 0);
~QDeclarativeEngineDebug();
QDeclarativeDebugPropertyWatch *addWatch(const QDeclarativeDebugPropertyReference &, QDeclarativeDebugPropertyWatch *addWatch(const QDeclarativeDebugPropertyReference &,
QObject *parent = 0); QObject *parent = 0);
...@@ -101,6 +102,8 @@ public: ...@@ -101,6 +102,8 @@ public:
private: private:
Q_DECLARE_PRIVATE(QDeclarativeEngineDebug) Q_DECLARE_PRIVATE(QDeclarativeEngineDebug)
Q_DISABLE_COPY(QDeclarativeEngineDebug)
QScopedPointer<QDeclarativeEngineDebugPrivate> d_ptr;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment