diff options
Diffstat (limited to 'src/location/places')
-rw-r--r-- | src/location/places/qplacecontent_p.h | 4 | ||||
-rw-r--r-- | src/location/places/qplacecontentreply.h | 2 | ||||
-rw-r--r-- | src/location/places/qplacedetailsreply.h | 2 | ||||
-rw-r--r-- | src/location/places/qplaceeditorial_p.h | 2 | ||||
-rw-r--r-- | src/location/places/qplaceidreply.h | 2 | ||||
-rw-r--r-- | src/location/places/qplaceimage_p.h | 2 | ||||
-rw-r--r-- | src/location/places/qplacematchreply.h | 2 | ||||
-rw-r--r-- | src/location/places/qplacereview_p.h | 2 | ||||
-rw-r--r-- | src/location/places/qplacesearchreply.h | 2 | ||||
-rw-r--r-- | src/location/places/qplacesearchsuggestionreply.h | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/src/location/places/qplacecontent_p.h b/src/location/places/qplacecontent_p.h index 23b176bc..f2bbe6bf 100644 --- a/src/location/places/qplacecontent_p.h +++ b/src/location/places/qplacecontent_p.h @@ -67,8 +67,8 @@ QT_BEGIN_NAMESPACE Class::Class(const QPlaceContent &other) : QPlaceContent() { Class##Private::copyIfPossible(d_ptr, other); } #define Q_DEFINE_CONTENT_PRIVATE_HELPER(Class, ContentType) \ - virtual QPlaceContentPrivate *clone() const { return new Class##Private(*this); } \ - virtual QPlaceContent::Type type() const {return ContentType;} \ + QPlaceContentPrivate *clone() const override { return new Class##Private(*this); } \ + QPlaceContent::Type type() const override {return ContentType;} \ static void copyIfPossible(QSharedDataPointer<QPlaceContentPrivate> &d_ptr, const QPlaceContent &other) \ { \ if (other.type() == ContentType) \ diff --git a/src/location/places/qplacecontentreply.h b/src/location/places/qplacecontentreply.h index 929d3384..dd8039f3 100644 --- a/src/location/places/qplacecontentreply.h +++ b/src/location/places/qplacecontentreply.h @@ -52,7 +52,7 @@ public: explicit QPlaceContentReply(QObject *parent = nullptr); virtual ~QPlaceContentReply(); - QPlaceReply::Type type() const; + QPlaceReply::Type type() const override; QPlaceContent::Collection content() const; diff --git a/src/location/places/qplacedetailsreply.h b/src/location/places/qplacedetailsreply.h index 6c3acca7..97806bc9 100644 --- a/src/location/places/qplacedetailsreply.h +++ b/src/location/places/qplacedetailsreply.h @@ -50,7 +50,7 @@ public: explicit QPlaceDetailsReply(QObject *parent = nullptr); virtual ~QPlaceDetailsReply(); - QPlaceReply::Type type() const; + QPlaceReply::Type type() const override; QPlace place() const; diff --git a/src/location/places/qplaceeditorial_p.h b/src/location/places/qplaceeditorial_p.h index f502db73..d2f96da5 100644 --- a/src/location/places/qplaceeditorial_p.h +++ b/src/location/places/qplaceeditorial_p.h @@ -63,7 +63,7 @@ public: ~QPlaceEditorialPrivate(); - bool compare(const QPlaceContentPrivate *other) const; + bool compare(const QPlaceContentPrivate *other) const override; Q_DEFINE_CONTENT_PRIVATE_HELPER(QPlaceEditorial, QPlaceContent::EditorialType) diff --git a/src/location/places/qplaceidreply.h b/src/location/places/qplaceidreply.h index 6ecf12c8..24b56e4b 100644 --- a/src/location/places/qplaceidreply.h +++ b/src/location/places/qplaceidreply.h @@ -58,7 +58,7 @@ public: explicit QPlaceIdReply(OperationType operationType, QObject *parent = nullptr); virtual ~QPlaceIdReply(); - QPlaceReply::Type type() const; + QPlaceReply::Type type() const override; OperationType operationType() const; QString id() const; diff --git a/src/location/places/qplaceimage_p.h b/src/location/places/qplaceimage_p.h index 4030b08d..8930dcc2 100644 --- a/src/location/places/qplaceimage_p.h +++ b/src/location/places/qplaceimage_p.h @@ -64,7 +64,7 @@ public: ~QPlaceImagePrivate(); - bool compare(const QPlaceContentPrivate *other) const; + bool compare(const QPlaceContentPrivate *other) const override; Q_DEFINE_CONTENT_PRIVATE_HELPER(QPlaceImage, QPlaceContent::ImageType) diff --git a/src/location/places/qplacematchreply.h b/src/location/places/qplacematchreply.h index 8e195663..7a3853ee 100644 --- a/src/location/places/qplacematchreply.h +++ b/src/location/places/qplacematchreply.h @@ -50,7 +50,7 @@ public: explicit QPlaceMatchReply(QObject *parent = nullptr); ~QPlaceMatchReply(); - QPlaceReply::Type type() const; + QPlaceReply::Type type() const override; QList<QPlace> places() const; QPlaceMatchRequest request() const; diff --git a/src/location/places/qplacereview_p.h b/src/location/places/qplacereview_p.h index 345aa192..87ca124b 100644 --- a/src/location/places/qplacereview_p.h +++ b/src/location/places/qplacereview_p.h @@ -63,7 +63,7 @@ public: ~QPlaceReviewPrivate(); - bool compare(const QPlaceContentPrivate *other) const; + bool compare(const QPlaceContentPrivate *other) const override; Q_DEFINE_CONTENT_PRIVATE_HELPER(QPlaceReview, QPlaceContent::ReviewType); diff --git a/src/location/places/qplacesearchreply.h b/src/location/places/qplacesearchreply.h index 3562aede..ef4e1adb 100644 --- a/src/location/places/qplacesearchreply.h +++ b/src/location/places/qplacesearchreply.h @@ -52,7 +52,7 @@ public: explicit QPlaceSearchReply(QObject *parent = nullptr); ~QPlaceSearchReply(); - QPlaceReply::Type type() const; + QPlaceReply::Type type() const override; QList<QPlaceSearchResult> results() const; QPlaceSearchRequest request() const; diff --git a/src/location/places/qplacesearchsuggestionreply.h b/src/location/places/qplacesearchsuggestionreply.h index 49088874..7f5e1ef3 100644 --- a/src/location/places/qplacesearchsuggestionreply.h +++ b/src/location/places/qplacesearchsuggestionreply.h @@ -53,7 +53,7 @@ public: ~QPlaceSearchSuggestionReply(); QStringList suggestions() const; - Type type() const; + Type type() const override; protected: void setSuggestions(const QStringList &suggestions); |