aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger/qqmldebugserver.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2012-03-07 14:53:24 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-07 16:21:11 +0100
commit3f9b58c0890a4263730e2c06b46e7a69d4bfb62d (patch)
tree2f3419ed2035540f9ea4fa00b0b70057c0564698 /src/qml/debugger/qqmldebugserver.cpp
parent51493a03ba60f60b735eb25f2dc3bedd1d8ed592 (diff)
QML Debugger: Change prefix of warnings
Since we've been changing from QtDeclarativeDebugServer to QQmlDebugServer anyway, we might as well change it to the more readable "QML Debugger:" prefix. Change-Id: I852577233d7cdb1f57adc43ec1b85a14d212574d Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Diffstat (limited to 'src/qml/debugger/qqmldebugserver.cpp')
-rw-r--r--src/qml/debugger/qqmldebugserver.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/qml/debugger/qqmldebugserver.cpp b/src/qml/debugger/qqmldebugserver.cpp
index f27123a4d2..e70632d925 100644
--- a/src/qml/debugger/qqmldebugserver.cpp
+++ b/src/qml/debugger/qqmldebugserver.cpp
@@ -64,7 +64,7 @@ QT_BEGIN_NAMESPACE
version: an int representing the highest protocol version the client knows
pluginNames: plugins available on client side
2. Server sends
- "QQmlDebugClient" 0 version pluginNames pluginVersions
+ "QDeclarativeDebugClient" 0 version pluginNames pluginVersions
version: an int representing the highest protocol version the client & server know
pluginNames: plugins available on server side. plugins both in the client and server message are enabled.
client plugin advertisement
@@ -72,7 +72,7 @@ QT_BEGIN_NAMESPACE
"QDeclarativeDebugServer" 1 pluginNames
server plugin advertisement
1. Server sends
- "QQmlDebugClient" 1 pluginNames pluginVersions
+ "QDeclarativeDebugClient" 1 pluginNames pluginVersions
plugin communication:
Everything send with a header different to "QDeclarativeDebugServer" is sent to the appropriate plugin.
*/
@@ -180,12 +180,12 @@ QQmlDebugServerConnection *QQmlDebugServerPrivate::loadConnectionPlugin(
foreach (const QString &pluginPath, pluginCandidates) {
if (qmlDebugVerbose())
- qDebug() << "QQmlDebugServer: Trying to load plugin " << pluginPath << "...";
+ qDebug() << "QML Debugger: Trying to load plugin " << pluginPath << "...";
loader.setFileName(pluginPath);
if (!loader.load()) {
if (qmlDebugVerbose())
- qDebug() << "QQmlDebugServer: Error while loading: " << loader.errorString();
+ qDebug() << "QML Debugger: Error while loading: " << loader.errorString();
continue;
}
if (QObject *instance = loader.instance())
@@ -193,13 +193,13 @@ QQmlDebugServerConnection *QQmlDebugServerPrivate::loadConnectionPlugin(
if (connection) {
if (qmlDebugVerbose())
- qDebug() << "QQmlDebugServer: Plugin successfully loaded.";
+ qDebug() << "QML Debugger: Plugin successfully loaded.";
return connection;
}
if (qmlDebugVerbose())
- qDebug() << "QQmlDebugServer: Plugin does not implement interface QQmlDebugServerConnection.";
+ qDebug() << "QML Debugger: Plugin does not implement interface QQmlDebugServerConnection.";
loader.unload();
}
@@ -217,7 +217,7 @@ void QQmlDebugServerThread::run()
connection->setPort(m_port, m_block);
} else {
QCoreApplicationPrivate *appD = static_cast<QCoreApplicationPrivate*>(QObjectPrivate::get(qApp));
- qWarning() << QString::fromAscii("QQmlDebugServer: Ignoring \"-qmljsdebugger=%1\". "
+ qWarning() << QString::fromAscii("QML Debugger: Ignoring \"-qmljsdebugger=%1\". "
"Remote debugger plugin has not been found.").arg(appD->qmljsDebugArgumentsString());
}
@@ -263,7 +263,7 @@ QQmlDebugServer *QQmlDebugServer::instance()
if (!appD->qmljsDebugArgumentsString().isEmpty()) {
if (!QQmlEnginePrivate::qml_debugging_enabled) {
qWarning() << QString::fromLatin1(
- "QQmlDebugServer: Ignoring \"-qmljsdebugger=%1\". "
+ "QML Debugger: Ignoring \"-qmljsdebugger=%1\". "
"Debugging has not been enabled.").arg(
appD->qmljsDebugArgumentsString());
return 0;
@@ -299,7 +299,7 @@ QQmlDebugServer *QQmlDebugServer::instance()
} else {
qWarning() << QString::fromLatin1(
- "QQmlDebugServer: Ignoring \"-qmljsdebugger=%1\". "
+ "QML Debugger: Ignoring \"-qmljsdebugger=%1\". "
"Format is -qmljsdebugger=port:<port>[,block]").arg(
appD->qmljsDebugArgumentsString());
}
@@ -307,7 +307,7 @@ QQmlDebugServer *QQmlDebugServer::instance()
#else
if (!appD->qmljsDebugArgumentsString().isEmpty()) {
qWarning() << QString::fromLatin1(
- "QQmlDebugServer: Ignoring \"-qmljsdebugger=%1\". "
+ "QML Debugger: Ignoring \"-qmljsdebugger=%1\". "
"QtQml is not configured for debugging.").arg(
appD->qmljsDebugArgumentsString());
}
@@ -389,7 +389,7 @@ void QQmlDebugServer::receiveMessage(const QByteArray &message)
iter.value()->stateChanged(newState);
}
- qWarning("QQmlDebugServer: Connection established");
+ qWarning("QML Debugger: Connection established.");
d->messageArrivedCondition.wakeAll();
} else if (op == 1) {
@@ -414,7 +414,7 @@ void QQmlDebugServer::receiveMessage(const QByteArray &message)
}
} else {
- qWarning("QQmlDebugServer: Invalid control message %d", op);
+ qWarning("QML Debugger: Invalid control message %d.", op);
d->connection->disconnect();
return;
}
@@ -427,7 +427,7 @@ void QQmlDebugServer::receiveMessage(const QByteArray &message)
QReadLocker(&d->pluginsLock);
QHash<QString, QQmlDebugService *>::Iterator iter = d->plugins.find(name);
if (iter == d->plugins.end()) {
- qWarning() << "QQmlDebugServer: Message received for missing plugin" << name;
+ qWarning() << "QML Debugger: Message received for missing plugin" << name << ".";
} else {
(*iter)->messageReceived(message);
@@ -435,7 +435,7 @@ void QQmlDebugServer::receiveMessage(const QByteArray &message)
d->messageArrivedCondition.wakeAll();
}
} else {
- qWarning("QQmlDebugServer: Invalid hello message");
+ qWarning("QML Debugger: Invalid hello message.");
}
}