diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-02-02 14:06:03 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-28 08:45:38 +0100 |
commit | 173f18f7ad6ab4b4fe0617cb9b8734e2d6be6d1a (patch) | |
tree | 9524dabe6f416db4539f6564ab9425a054acf8c0 /src/plugins/geoservices | |
parent | 04a831be4e6020519a93646914c1647b36d859cb (diff) | |
download | qtlocation-173f18f7ad6ab4b4fe0617cb9b8734e2d6be6d1a.tar.gz |
Normalize signal & slot signatures in connection
Profiling shows Qt Creator spends 2% of its load time normalizing
Change-Id: Ica52c45e34fe53823b31faaa7d77a633458549d5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/plugins/geoservices')
4 files changed, 10 insertions, 10 deletions
diff --git a/src/plugins/geoservices/nokia/qgeocodingmanagerengine_nokia.cpp b/src/plugins/geoservices/nokia/qgeocodingmanagerengine_nokia.cpp index cbdf98f2..ff0360e4 100644 --- a/src/plugins/geoservices/nokia/qgeocodingmanagerengine_nokia.cpp +++ b/src/plugins/geoservices/nokia/qgeocodingmanagerengine_nokia.cpp @@ -239,9 +239,9 @@ QGeoCodeReply *QGeoCodingManagerEngineNokia::geocode(QString requestString, SLOT(placesFinished())); connect(reply, - SIGNAL(error(QGeoCodeReply::Error, QString)), + SIGNAL(error(QGeoCodeReply::Error,QString)), this, - SLOT(placesError(QGeoCodeReply::Error, QString))); + SLOT(placesError(QGeoCodeReply::Error,QString))); return reply; } @@ -280,7 +280,7 @@ void QGeoCodingManagerEngineNokia::placesError(QGeoCodeReply::Error error, const if (!reply) return; - if (receivers(SIGNAL(error(QGeoCodeReply *, QGeoCodeReply::Error, QString))) == 0) { + if (receivers(SIGNAL(error(QGeoCodeReply*,QGeoCodeReply::Error,QString))) == 0) { reply->deleteLater(); return; } diff --git a/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp b/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp index 4380494a..d0fb5b93 100644 --- a/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp +++ b/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp @@ -141,9 +141,9 @@ QGeoRouteReply *QGeoRoutingManagerEngineNokia::calculateRoute(const QGeoRouteReq SLOT(routeFinished())); connect(reply, - SIGNAL(error(QGeoRouteReply::Error, QString)), + SIGNAL(error(QGeoRouteReply::Error,QString)), this, - SLOT(routeError(QGeoRouteReply::Error, QString))); + SLOT(routeError(QGeoRouteReply::Error,QString))); return reply; } @@ -172,9 +172,9 @@ QGeoRouteReply *QGeoRoutingManagerEngineNokia::updateRoute(const QGeoRoute &rout SLOT(routeFinished())); connect(reply, - SIGNAL(error(QGeoRouteReply::Error, QString)), + SIGNAL(error(QGeoRouteReply::Error,QString)), this, - SLOT(routeError(QGeoRouteReply::Error, QString))); + SLOT(routeError(QGeoRouteReply::Error,QString))); return reply; } @@ -495,7 +495,7 @@ void QGeoRoutingManagerEngineNokia::routeError(QGeoRouteReply::Error error, cons if (!reply) return; - if (receivers(SIGNAL(error(QGeoRouteReply*, QGeoRouteReply::Error, QString))) == 0) { + if (receivers(SIGNAL(error(QGeoRouteReply*,QGeoRouteReply::Error,QString))) == 0) { reply->deleteLater(); return; } diff --git a/src/plugins/geoservices/nokia/qgeouriprovider.cpp b/src/plugins/geoservices/nokia/qgeouriprovider.cpp index 77c47b03..c55b67bb 100644 --- a/src/plugins/geoservices/nokia/qgeouriprovider.cpp +++ b/src/plugins/geoservices/nokia/qgeouriprovider.cpp @@ -82,7 +82,7 @@ QGeoUriProvider::QGeoUriProvider( , m_maxSubdomains(0) { #ifdef USE_CHINA_NETWORK_REGISTRATION - QObject::connect(m_networkInfo, SIGNAL(currentMobileCountryCodeChanged(int, const QString&)), this, SLOT(mobileCountryCodeChanged(int, const QString &))); + QObject::connect(m_networkInfo, SIGNAL(currentMobileCountryCodeChanged(int,QString)), this, SLOT(mobileCountryCodeChanged(int,QString))); #endif setCurrentHost(isInternationalNetwork() || m_localizedHost.isEmpty() ? m_internationalHost : m_localizedHost); } diff --git a/src/plugins/geoservices/osm/qgeoroutingmanagerengineosm.cpp b/src/plugins/geoservices/osm/qgeoroutingmanagerengineosm.cpp index 077c55ba..8ed827a7 100644 --- a/src/plugins/geoservices/osm/qgeoroutingmanagerengineosm.cpp +++ b/src/plugins/geoservices/osm/qgeoroutingmanagerengineosm.cpp @@ -87,7 +87,7 @@ QGeoRouteReply* QGeoRoutingManagerEngineOsm::calculateRoute(const QGeoRouteReque QGeoRouteReplyOsm *routeReply = new QGeoRouteReplyOsm(reply, request, this); connect(routeReply, SIGNAL(finished()), this, SLOT(replyFinished())); - connect(routeReply, SIGNAL(error(QGeoRouteReply::Error, QString)), + connect(routeReply, SIGNAL(error(QGeoRouteReply::Error,QString)), this, SLOT(replyError(QGeoRouteReply::Error,QString))); return routeReply; |