Do not include private headers

This commit is contained in:
Olivier Goffart
2010-08-04 16:25:02 +02:00
parent 6c73fb8f71
commit 524e279e3a
2 changed files with 7 additions and 3 deletions

View File

@@ -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)
{