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

Do not include private headers

parent 524e279e
No related branches found
No related tags found
No related merge requests found
...@@ -43,8 +43,6 @@ ...@@ -43,8 +43,6 @@
#include "qdeclarativedebugclient_p.h" #include "qdeclarativedebugclient_p.h"
#include <private/qobject_p.h>
namespace QmlJsDebugClient { namespace QmlJsDebugClient {
class QDeclarativeEngineDebugClient : public QDeclarativeDebugClient class QDeclarativeEngineDebugClient : public QDeclarativeDebugClient
...@@ -112,7 +110,7 @@ int QDeclarativeEngineDebugPrivate::getId() ...@@ -112,7 +110,7 @@ int QDeclarativeEngineDebugPrivate::getId()
void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c, QDeclarativeDebugEnginesQuery *q) void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c, QDeclarativeDebugEnginesQuery *q)
{ {
if (c && q) { if (c && q) {
QDeclarativeEngineDebugPrivate *p = (QDeclarativeEngineDebugPrivate *)QObjectPrivate::get(c); QDeclarativeEngineDebugPrivate *p = c->d_func();
p->enginesQuery.remove(q->m_queryId); p->enginesQuery.remove(q->m_queryId);
} }
} }
...@@ -121,7 +119,7 @@ void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c, ...@@ -121,7 +119,7 @@ void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c,
QDeclarativeDebugRootContextQuery *q) QDeclarativeDebugRootContextQuery *q)
{ {
if (c && q) { if (c && q) {
QDeclarativeEngineDebugPrivate *p = (QDeclarativeEngineDebugPrivate *)QObjectPrivate::get(c); QDeclarativeEngineDebugPrivate *p = c->d_func();
p->rootContextQuery.remove(q->m_queryId); p->rootContextQuery.remove(q->m_queryId);
} }
} }
...@@ -129,7 +127,7 @@ void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c, ...@@ -129,7 +127,7 @@ void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c,
void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c, QDeclarativeDebugObjectQuery *q) void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c, QDeclarativeDebugObjectQuery *q)
{ {
if (c && q) { if (c && q) {
QDeclarativeEngineDebugPrivate *p = (QDeclarativeEngineDebugPrivate *)QObjectPrivate::get(c); QDeclarativeEngineDebugPrivate *p = c->d_func();
p->objectQuery.remove(q->m_queryId); p->objectQuery.remove(q->m_queryId);
} }
} }
...@@ -137,7 +135,7 @@ void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c, QDeclara ...@@ -137,7 +135,7 @@ void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c, QDeclara
void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c, QDeclarativeDebugExpressionQuery *q) void QDeclarativeEngineDebugPrivate::remove(QDeclarativeEngineDebug *c, QDeclarativeDebugExpressionQuery *q)
{ {
if (c && q) { if (c && q) {
QDeclarativeEngineDebugPrivate *p = (QDeclarativeEngineDebugPrivate *)QObjectPrivate::get(c); QDeclarativeEngineDebugPrivate *p = c->d_func();
p->expressionQuery.remove(q->m_queryId); p->expressionQuery.remove(q->m_queryId);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment