From 46050cd59a7af8cc7d616fab1a80db95dc8b5b35 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 25 May 2016 20:37:36 +0900 Subject: Use 'override' keyword throughout job classes; constify apiPath(), query(), data() Thanks to CLang model. --- jobs/postmessagejob.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'jobs/postmessagejob.h') diff --git a/jobs/postmessagejob.h b/jobs/postmessagejob.h index 7f40534e..1917ef25 100644 --- a/jobs/postmessagejob.h +++ b/jobs/postmessagejob.h @@ -34,9 +34,9 @@ namespace QMatrixClient //bool success(); protected: - QString apiPath(); - QJsonObject data(); - void parseJson(const QJsonDocument& data); + QString apiPath() const override; + QJsonObject data() const override; + void parseJson(const QJsonDocument& data) override; private: class Private; @@ -44,4 +44,4 @@ namespace QMatrixClient }; } -#endif // QMATRIXCLIENT_POSTMESSAGEJOB_H \ No newline at end of file +#endif // QMATRIXCLIENT_POSTMESSAGEJOB_H -- cgit v1.2.3