summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2018-01-31 14:34:16 +0100
committerKevin Funk <kevin.funk@kdab.com>2018-02-05 13:14:46 +0000
commitb4807a11e816feaa3b541b4e4b02f77c1fafbf48 (patch)
tree8bbbb202dfd8e283b7bdfeadd1396757669e7f04 /tests
parent4ecd38a9371ceb79abe162c39de6082e112f1053 (diff)
downloadqtlocation-b4807a11e816feaa3b541b4e4b02f77c1fafbf48.tar.gz
Replace Q_DECL_OVERRIDE with override
Change-Id: Iaa670de181255ea570fcf7bcbe465987ef7fc2fc Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/geotestplugin/qplacemanagerengine_test.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/auto/geotestplugin/qplacemanagerengine_test.h b/tests/auto/geotestplugin/qplacemanagerengine_test.h
index 30e5422e..7245ccf1 100644
--- a/tests/auto/geotestplugin/qplacemanagerengine_test.h
+++ b/tests/auto/geotestplugin/qplacemanagerengine_test.h
@@ -374,7 +374,7 @@ public:
}
}
- QPlaceDetailsReply *getPlaceDetails(const QString &placeId) Q_DECL_OVERRIDE
+ QPlaceDetailsReply *getPlaceDetails(const QString &placeId) override
{
DetailsReply *reply = new DetailsReply(this);
@@ -390,7 +390,7 @@ public:
return reply;
}
- QPlaceContentReply *getPlaceContent(const QPlaceContentRequest &query) Q_DECL_OVERRIDE
+ QPlaceContentReply *getPlaceContent(const QPlaceContentRequest &query) override
{
ContentReply *reply = new ContentReply(this);
if (query.placeId().isEmpty() || !m_places.contains(query.placeId())) {
@@ -458,7 +458,7 @@ public:
return reply;
}
- QPlaceSearchReply *search(const QPlaceSearchRequest &query) Q_DECL_OVERRIDE
+ QPlaceSearchReply *search(const QPlaceSearchRequest &query) override
{
QList<QPlaceSearchResult> results;
@@ -503,7 +503,7 @@ public:
return reply;
}
- QPlaceSearchSuggestionReply *searchSuggestions(const QPlaceSearchRequest &query) Q_DECL_OVERRIDE
+ QPlaceSearchSuggestionReply *searchSuggestions(const QPlaceSearchRequest &query) override
{
QStringList suggestions;
if (query.searchTerm() == QLatin1String("test")) {
@@ -519,7 +519,7 @@ public:
return reply;
}
- QPlaceIdReply *savePlace(const QPlace &place) Q_DECL_OVERRIDE
+ QPlaceIdReply *savePlace(const QPlace &place) override
{
IdReply *reply = new IdReply(QPlaceIdReply::SavePlace, this);
@@ -542,7 +542,7 @@ public:
return reply;
}
- QPlaceIdReply *removePlace(const QString &placeId) Q_DECL_OVERRIDE
+ QPlaceIdReply *removePlace(const QString &placeId) override
{
IdReply *reply = new IdReply(QPlaceIdReply::RemovePlace, this);
reply->setId(placeId);
@@ -559,7 +559,7 @@ public:
return reply;
}
- QPlaceIdReply *saveCategory(const QPlaceCategory &category, const QString &parentId) Q_DECL_OVERRIDE
+ QPlaceIdReply *saveCategory(const QPlaceCategory &category, const QString &parentId) override
{
IdReply *reply = new IdReply(QPlaceIdReply::SaveCategory, this);
@@ -600,7 +600,7 @@ public:
return reply;
}
- QPlaceIdReply *removeCategory(const QString &categoryId) Q_DECL_OVERRIDE
+ QPlaceIdReply *removeCategory(const QString &categoryId) override
{
IdReply *reply = new IdReply(QPlaceIdReply::RemoveCategory, this);
reply->setId(categoryId);
@@ -623,7 +623,7 @@ public:
return reply;
}
- QPlaceReply *initializeCategories() Q_DECL_OVERRIDE
+ QPlaceReply *initializeCategories() override
{
QPlaceReply *reply = new PlaceReply(this);
@@ -632,7 +632,7 @@ public:
return reply;
}
- QString parentCategoryId(const QString &categoryId) const Q_DECL_OVERRIDE
+ QString parentCategoryId(const QString &categoryId) const override
{
QHashIterator<QString, QStringList> i(m_childCategories);
while (i.hasNext()) {
@@ -644,17 +644,17 @@ public:
return QString();
}
- virtual QStringList childCategoryIds(const QString &categoryId) const Q_DECL_OVERRIDE
+ virtual QStringList childCategoryIds(const QString &categoryId) const override
{
return m_childCategories.value(categoryId);
}
- virtual QPlaceCategory category(const QString &categoryId) const Q_DECL_OVERRIDE
+ virtual QPlaceCategory category(const QString &categoryId) const override
{
return m_categories.value(categoryId);
}
- QList<QPlaceCategory> childCategories(const QString &parentId) const Q_DECL_OVERRIDE
+ QList<QPlaceCategory> childCategories(const QString &parentId) const override
{
QList<QPlaceCategory> categories;
@@ -664,17 +664,17 @@ public:
return categories;
}
- QList<QLocale> locales() const Q_DECL_OVERRIDE
+ QList<QLocale> locales() const override
{
return m_locales;
}
- void setLocales(const QList<QLocale> &locales) Q_DECL_OVERRIDE
+ void setLocales(const QList<QLocale> &locales) override
{
m_locales = locales;
}
- QUrl constructIconUrl(const QPlaceIcon &icon, const QSize &size) const Q_DECL_OVERRIDE
+ QUrl constructIconUrl(const QPlaceIcon &icon, const QSize &size) const override
{
QList<QPair<int, QUrl> > candidates;
@@ -711,7 +711,7 @@ public:
}
}
- QPlace compatiblePlace(const QPlace &original) const Q_DECL_OVERRIDE
+ QPlace compatiblePlace(const QPlace &original) const override
{
QPlace place;
place.setName(original.name());