[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [akonadi-calendar] /: Use Q_DECL_OVERRIDE
From:       Sergio Martins <iamsergio () gmail ! com>
Date:       2015-07-31 23:22:48
Message-ID: E1ZLJdY-0004NY-My () scm ! kde ! org
[Download RAW message or body]

Git commit 08e4d47daf664e7225df928bd41fef4d625dc3c8 by Sergio Martins.
Committed on 31/07/2015 at 23:21.
Pushed by smartins into branch 'master'.

Use Q_DECL_OVERRIDE

M  +3    -3    autotests/etmcalendartest.h
M  +1    -1    src/etmcalendar_p.h
M  +1    -1    src/freebusymanager_p.h

http://commits.kde.org/akonadi-calendar/08e4d47daf664e7225df928bd41fef4d625dc3c8

diff --git a/autotests/etmcalendartest.h b/autotests/etmcalendartest.h
index cb70f3d..90f8f3a 100644
--- a/autotests/etmcalendartest.h
+++ b/autotests/etmcalendartest.h
@@ -54,9 +54,9 @@ private Q_SLOTS:
     void testFilterInvitationsChanged();
 
 public Q_SLOTS:
-    void calendarIncidenceAdded(const KCalCore::Incidence::Ptr &incidence);   /**Q_DECL_OVERRIDE*/
-    void calendarIncidenceChanged(const KCalCore::Incidence::Ptr &incidence); /**Q_DECL_OVERRIDE*/
-    void calendarIncidenceDeleted(const KCalCore::Incidence::Ptr &incidence); /**Q_DECL_OVERRIDE*/
+    void calendarIncidenceAdded(const KCalCore::Incidence::Ptr &incidence) Q_DECL_OVERRIDE;
+    void calendarIncidenceChanged(const KCalCore::Incidence::Ptr &incidence) Q_DECL_OVERRIDE;
+    void calendarIncidenceDeleted(const KCalCore::Incidence::Ptr &incidence) Q_DECL_OVERRIDE;
     void handleCollectionsAdded(const Akonadi::Collection::List &collectionList);
 
 private:
diff --git a/src/etmcalendar_p.h b/src/etmcalendar_p.h
index 9cf3744..b321373 100644
--- a/src/etmcalendar_p.h
+++ b/src/etmcalendar_p.h
@@ -70,7 +70,7 @@ public:
     {
     }
 
-    QVariant data(const QModelIndex &index, int role) const
+    QVariant data(const QModelIndex &index, int role) const Q_DECL_OVERRIDE
     {
         if (role == Qt::CheckStateRole) {
             // Don't show the checkbox if the collection can't contain incidences
diff --git a/src/freebusymanager_p.h b/src/freebusymanager_p.h
index 5087f61..7bb69b5 100644
--- a/src/freebusymanager_p.h
+++ b/src/freebusymanager_p.h
@@ -133,7 +133,7 @@ class FbCheckerJob : public KJob
     Q_OBJECT
 public:
     explicit FbCheckerJob(const QList<QUrl> &urlsToCheck, QObject *parent = Q_NULLPTR);
-    virtual void start();
+    void start() Q_DECL_OVERRIDE;
 
     QUrl validUrl() const;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic