Commit 1cb206a4 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlProfiler: changed display name to QML Profiler

Change-Id: Ieb9cf689d72986b3ede931f327b048d25a53cf6e
Reviewed-on: http://codereview.qt.nokia.com/490


Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent c3c84631
...@@ -300,12 +300,12 @@ void QmlProfilerTool::connectToClient() ...@@ -300,12 +300,12 @@ void QmlProfilerTool::connectToClient()
if (d->m_connectMode == QmlProfilerToolPrivate::TcpConnection) { if (d->m_connectMode == QmlProfilerToolPrivate::TcpConnection) {
if (QmlProfilerPlugin::debugOutput) if (QmlProfilerPlugin::debugOutput)
qWarning("QmlProfiler: Connecting to %s:%lld ...", qPrintable(d->m_tcpHost), d->m_tcpPort); qWarning("QML Profiler: Connecting to %s:%lld ...", qPrintable(d->m_tcpHost), d->m_tcpPort);
d->m_client->connectToHost(d->m_tcpHost, d->m_tcpPort); d->m_client->connectToHost(d->m_tcpHost, d->m_tcpPort);
} else { } else {
if (QmlProfilerPlugin::debugOutput) if (QmlProfilerPlugin::debugOutput)
qWarning("QmlProfiler: Connecting to ost device %s...", qPrintable(d->m_ostDevice)); qWarning("QML Profiler: Connecting to ost device %s...", qPrintable(d->m_ostDevice));
d->m_client->connectToOst(d->m_ostDevice); d->m_client->connectToOst(d->m_ostDevice);
} }
...@@ -437,9 +437,9 @@ void QmlProfilerTool::tryToConnect() ...@@ -437,9 +437,9 @@ void QmlProfilerTool::tryToConnect()
d->m_connectionAttempts = 0; d->m_connectionAttempts = 0;
if (QmlProfilerPlugin::debugOutput) { if (QmlProfilerPlugin::debugOutput) {
if (d->m_client) { if (d->m_client) {
qWarning("QmlProfiler: Failed to connect: %s", qPrintable(d->m_client->errorString())); qWarning("QML Profiler: Failed to connect: %s", qPrintable(d->m_client->errorString()));
} else { } else {
qWarning("QmlProfiler: Failed to connect."); qWarning("QML Profiler: Failed to connect.");
} }
} }
emit connectionFailed(); emit connectionFailed();
...@@ -456,26 +456,26 @@ void QmlProfilerTool::connectionStateChanged() ...@@ -456,26 +456,26 @@ void QmlProfilerTool::connectionStateChanged()
case QAbstractSocket::UnconnectedState: case QAbstractSocket::UnconnectedState:
{ {
if (QmlProfilerPlugin::debugOutput) if (QmlProfilerPlugin::debugOutput)
qWarning("QmlProfiler: disconnected"); qWarning("QML Profiler: disconnected");
break; break;
} }
case QAbstractSocket::HostLookupState: case QAbstractSocket::HostLookupState:
break; break;
case QAbstractSocket::ConnectingState: { case QAbstractSocket::ConnectingState: {
if (QmlProfilerPlugin::debugOutput) if (QmlProfilerPlugin::debugOutput)
qWarning("QmlProfiler: Connecting to debug server ..."); qWarning("QML Profiler: Connecting to debug server ...");
break; break;
} }
case QAbstractSocket::ConnectedState: case QAbstractSocket::ConnectedState:
{ {
if (QmlProfilerPlugin::debugOutput) if (QmlProfilerPlugin::debugOutput)
qWarning("QmlProfiler: connected and running"); qWarning("QML Profiler: connected and running");
updateRecordingState(); updateRecordingState();
break; break;
} }
case QAbstractSocket::ClosingState: case QAbstractSocket::ClosingState:
if (QmlProfilerPlugin::debugOutput) if (QmlProfilerPlugin::debugOutput)
qWarning("QmlProfiler: closing ..."); qWarning("QML Profiler: closing ...");
break; break;
case QAbstractSocket::BoundState: case QAbstractSocket::BoundState:
case QAbstractSocket::ListeningState: case QAbstractSocket::ListeningState:
......
...@@ -93,7 +93,7 @@ AnalyzerRunControl *QmlProjectAnalyzerRunControlFactory::create(const Analyzer:: ...@@ -93,7 +93,7 @@ AnalyzerRunControl *QmlProjectAnalyzerRunControlFactory::create(const Analyzer::
QString QmlProjectAnalyzerRunControlFactory::displayName() const QString QmlProjectAnalyzerRunControlFactory::displayName() const
{ {
return tr("QmlAnalyzer"); return tr("QML Profiler");
} }
IRunConfigurationAspect *QmlProjectAnalyzerRunControlFactory::createRunConfigurationAspect() IRunConfigurationAspect *QmlProjectAnalyzerRunControlFactory::createRunConfigurationAspect()
......
Supports Markdown
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