Commit 524e279e authored by Olivier Goffart's avatar Olivier Goffart
Browse files

Do not include private headers

parent 6c73fb8f
......@@ -59,9 +59,9 @@ private:
QDeclarativeEngineDebugPrivate *priv;
};
class QDeclarativeEngineDebugPrivate : public QObjectPrivate
class QDeclarativeEngineDebugPrivate
{
Q_DECLARE_PUBLIC(QDeclarativeEngineDebug)
// Q_DECLARE_PUBLIC(QDeclarativeEngineDebug)
public:
QDeclarativeEngineDebugPrivate(QDeclarativeDebugConnection *);
......@@ -377,9 +377,10 @@ void QDeclarativeEngineDebugPrivate::message(const QByteArray &data)
}
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)
{
......
......@@ -70,6 +70,7 @@ class QDeclarativeEngineDebug : public QObject
Q_OBJECT
public:
QDeclarativeEngineDebug(QDeclarativeDebugConnection *, QObject * = 0);
~QDeclarativeEngineDebug();
QDeclarativeDebugPropertyWatch *addWatch(const QDeclarativeDebugPropertyReference &,
QObject *parent = 0);
......@@ -101,6 +102,8 @@ public:
private:
Q_DECLARE_PRIVATE(QDeclarativeEngineDebug)
Q_DISABLE_COPY(QDeclarativeEngineDebug)
QScopedPointer<QDeclarativeEngineDebugPrivate> d_ptr;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment