OSDN Git Service

QmlProfiler: changed display name to QML Profiler
authorChristiaan Janssen <christiaan.janssen@nokia.com>
Mon, 20 Jun 2011 08:20:08 +0000 (10:20 +0200)
committerChristiaan Janssen <christiaan.janssen@nokia.com>
Mon, 20 Jun 2011 08:46:43 +0000 (10:46 +0200)
Change-Id: Ieb9cf689d72986b3ede931f327b048d25a53cf6e
Reviewed-on: http://codereview.qt.nokia.com/490
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/plugins/qmlprofiler/qmlprofilertool.cpp
src/plugins/qmlprofiler/qmlprojectanalyzerruncontrolfactory.cpp

index ff87281..cd73bfb 100644 (file)
@@ -300,12 +300,12 @@ void QmlProfilerTool::connectToClient()
 
     if (d->m_connectMode == QmlProfilerToolPrivate::TcpConnection) {
         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);
     } else {
         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);
     }
@@ -437,9 +437,9 @@ void QmlProfilerTool::tryToConnect()
         d->m_connectionAttempts = 0;
         if (QmlProfilerPlugin::debugOutput) {
             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 {
-                qWarning("QmlProfiler: Failed to connect.");
+                qWarning("QML Profiler: Failed to connect.");
             }
         }
         emit connectionFailed();
@@ -456,26 +456,26 @@ void QmlProfilerTool::connectionStateChanged()
     case QAbstractSocket::UnconnectedState:
     {
         if (QmlProfilerPlugin::debugOutput)
-            qWarning("QmlProfiler: disconnected");
+            qWarning("QML Profiler: disconnected");
         break;
     }
     case QAbstractSocket::HostLookupState:
         break;
     case QAbstractSocket::ConnectingState: {
         if (QmlProfilerPlugin::debugOutput)
-            qWarning("QmlProfiler: Connecting to debug server ...");
+            qWarning("QML Profiler: Connecting to debug server ...");
         break;
     }
     case QAbstractSocket::ConnectedState:
     {
         if (QmlProfilerPlugin::debugOutput)
-            qWarning("QmlProfiler: connected and running");
+            qWarning("QML Profiler: connected and running");
         updateRecordingState();
         break;
     }
     case QAbstractSocket::ClosingState:
         if (QmlProfilerPlugin::debugOutput)
-            qWarning("QmlProfiler: closing ...");
+            qWarning("QML Profiler: closing ...");
         break;
     case QAbstractSocket::BoundState:
     case QAbstractSocket::ListeningState:
index 03984f5..aad9d92 100644 (file)
@@ -93,7 +93,7 @@ AnalyzerRunControl *QmlProjectAnalyzerRunControlFactory::create(const Analyzer::
 
 QString QmlProjectAnalyzerRunControlFactory::displayName() const
 {
-    return tr("QmlAnalyzer");
+    return tr("QML Profiler");
 }
 
 IRunConfigurationAspect *QmlProjectAnalyzerRunControlFactory::createRunConfigurationAspect()