diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-13 07:44:29 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-13 07:48:21 (GMT) |
commit | 9eca9e028884fb82d97e284826faa7965af356bd (patch) | |
tree | ab410246de056403fcc8bef374af0898cb77b47f /src/declarative/qml/qmlenginedebug.cpp | |
parent | b95f28940857332983f176a8e0d356e3e67e5acc (diff) | |
download | Qt-9eca9e028884fb82d97e284826faa7965af356bd.zip Qt-9eca9e028884fb82d97e284826faa7965af356bd.tar.gz Qt-9eca9e028884fb82d97e284826faa7965af356bd.tar.bz2 |
Rename QmlDebugServerPlugin -> QmlDebugService
Diffstat (limited to 'src/declarative/qml/qmlenginedebug.cpp')
-rw-r--r-- | src/declarative/qml/qmlenginedebug.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/declarative/qml/qmlenginedebug.cpp b/src/declarative/qml/qmlenginedebug.cpp index b5e44e7..2b8aac3 100644 --- a/src/declarative/qml/qmlenginedebug.cpp +++ b/src/declarative/qml/qmlenginedebug.cpp @@ -50,7 +50,7 @@ QT_BEGIN_NAMESPACE QList<QmlEngine *> QmlEngineDebugServer::m_engines; QmlEngineDebugServer::QmlEngineDebugServer(QObject *parent) -: QmlDebugServerPlugin(QLatin1String("QmlEngine"), parent) +: QmlDebugService(QLatin1String("QmlEngine"), parent) { } @@ -135,7 +135,7 @@ void QmlEngineDebugServer::buildObjectList(QDataStream &message, QmlContextPrivate *p = (QmlContextPrivate *)QObjectPrivate::get(ctxt); QString ctxtName = ctxt->objectName(); - int ctxtId = QmlDebugServerPlugin::idForObject(ctxt); + int ctxtId = QmlDebugService::idForObject(ctxt); message << ctxtName << ctxtId; @@ -182,7 +182,7 @@ QmlEngineDebugServer::objectData(QObject *object) rv.objectName = object->objectName(); rv.objectType = object->metaObject()->className(); - rv.objectId = QmlDebugServerPlugin::idForObject(object); + rv.objectId = QmlDebugService::idForObject(object); return rv; } @@ -207,7 +207,7 @@ void QmlEngineDebugServer::messageReceived(const QByteArray &message) QmlEngine *engine = m_engines.at(ii); QString engineName = engine->objectName(); - int engineId = QmlDebugServerPlugin::idForObject(engine); + int engineId = QmlDebugService::idForObject(engine); rs << engineName << engineId; } @@ -219,7 +219,7 @@ void QmlEngineDebugServer::messageReceived(const QByteArray &message) ds >> queryId >> engineId; QmlEngine *engine = - qobject_cast<QmlEngine *>(QmlDebugServerPlugin::objectForId(engineId)); + qobject_cast<QmlEngine *>(QmlDebugService::objectForId(engineId)); QByteArray reply; QDataStream rs(&reply, QIODevice::WriteOnly); @@ -236,7 +236,7 @@ void QmlEngineDebugServer::messageReceived(const QByteArray &message) ds >> queryId >> objectId >> recurse; - QObject *object = QmlDebugServerPlugin::objectForId(objectId); + QObject *object = QmlDebugService::objectForId(objectId); QByteArray reply; QDataStream rs(&reply, QIODevice::WriteOnly); |