diff options
Diffstat (limited to 'src/location')
27 files changed, 103 insertions, 103 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeocodemodel.cpp b/src/location/declarativemaps/qdeclarativegeocodemodel.cpp index dcff0d44..3e1cca30 100644 --- a/src/location/declarativemaps/qdeclarativegeocodemodel.cpp +++ b/src/location/declarativemaps/qdeclarativegeocodemodel.cpp @@ -233,7 +233,7 @@ void QDeclarativeGeocodeModel::queryContentChanged() */ int QDeclarativeGeocodeModel::rowCount(const QModelIndex &parent) const { - Q_UNUSED(parent) + Q_UNUSED(parent); return declarativeLocations_.count(); } diff --git a/src/location/declarativemaps/qdeclarativegeomap.cpp b/src/location/declarativemaps/qdeclarativegeomap.cpp index 542b478e..997f8465 100644 --- a/src/location/declarativemaps/qdeclarativegeomap.cpp +++ b/src/location/declarativemaps/qdeclarativegeomap.cpp @@ -2458,7 +2458,7 @@ void QDeclarativeGeoMap::wheelEvent(QWheelEvent *event) */ bool QDeclarativeGeoMap::childMouseEventFilter(QQuickItem *item, QEvent *event) { - Q_UNUSED(item) + Q_UNUSED(item); if (!isVisible() || !isEnabled() || !isInteractive()) return QQuickItem::childMouseEventFilter(item, event); diff --git a/src/location/declarativemaps/qdeclarativegeomapitembase.cpp b/src/location/declarativemaps/qdeclarativegeomapitembase.cpp index 7de6afb5..7ee8944e 100644 --- a/src/location/declarativemaps/qdeclarativegeomapitembase.cpp +++ b/src/location/declarativemaps/qdeclarativegeomapitembase.cpp @@ -225,7 +225,7 @@ float QDeclarativeGeoMapItemBase::zoomLevelOpacity() const bool QDeclarativeGeoMapItemBase::childMouseEventFilter(QQuickItem *item, QEvent *event) { - Q_UNUSED(item) + Q_UNUSED(item); if (event->type() == QEvent::MouseButtonPress && !contains(static_cast<QMouseEvent*>(event)->pos())) { // In case of items that are not rectangles, this filter is used to test if the event has landed // inside the actual item shape. diff --git a/src/location/declarativemaps/qdeclarativegeomapitemview.cpp b/src/location/declarativemaps/qdeclarativegeomapitemview.cpp index d404fd47..a769a0c9 100644 --- a/src/location/declarativemaps/qdeclarativegeomapitemview.cpp +++ b/src/location/declarativemaps/qdeclarativegeomapitemview.cpp @@ -378,7 +378,7 @@ void QDeclarativeGeoMapItemView::removeDelegateFromMap(int index, bool transitio if (releaseStatus == QQmlInstanceModel::Referenced) qWarning() << "item "<< index << "(" << item << ") still referenced"; #else - Q_UNUSED(releaseStatus) + Q_UNUSED(releaseStatus); #endif } } @@ -450,7 +450,7 @@ void QDeclarativeGeoMapItemView::exitTransitionFinished() if (releaseStatus == QQmlInstanceModel::Referenced) qWarning() << "item "<<item<<" still referenced"; #else - Q_UNUSED(releaseStatus) + Q_UNUSED(releaseStatus); #endif } diff --git a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp index 96f4dad1..499f1c51 100644 --- a/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp +++ b/src/location/declarativemaps/qdeclarativegeoroutemodel.cpp @@ -273,7 +273,7 @@ void QDeclarativeGeoRouteModel::componentComplete() */ int QDeclarativeGeoRouteModel::rowCount(const QModelIndex &parent) const { - Q_UNUSED(parent) + Q_UNUSED(parent); return routes_.count(); } diff --git a/src/location/declarativeplaces/qdeclarativesearchmodelbase.cpp b/src/location/declarativeplaces/qdeclarativesearchmodelbase.cpp index 8bbe7f64..0d456f74 100644 --- a/src/location/declarativeplaces/qdeclarativesearchmodelbase.cpp +++ b/src/location/declarativeplaces/qdeclarativesearchmodelbase.cpp @@ -306,7 +306,7 @@ void QDeclarativeSearchModelBase::nextPage() */ void QDeclarativeSearchModelBase::clearData(bool suppressSignal) { - Q_UNUSED(suppressSignal) + Q_UNUSED(suppressSignal); } /*! diff --git a/src/location/declarativeplaces/qdeclarativesearchsuggestionmodel.cpp b/src/location/declarativeplaces/qdeclarativesearchsuggestionmodel.cpp index c416858f..3e90283d 100644 --- a/src/location/declarativeplaces/qdeclarativesearchsuggestionmodel.cpp +++ b/src/location/declarativeplaces/qdeclarativesearchsuggestionmodel.cpp @@ -276,7 +276,7 @@ void QDeclarativeSearchSuggestionModel::clearData(bool suppressSignal) */ int QDeclarativeSearchSuggestionModel::rowCount(const QModelIndex &parent) const { - Q_UNUSED(parent) + Q_UNUSED(parent); return m_suggestions.count(); } diff --git a/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel.cpp b/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel.cpp index 3bc45c4f..38bfb249 100644 --- a/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel.cpp +++ b/src/location/declarativeplaces/qdeclarativesupportedcategoriesmodel.cpp @@ -179,7 +179,7 @@ int QDeclarativeSupportedCategoriesModel::rowCount(const QModelIndex &parent) co */ int QDeclarativeSupportedCategoriesModel::columnCount(const QModelIndex &parent) const { - Q_UNUSED(parent) + Q_UNUSED(parent); return 1; } diff --git a/src/location/labs/qmaprouteobject.cpp b/src/location/labs/qmaprouteobject.cpp index c3365d30..a4a71cac 100644 --- a/src/location/labs/qmaprouteobject.cpp +++ b/src/location/labs/qmaprouteobject.cpp @@ -100,7 +100,7 @@ QGeoRoute QMapRouteObjectPrivate::route() const void QMapRouteObjectPrivate::setRoute(const QDeclarativeGeoRoute *route) { - Q_UNUSED(route) + Q_UNUSED(route); } bool QMapRouteObjectPrivate::equals(const QGeoMapObjectPrivate &other) const diff --git a/src/location/labs/qsg/qmapcircleobjectqsg.cpp b/src/location/labs/qsg/qmapcircleobjectqsg.cpp index 775016b9..269c9ebb 100644 --- a/src/location/labs/qsg/qmapcircleobjectqsg.cpp +++ b/src/location/labs/qsg/qmapcircleobjectqsg.cpp @@ -153,7 +153,7 @@ QSGNode *QMapCircleObjectPrivateQSG::updateMapObjectNode(QSGNode *oldNode, QSGNode *root, QQuickWindow * /*window*/) { -// Q_UNUSED(visibleNode) // coz of -Werror=unused-but-set-parameter +// Q_UNUSED(visibleNode); // coz of -Werror=unused-but-set-parameter MapPolygonNode *node = static_cast<MapPolygonNode *>(oldNode); bool created = false; diff --git a/src/location/labs/qsg/qmapiconobjectqsg.cpp b/src/location/labs/qsg/qmapiconobjectqsg.cpp index 1c621e5f..2e7a00e0 100644 --- a/src/location/labs/qsg/qmapiconobjectqsg.cpp +++ b/src/location/labs/qsg/qmapiconobjectqsg.cpp @@ -99,7 +99,7 @@ QSGNode *QMapIconObjectPrivateQSG::updateMapObjectNode(QSGNode *oldNode, QSGNode *root, QQuickWindow *window) { - Q_UNUSED(visibleNode) + Q_UNUSED(visibleNode); bool created = false; RootNode *node = static_cast<RootNode *>(oldNode); if (!node) { diff --git a/src/location/labs/qsg/qmappolygonobjectqsg.cpp b/src/location/labs/qsg/qmappolygonobjectqsg.cpp index 99a84ec5..01653a0e 100644 --- a/src/location/labs/qsg/qmappolygonobjectqsg.cpp +++ b/src/location/labs/qsg/qmappolygonobjectqsg.cpp @@ -80,7 +80,7 @@ QSGNode *QMapPolygonObjectPrivateQSG::updateMapObjectNode(QSGNode *oldNode, QSGNode *root, QQuickWindow * /*window*/) { - Q_UNUSED(visibleNode) + Q_UNUSED(visibleNode); MapPolygonNode *node = static_cast<MapPolygonNode *>(oldNode); bool created = false; diff --git a/src/location/labs/qsg/qmappolylineobjectqsg.cpp b/src/location/labs/qsg/qmappolylineobjectqsg.cpp index 5b184326..b2cdc607 100644 --- a/src/location/labs/qsg/qmappolylineobjectqsg.cpp +++ b/src/location/labs/qsg/qmappolylineobjectqsg.cpp @@ -102,7 +102,7 @@ QSGNode *QMapPolylineObjectPrivateQSG::updateMapObjectNode(QSGNode *oldNode, QSGNode *root, QQuickWindow * /*window*/) { - Q_UNUSED(visibleNode) + Q_UNUSED(visibleNode); MapPolylineNode *node = static_cast<MapPolylineNode *>(oldNode); bool created = false; diff --git a/src/location/maps/qgeocodingmanagerengine.cpp b/src/location/maps/qgeocodingmanagerengine.cpp index fb7d4e0e..0bb2c24b 100644 --- a/src/location/maps/qgeocodingmanagerengine.cpp +++ b/src/location/maps/qgeocodingmanagerengine.cpp @@ -83,7 +83,7 @@ QGeoCodingManagerEngine::QGeoCodingManagerEngine(const QVariantMap ¶meters, : QObject(parent), d_ptr(new QGeoCodingManagerEnginePrivate()) { - Q_UNUSED(parameters) + Q_UNUSED(parameters); } /*! @@ -174,8 +174,8 @@ int QGeoCodingManagerEngine::managerVersion() const QGeoCodeReply *QGeoCodingManagerEngine::geocode(const QGeoAddress &address, const QGeoShape &bounds) { - Q_UNUSED(address) - Q_UNUSED(bounds) + Q_UNUSED(address); + Q_UNUSED(bounds); return new QGeoCodeReply(QGeoCodeReply::UnsupportedOptionError, QLatin1String("Geocoding is not supported by this service provider."), this); } @@ -219,8 +219,8 @@ QGeoCodeReply *QGeoCodingManagerEngine::geocode(const QGeoAddress &address, QGeoCodeReply *QGeoCodingManagerEngine::reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds) { - Q_UNUSED(coordinate) - Q_UNUSED(bounds) + Q_UNUSED(coordinate); + Q_UNUSED(bounds); return new QGeoCodeReply(QGeoCodeReply::UnsupportedOptionError, QLatin1String("Reverse geocoding is not supported by this service provider."), this); } @@ -259,10 +259,10 @@ QGeoCodeReply *QGeoCodingManagerEngine::geocode(const QString &address, int offset, const QGeoShape &bounds) { - Q_UNUSED(address) - Q_UNUSED(limit) - Q_UNUSED(offset) - Q_UNUSED(bounds) + Q_UNUSED(address); + Q_UNUSED(limit); + Q_UNUSED(offset); + Q_UNUSED(bounds); return new QGeoCodeReply(QGeoCodeReply::UnsupportedOptionError, QLatin1String("Searching is not supported by this service provider."), this); diff --git a/src/location/maps/qgeomaneuver.cpp b/src/location/maps/qgeomaneuver.cpp index 22f6f587..1dee942a 100644 --- a/src/location/maps/qgeomaneuver.cpp +++ b/src/location/maps/qgeomaneuver.cpp @@ -356,7 +356,7 @@ bool QGeoManeuverPrivate::valid() const void QGeoManeuverPrivate::setValid(bool valid) { - Q_UNUSED(valid) + Q_UNUSED(valid); } QString QGeoManeuverPrivate::id() const @@ -366,7 +366,7 @@ QString QGeoManeuverPrivate::id() const void QGeoManeuverPrivate::setId(const QString id) { - Q_UNUSED(id) + Q_UNUSED(id); } QGeoCoordinate QGeoManeuverPrivate::position() const @@ -376,7 +376,7 @@ QGeoCoordinate QGeoManeuverPrivate::position() const void QGeoManeuverPrivate::setPosition(const QGeoCoordinate &position) { - Q_UNUSED(position) + Q_UNUSED(position); } QString QGeoManeuverPrivate::text() const @@ -386,7 +386,7 @@ QString QGeoManeuverPrivate::text() const void QGeoManeuverPrivate::setText(const QString &text) { - Q_UNUSED(text) + Q_UNUSED(text); } QGeoManeuver::InstructionDirection QGeoManeuverPrivate::direction() const @@ -396,7 +396,7 @@ QGeoManeuver::InstructionDirection QGeoManeuverPrivate::direction() const void QGeoManeuverPrivate::setDirection(QGeoManeuver::InstructionDirection direction) { - Q_UNUSED(direction) + Q_UNUSED(direction); } int QGeoManeuverPrivate::timeToNextInstruction() const @@ -406,7 +406,7 @@ int QGeoManeuverPrivate::timeToNextInstruction() const void QGeoManeuverPrivate::setTimeToNextInstruction(int timeToNextInstruction) { - Q_UNUSED(timeToNextInstruction) + Q_UNUSED(timeToNextInstruction); } qreal QGeoManeuverPrivate::distanceToNextInstruction() const @@ -416,7 +416,7 @@ qreal QGeoManeuverPrivate::distanceToNextInstruction() const void QGeoManeuverPrivate::setDistanceToNextInstruction(qreal distanceToNextInstruction) { - Q_UNUSED(distanceToNextInstruction) + Q_UNUSED(distanceToNextInstruction); } QGeoCoordinate QGeoManeuverPrivate::waypoint() const @@ -426,7 +426,7 @@ QGeoCoordinate QGeoManeuverPrivate::waypoint() const void QGeoManeuverPrivate::setWaypoint(const QGeoCoordinate &waypoint) { - Q_UNUSED(waypoint) + Q_UNUSED(waypoint); } QVariantMap QGeoManeuverPrivate::extendedAttributes() const @@ -436,7 +436,7 @@ QVariantMap QGeoManeuverPrivate::extendedAttributes() const void QGeoManeuverPrivate::setExtendedAttributes(const QVariantMap &extendedAttributes) { - Q_UNUSED(extendedAttributes) + Q_UNUSED(extendedAttributes); } diff --git a/src/location/maps/qgeomap.cpp b/src/location/maps/qgeomap.cpp index bf5e557d..80edac1a 100644 --- a/src/location/maps/qgeomap.cpp +++ b/src/location/maps/qgeomap.cpp @@ -106,7 +106,7 @@ void QGeoMap::setCameraCapabilities(const QGeoCameraCapabilities &cameraCapabili bool QGeoMap::handleEvent(QEvent *event) { - Q_UNUSED(event) + Q_UNUSED(event); return false; } @@ -137,8 +137,8 @@ bool QGeoMap::anchorCoordinateToPoint(const QGeoCoordinate &coordinate, const QP bool QGeoMap::fitViewportToGeoRectangle(const QGeoRectangle &rectangle, const QMargins &borders) { - Q_UNUSED(rectangle) - Q_UNUSED(borders) + Q_UNUSED(rectangle); + Q_UNUSED(borders); return false; } @@ -333,11 +333,11 @@ QString QGeoMap::copyrightsStyleSheet() const void QGeoMap::setAcceptedGestures(bool pan, bool flick, bool pinch, bool rotate, bool tilt) { - Q_UNUSED(pan) - Q_UNUSED(flick) - Q_UNUSED(pinch) - Q_UNUSED(rotate) - Q_UNUSED(tilt) + Q_UNUSED(pan); + Q_UNUSED(flick); + Q_UNUSED(pinch); + Q_UNUSED(rotate); + Q_UNUSED(tilt); } void QGeoMap::setCopyrightVisible(bool visible) @@ -388,12 +388,12 @@ const QGeoMapPrivate *QGeoMapPrivate::get(const QGeoMap &map) void QGeoMapPrivate::addParameter(QGeoMapParameter *param) { - Q_UNUSED(param) + Q_UNUSED(param); } void QGeoMapPrivate::removeParameter(QGeoMapParameter *param) { - Q_UNUSED(param) + Q_UNUSED(param); } QGeoMap::ItemTypes QGeoMapPrivate::supportedMapItemTypes() const @@ -403,17 +403,17 @@ QGeoMap::ItemTypes QGeoMapPrivate::supportedMapItemTypes() const void QGeoMapPrivate::addMapItem(QDeclarativeGeoMapItemBase *item) { - Q_UNUSED(item) + Q_UNUSED(item); } void QGeoMapPrivate::removeMapItem(QDeclarativeGeoMapItemBase *item) { - Q_UNUSED(item) + Q_UNUSED(item); } QGeoMapObjectPrivate *QGeoMapPrivate::createMapObjectImplementation(QGeoMapObject *obj) { - Q_UNUSED(obj) + Q_UNUSED(obj); return nullptr; } diff --git a/src/location/maps/qgeomappingmanager.cpp b/src/location/maps/qgeomappingmanager.cpp index d73050f7..00982c8a 100644 --- a/src/location/maps/qgeomappingmanager.cpp +++ b/src/location/maps/qgeomappingmanager.cpp @@ -133,7 +133,7 @@ int QGeoMappingManager::managerVersion() const */ QGeoMap *QGeoMappingManager::createMap(QObject *parent) { - Q_UNUSED(parent) + Q_UNUSED(parent); return d_ptr->engine->createMap(); } diff --git a/src/location/maps/qgeomappingmanagerengine.cpp b/src/location/maps/qgeomappingmanagerengine.cpp index 187b30eb..663e9917 100644 --- a/src/location/maps/qgeomappingmanagerengine.cpp +++ b/src/location/maps/qgeomappingmanagerengine.cpp @@ -152,7 +152,7 @@ void QGeoMappingManagerEngine::setSupportedMapTypes(const QList<QGeoMapType> &su QGeoCameraCapabilities QGeoMappingManagerEngine::cameraCapabilities(int mapId) const { - Q_UNUSED(mapId) + Q_UNUSED(mapId); Q_D(const QGeoMappingManagerEngine); if (mapId == 0) diff --git a/src/location/maps/qgeoprojection.cpp b/src/location/maps/qgeoprojection.cpp index 0fdb5f0b..f64060e2 100644 --- a/src/location/maps/qgeoprojection.cpp +++ b/src/location/maps/qgeoprojection.cpp @@ -101,8 +101,8 @@ QGeoProjection::~QGeoProjection() QGeoCoordinate QGeoProjection::anchorCoordinateToPoint(const QGeoCoordinate &coordinate, const QPointF &anchorPoint) const { - Q_UNUSED(coordinate) - Q_UNUSED(anchorPoint) + Q_UNUSED(coordinate); + Q_UNUSED(anchorPoint); return QGeoCoordinate(); } @@ -113,8 +113,8 @@ QGeoShape QGeoProjection::visibleRegion() const bool QGeoProjection::setBearing(qreal bearing, const QGeoCoordinate &coordinate) { - Q_UNUSED(bearing) - Q_UNUSED(coordinate) + Q_UNUSED(bearing); + Q_UNUSED(coordinate); return false; } diff --git a/src/location/maps/qgeoroute.cpp b/src/location/maps/qgeoroute.cpp index ef54e4aa..ffa9a496 100644 --- a/src/location/maps/qgeoroute.cpp +++ b/src/location/maps/qgeoroute.cpp @@ -395,7 +395,7 @@ bool QGeoRoutePrivate::equals(const QGeoRoutePrivate &other) const void QGeoRoutePrivate::setId(const QString &id) { - Q_UNUSED(id) + Q_UNUSED(id); } QString QGeoRoutePrivate::id() const @@ -405,7 +405,7 @@ QString QGeoRoutePrivate::id() const void QGeoRoutePrivate::setRequest(const QGeoRouteRequest &request) { - Q_UNUSED(request) + Q_UNUSED(request); } QGeoRouteRequest QGeoRoutePrivate::request() const @@ -415,7 +415,7 @@ QGeoRouteRequest QGeoRoutePrivate::request() const void QGeoRoutePrivate::setBounds(const QGeoRectangle &bounds) { - Q_UNUSED(bounds) + Q_UNUSED(bounds); } QGeoRectangle QGeoRoutePrivate::bounds() const @@ -425,7 +425,7 @@ QGeoRectangle QGeoRoutePrivate::bounds() const void QGeoRoutePrivate::setTravelTime(int travelTime) { - Q_UNUSED(travelTime) + Q_UNUSED(travelTime); } int QGeoRoutePrivate::travelTime() const @@ -435,7 +435,7 @@ int QGeoRoutePrivate::travelTime() const void QGeoRoutePrivate::setDistance(qreal distance) { - Q_UNUSED(distance) + Q_UNUSED(distance); } qreal QGeoRoutePrivate::distance() const @@ -445,7 +445,7 @@ qreal QGeoRoutePrivate::distance() const void QGeoRoutePrivate::setTravelMode(QGeoRouteRequest::TravelMode mode) { - Q_UNUSED(mode) + Q_UNUSED(mode); } QGeoRouteRequest::TravelMode QGeoRoutePrivate::travelMode() const @@ -455,7 +455,7 @@ QGeoRouteRequest::TravelMode QGeoRoutePrivate::travelMode() const void QGeoRoutePrivate::setPath(const QList<QGeoCoordinate> &path) { - Q_UNUSED(path) + Q_UNUSED(path); } QList<QGeoCoordinate> QGeoRoutePrivate::path() const @@ -465,7 +465,7 @@ QList<QGeoCoordinate> QGeoRoutePrivate::path() const void QGeoRoutePrivate::setFirstSegment(const QGeoRouteSegment &firstSegment) { - Q_UNUSED(firstSegment) + Q_UNUSED(firstSegment); } QGeoRouteSegment QGeoRoutePrivate::firstSegment() const diff --git a/src/location/maps/qgeoroutesegment.cpp b/src/location/maps/qgeoroutesegment.cpp index aff54fc7..0e350d0a 100644 --- a/src/location/maps/qgeoroutesegment.cpp +++ b/src/location/maps/qgeoroutesegment.cpp @@ -298,7 +298,7 @@ bool QGeoRouteSegmentPrivate::valid() const void QGeoRouteSegmentPrivate::setValid(bool valid) { - Q_UNUSED(valid) + Q_UNUSED(valid); } bool QGeoRouteSegmentPrivate::isLegLastSegment() const @@ -308,7 +308,7 @@ bool QGeoRouteSegmentPrivate::isLegLastSegment() const void QGeoRouteSegmentPrivate::setLegLastSegment(bool lastSegment) { - Q_UNUSED(lastSegment) + Q_UNUSED(lastSegment); } int QGeoRouteSegmentPrivate::travelTime() const @@ -318,7 +318,7 @@ int QGeoRouteSegmentPrivate::travelTime() const void QGeoRouteSegmentPrivate::setTravelTime(int travelTime) { - Q_UNUSED(travelTime) + Q_UNUSED(travelTime); } qreal QGeoRouteSegmentPrivate::distance() const @@ -328,7 +328,7 @@ qreal QGeoRouteSegmentPrivate::distance() const void QGeoRouteSegmentPrivate::setDistance(qreal distance) { - Q_UNUSED(distance) + Q_UNUSED(distance); } QList<QGeoCoordinate> QGeoRouteSegmentPrivate::path() const @@ -338,7 +338,7 @@ QList<QGeoCoordinate> QGeoRouteSegmentPrivate::path() const void QGeoRouteSegmentPrivate::setPath(const QList<QGeoCoordinate> &path) { - Q_UNUSED(path) + Q_UNUSED(path); } QGeoManeuver QGeoRouteSegmentPrivate::maneuver() const @@ -348,7 +348,7 @@ QGeoManeuver QGeoRouteSegmentPrivate::maneuver() const void QGeoRouteSegmentPrivate::setManeuver(const QGeoManeuver &maneuver) { - Q_UNUSED(maneuver) + Q_UNUSED(maneuver); } QExplicitlySharedDataPointer<QGeoRouteSegmentPrivate> QGeoRouteSegmentPrivate::nextRouteSegment() const diff --git a/src/location/maps/qgeoroutingmanagerengine.cpp b/src/location/maps/qgeoroutingmanagerengine.cpp index aa307057..df6d762d 100644 --- a/src/location/maps/qgeoroutingmanagerengine.cpp +++ b/src/location/maps/qgeoroutingmanagerengine.cpp @@ -86,7 +86,7 @@ QGeoRoutingManagerEngine::QGeoRoutingManagerEngine(const QVariantMap ¶meters : QObject(parent), d_ptr(new QGeoRoutingManagerEnginePrivate()) { - Q_UNUSED(parameters) + Q_UNUSED(parameters); } /*! @@ -196,8 +196,8 @@ int QGeoRoutingManagerEngine::managerVersion() const */ QGeoRouteReply *QGeoRoutingManagerEngine::updateRoute(const QGeoRoute &route, const QGeoCoordinate &position) { - Q_UNUSED(route) - Q_UNUSED(position) + Q_UNUSED(route); + Q_UNUSED(position); return new QGeoRouteReply(QGeoRouteReply::UnsupportedOptionError, QLatin1String("The updating of routes is not supported by this service provider."), this); } diff --git a/src/location/maps/qgeoserviceprovider.cpp b/src/location/maps/qgeoserviceprovider.cpp index d2f98b4d..1792b7c5 100644 --- a/src/location/maps/qgeoserviceprovider.cpp +++ b/src/location/maps/qgeoserviceprovider.cpp @@ -860,7 +860,7 @@ void QGeoServiceProviderPrivate::loadMeta() void QGeoServiceProviderPrivate::loadPlugin(const QVariantMap ¶meters) { - Q_UNUSED(parameters) + Q_UNUSED(parameters); if (int(metaData.value(QStringLiteral("index")).toDouble()) < 0) { error = QGeoServiceProvider::NotSupportedError; diff --git a/src/location/maps/qgeoserviceproviderfactory.cpp b/src/location/maps/qgeoserviceproviderfactory.cpp index 65a88710..d9438d74 100644 --- a/src/location/maps/qgeoserviceproviderfactory.cpp +++ b/src/location/maps/qgeoserviceproviderfactory.cpp @@ -80,9 +80,9 @@ QGeoCodingManagerEngine *QGeoServiceProviderFactory::createGeocodingManagerEngin QGeoServiceProvider::Error *error, QString *errorString) const { - Q_UNUSED(parameters) - Q_UNUSED(error) - Q_UNUSED(errorString) + Q_UNUSED(parameters); + Q_UNUSED(error); + Q_UNUSED(errorString); return 0; } @@ -106,9 +106,9 @@ QGeoMappingManagerEngine *QGeoServiceProviderFactory::createMappingManagerEngine QGeoServiceProvider::Error *error, QString *errorString) const { - Q_UNUSED(parameters) - Q_UNUSED(error) - Q_UNUSED(errorString) + Q_UNUSED(parameters); + Q_UNUSED(error); + Q_UNUSED(errorString); return 0; } @@ -131,9 +131,9 @@ QGeoRoutingManagerEngine *QGeoServiceProviderFactory::createRoutingManagerEngine QString *errorString) const { - Q_UNUSED(parameters) - Q_UNUSED(error) - Q_UNUSED(errorString) + Q_UNUSED(parameters); + Q_UNUSED(error); + Q_UNUSED(errorString); return 0; } @@ -156,9 +156,9 @@ QPlaceManagerEngine *QGeoServiceProviderFactory::createPlaceManagerEngine(const QString *errorString) const { - Q_UNUSED(parameters) - Q_UNUSED(error) - Q_UNUSED(errorString) + Q_UNUSED(parameters); + Q_UNUSED(error); + Q_UNUSED(errorString); return 0; } @@ -200,9 +200,9 @@ Destroys this QGeoServiceProviderFactoryV2 instance. */ QNavigationManagerEngine *QGeoServiceProviderFactoryV2::createNavigationManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const { - Q_UNUSED(parameters) - Q_UNUSED(error) - Q_UNUSED(errorString) + Q_UNUSED(parameters); + Q_UNUSED(error); + Q_UNUSED(errorString); return 0; } @@ -216,7 +216,7 @@ QNavigationManagerEngine *QGeoServiceProviderFactoryV2::createNavigationManagerE */ void QGeoServiceProviderFactoryV3::setQmlEngine(QQmlEngine *engine) { - Q_UNUSED(engine) + Q_UNUSED(engine); } QT_END_NAMESPACE diff --git a/src/location/maps/qgeotiledmapscene.cpp b/src/location/maps/qgeotiledmapscene.cpp index 074b67c6..a5f94c8d 100644 --- a/src/location/maps/qgeotiledmapscene.cpp +++ b/src/location/maps/qgeotiledmapscene.cpp @@ -533,7 +533,7 @@ void QGeoTiledMapRootNode::updateTiles(QGeoTiledMapTileContainerNode *root, if (ogl) static_cast<QSGDefaultImageNode *>(node)->setAnisotropyLevel(QSGTexture::Anisotropy16x); #else - Q_UNUSED(ogl) + Q_UNUSED(ogl); #endif dirtyBits |= QSGNode::DirtyMaterial; } diff --git a/src/location/maps/qnavigationmanagerengine.cpp b/src/location/maps/qnavigationmanagerengine.cpp index 770e30a6..d0f8418e 100644 --- a/src/location/maps/qnavigationmanagerengine.cpp +++ b/src/location/maps/qnavigationmanagerengine.cpp @@ -90,7 +90,7 @@ QNavigationManagerEngine::QNavigationManagerEngine(const QVariantMap ¶meters : QObject(parent) , d(new QNavigationManagerEnginePrivate) { - Q_UNUSED(parameters) + Q_UNUSED(parameters); } QNavigationManagerEngine::~QNavigationManagerEngine() diff --git a/src/location/places/qplacemanagerengine.cpp b/src/location/places/qplacemanagerengine.cpp index d14b7e67..c7ed68ed 100644 --- a/src/location/places/qplacemanagerengine.cpp +++ b/src/location/places/qplacemanagerengine.cpp @@ -75,7 +75,7 @@ QPlaceManagerEngine::QPlaceManagerEngine(const QVariantMap ¶meters, { qRegisterMetaType<QPlaceReply::Error>(); qRegisterMetaType<QPlaceReply *>(); - Q_UNUSED(parameters) + Q_UNUSED(parameters); } /*! @@ -140,7 +140,7 @@ int QPlaceManagerEngine::managerVersion() const */ QPlaceDetailsReply *QPlaceManagerEngine::getPlaceDetails(const QString &placeId) { - Q_UNUSED(placeId) + Q_UNUSED(placeId); return new QPlaceDetailsReplyUnsupported(this); } @@ -150,7 +150,7 @@ QPlaceDetailsReply *QPlaceManagerEngine::getPlaceDetails(const QString &placeId) */ QPlaceContentReply *QPlaceManagerEngine::getPlaceContent(const QPlaceContentRequest &request) { - Q_UNUSED(request) + Q_UNUSED(request); return new QPlaceContentReplyUnsupported(this); } @@ -160,7 +160,7 @@ QPlaceContentReply *QPlaceManagerEngine::getPlaceContent(const QPlaceContentRequ */ QPlaceSearchReply *QPlaceManagerEngine::search(const QPlaceSearchRequest &request) { - Q_UNUSED(request) + Q_UNUSED(request); return new QPlaceSearchReplyUnsupported(QPlaceReply::UnsupportedError, QStringLiteral("Place search is not supported."), this); @@ -172,7 +172,7 @@ QPlaceSearchReply *QPlaceManagerEngine::search(const QPlaceSearchRequest &reques QPlaceSearchSuggestionReply *QPlaceManagerEngine::searchSuggestions( const QPlaceSearchRequest &request) { - Q_UNUSED(request) + Q_UNUSED(request); return new QPlaceSearchSuggestionReplyUnsupported(this); } @@ -182,7 +182,7 @@ QPlaceSearchSuggestionReply *QPlaceManagerEngine::searchSuggestions( */ QPlaceIdReply *QPlaceManagerEngine::savePlace(const QPlace &place) { - Q_UNUSED(place) + Q_UNUSED(place); return new QPlaceIdReplyUnsupported(QStringLiteral("Save place is not supported"), QPlaceIdReply::SavePlace, this); @@ -193,7 +193,7 @@ QPlaceIdReply *QPlaceManagerEngine::savePlace(const QPlace &place) */ QPlaceIdReply *QPlaceManagerEngine::removePlace(const QString &placeId) { - Q_UNUSED(placeId) + Q_UNUSED(placeId); return new QPlaceIdReplyUnsupported(QStringLiteral("Remove place is not supported"), QPlaceIdReply::RemovePlace, this); @@ -206,8 +206,8 @@ QPlaceIdReply *QPlaceManagerEngine::removePlace(const QString &placeId) QPlaceIdReply *QPlaceManagerEngine::saveCategory(const QPlaceCategory &category, const QString &parentId) { - Q_UNUSED(category) - Q_UNUSED(parentId) + Q_UNUSED(category); + Q_UNUSED(parentId); return new QPlaceIdReplyUnsupported(QStringLiteral("Save category is not supported"), QPlaceIdReply::SaveCategory, this); @@ -219,7 +219,7 @@ QPlaceIdReply *QPlaceManagerEngine::saveCategory(const QPlaceCategory &category, QPlaceIdReply *QPlaceManagerEngine::removeCategory(const QString &categoryId) { - Q_UNUSED(categoryId) + Q_UNUSED(categoryId); return new QPlaceIdReplyUnsupported(QStringLiteral("Remove category is not supported"), QPlaceIdReply::RemoveCategory, this); @@ -238,7 +238,7 @@ QPlaceReply *QPlaceManagerEngine::initializeCategories() */ QString QPlaceManagerEngine::parentCategoryId(const QString &categoryId) const { - Q_UNUSED(categoryId) + Q_UNUSED(categoryId); return QString(); } @@ -249,7 +249,7 @@ QString QPlaceManagerEngine::parentCategoryId(const QString &categoryId) const */ QStringList QPlaceManagerEngine::childCategoryIds(const QString &categoryId) const { - Q_UNUSED(categoryId) + Q_UNUSED(categoryId); return QStringList(); } @@ -259,7 +259,7 @@ QStringList QPlaceManagerEngine::childCategoryIds(const QString &categoryId) con */ QPlaceCategory QPlaceManagerEngine::category(const QString &categoryId) const { - Q_UNUSED(categoryId) + Q_UNUSED(categoryId); return QPlaceCategory(); } @@ -270,7 +270,7 @@ QPlaceCategory QPlaceManagerEngine::category(const QString &categoryId) const */ QList<QPlaceCategory> QPlaceManagerEngine::childCategories(const QString &parentId) const { - Q_UNUSED(parentId) + Q_UNUSED(parentId); return QList<QPlaceCategory>(); } @@ -297,7 +297,7 @@ QList<QLocale> QPlaceManagerEngine::locales() const */ void QPlaceManagerEngine::setLocales(const QList<QLocale> &locales) { - Q_UNUSED(locales) + Q_UNUSED(locales); } /*! @@ -328,7 +328,7 @@ QPlace QPlaceManagerEngine::compatiblePlace(const QPlace &original) const */ QPlaceMatchReply * QPlaceManagerEngine::matchingPlaces(const QPlaceMatchRequest &request) { - Q_UNUSED(request) + Q_UNUSED(request); return new QPlaceMatchReplyUnsupported(this); } |