summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <dvratil@kde.org>2016-10-22 23:39:05 (GMT)
committerDaniel Vrátil <dvratil@kde.org>2016-10-22 23:39:11 (GMT)
commitdc5c511f567d5b41d10fb6ea900bdb10c533937e (patch)
tree26889728b4254abf84f52d6caff86a459225dd73
parentc4df9ce8c50f35b9ad9d5d66709c8a6c2d00a3e0 (diff)
Supress -Woverload-virtual warnings due to ResourceBase::retrieveItems()
-rw-r--r--resources/birthdays/birthdaysresource.h3
-rw-r--r--resources/contacts/contactsresource.h3
-rw-r--r--resources/dav/resource/davgroupwareresource.h3
-rw-r--r--resources/google/calendar/calendarresource.h3
-rw-r--r--resources/google/contacts/contactsresource.h3
-rw-r--r--resources/ical/shared/icalresourcebase.h3
-rw-r--r--resources/icaldir/icaldirresource.h3
-rw-r--r--resources/imap/imapresourcebase.h3
-rw-r--r--resources/kalarm/kalarmdir/kalarmdirresource.h3
-rw-r--r--resources/openxchange/openxchangeresource.h3
-rw-r--r--resources/pop3/pop3resource.h3
-rw-r--r--resources/tomboynotes/tomboynotesresource.h3
-rw-r--r--resources/vcard/vcardresource.h3
-rw-r--r--resources/vcarddir/vcarddirresource.h3
14 files changed, 42 insertions, 0 deletions
diff --git a/resources/birthdays/birthdaysresource.h b/resources/birthdays/birthdaysresource.h
index d476b1e..9f39fb9 100644
--- a/resources/birthdays/birthdaysresource.h
+++ b/resources/birthdays/birthdaysresource.h
@@ -41,6 +41,9 @@ public Q_SLOTS:
void configure(WId windowId) Q_DECL_OVERRIDE;
protected:
+ using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
+
+protected:
void retrieveCollections() Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &collection) Q_DECL_OVERRIDE;
bool retrieveItem(const Akonadi::Item &item, const QSet<QByteArray> &parts) Q_DECL_OVERRIDE;
diff --git a/resources/contacts/contactsresource.h b/resources/contacts/contactsresource.h
index 9a092fe..cbf4706 100644
--- a/resources/contacts/contactsresource.h
+++ b/resources/contacts/contactsresource.h
@@ -45,6 +45,9 @@ public Q_SLOTS:
void configure(WId windowId) Q_DECL_OVERRIDE;
void aboutToQuit() Q_DECL_OVERRIDE;
+protected:
+ using ResourceBase::retrieveItems; // suppress -Woverload-virtual warnings
+
protected Q_SLOTS:
void retrieveCollections() Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &collection) Q_DECL_OVERRIDE;
diff --git a/resources/dav/resource/davgroupwareresource.h b/resources/dav/resource/davgroupwareresource.h
index acbfe52..69afa2e 100644
--- a/resources/dav/resource/davgroupwareresource.h
+++ b/resources/dav/resource/davgroupwareresource.h
@@ -55,6 +55,9 @@ private Q_SLOTS:
void createInitialCache();
void onCreateInitialCacheReady(KJob *);
+protected:
+ using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
+
protected Q_SLOTS:
void retrieveCollections() Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &collection) Q_DECL_OVERRIDE;
diff --git a/resources/google/calendar/calendarresource.h b/resources/google/calendar/calendarresource.h
index a80fb3f..cf1c3e5 100644
--- a/resources/google/calendar/calendarresource.h
+++ b/resources/google/calendar/calendarresource.h
@@ -43,6 +43,9 @@ protected:
void canHandleFreeBusy(const QString &email) const Q_DECL_OVERRIDE;
void retrieveFreeBusy(const QString &email, const KDateTime &start, const KDateTime &end) Q_DECL_OVERRIDE;
+protected:
+ using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
+
protected Q_SLOTS:
void retrieveCollections() Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &collection) Q_DECL_OVERRIDE;
diff --git a/resources/google/contacts/contactsresource.h b/resources/google/contacts/contactsresource.h
index 25a238b..c032d15 100644
--- a/resources/google/contacts/contactsresource.h
+++ b/resources/google/contacts/contactsresource.h
@@ -40,6 +40,9 @@ public:
~ContactsResource();
+protected:
+ using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
+
protected Q_SLOTS:
void retrieveCollections() Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &collection) Q_DECL_OVERRIDE;
diff --git a/resources/ical/shared/icalresourcebase.h b/resources/ical/shared/icalresourcebase.h
index c33fb98..58f6f66 100644
--- a/resources/ical/shared/icalresourcebase.h
+++ b/resources/ical/shared/icalresourcebase.h
@@ -35,6 +35,9 @@ public:
explicit ICalResourceBase(const QString &id);
~ICalResourceBase();
+protected:
+ using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
+
protected Q_SLOTS:
bool retrieveItem(const Akonadi::Item &item, const QSet<QByteArray> &parts) Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &col) Q_DECL_OVERRIDE;
diff --git a/resources/icaldir/icaldirresource.h b/resources/icaldir/icaldirresource.h
index 7eb9961..a2b85f9 100644
--- a/resources/icaldir/icaldirresource.h
+++ b/resources/icaldir/icaldirresource.h
@@ -39,6 +39,9 @@ public Q_SLOTS:
void configure(WId windowId) Q_DECL_OVERRIDE;
void aboutToQuit() Q_DECL_OVERRIDE;
+protected:
+ using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
+
protected Q_SLOTS:
void retrieveCollections() Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &col) Q_DECL_OVERRIDE;
diff --git a/resources/imap/imapresourcebase.h b/resources/imap/imapresourcebase.h
index 4537fdf..8d55081 100644
--- a/resources/imap/imapresourcebase.h
+++ b/resources/imap/imapresourcebase.h
@@ -77,6 +77,9 @@ public Q_SLOTS:
// pseudo-virtual called by ResourceBase
QString dumpResourceToString() const Q_DECL_OVERRIDE;
+protected:
+ using ResourceBase::retrieveItems; // supress -Woverload-virtual
+
protected Q_SLOTS:
void startIdleIfNeeded();
void startIdle();
diff --git a/resources/kalarm/kalarmdir/kalarmdirresource.h b/resources/kalarm/kalarmdir/kalarmdirresource.h
index 33aba01..3458195 100644
--- a/resources/kalarm/kalarmdir/kalarmdirresource.h
+++ b/resources/kalarm/kalarmdir/kalarmdirresource.h
@@ -44,6 +44,9 @@ public Q_SLOTS:
void configure(WId windowId) Q_DECL_OVERRIDE;
void aboutToQuit() Q_DECL_OVERRIDE;
+protected:
+ using ResourceBase::retrieveItems; // suppress -Woverload-virtual warnings
+
protected Q_SLOTS:
void retrieveCollections() Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &) Q_DECL_OVERRIDE;
diff --git a/resources/openxchange/openxchangeresource.h b/resources/openxchange/openxchangeresource.h
index a25d44f..80814df 100644
--- a/resources/openxchange/openxchangeresource.h
+++ b/resources/openxchange/openxchangeresource.h
@@ -36,6 +36,9 @@ public Q_SLOTS:
void configure(WId windowId) Q_DECL_OVERRIDE;
void aboutToQuit() Q_DECL_OVERRIDE;
+protected:
+ using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
+
protected Q_SLOTS:
void retrieveCollections() Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &collection) Q_DECL_OVERRIDE;
diff --git a/resources/pop3/pop3resource.h b/resources/pop3/pop3resource.h
index 0558b82..406d7fd 100644
--- a/resources/pop3/pop3resource.h
+++ b/resources/pop3/pop3resource.h
@@ -54,6 +54,9 @@ public:
public Q_SLOTS:
void configure(WId windowId) Q_DECL_OVERRIDE;
+protected:
+ using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
+
protected Q_SLOTS:
void retrieveCollections() Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &col) Q_DECL_OVERRIDE;
diff --git a/resources/tomboynotes/tomboynotesresource.h b/resources/tomboynotes/tomboynotesresource.h
index 89af5bf..f7017af 100644
--- a/resources/tomboynotes/tomboynotesresource.h
+++ b/resources/tomboynotes/tomboynotesresource.h
@@ -35,6 +35,9 @@ public:
public Q_SLOTS:
void configure(WId windowId) Q_DECL_OVERRIDE;
+protected:
+ using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
+
protected Q_SLOTS:
// Standard akonadi slots
void retrieveCollections() Q_DECL_OVERRIDE;
diff --git a/resources/vcard/vcardresource.h b/resources/vcard/vcardresource.h
index a85cf1d..e483c29 100644
--- a/resources/vcard/vcardresource.h
+++ b/resources/vcard/vcardresource.h
@@ -34,6 +34,9 @@ public:
explicit VCardResource(const QString &id);
~VCardResource();
+protected:
+ using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
+
protected Q_SLOTS:
bool retrieveItem(const Akonadi::Item &item, const QSet<QByteArray> &parts) Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &col) Q_DECL_OVERRIDE;
diff --git a/resources/vcarddir/vcarddirresource.h b/resources/vcarddir/vcarddirresource.h
index 95657c1..1202db9 100644
--- a/resources/vcarddir/vcarddirresource.h
+++ b/resources/vcarddir/vcarddirresource.h
@@ -37,6 +37,9 @@ public Q_SLOTS:
void configure(WId windowId) Q_DECL_OVERRIDE;
void aboutToQuit() Q_DECL_OVERRIDE;
+protected:
+ using ResourceBase::retrieveItems; // Suppress -Woverload-virtual
+
protected Q_SLOTS:
void retrieveCollections() Q_DECL_OVERRIDE;
void retrieveItems(const Akonadi::Collection &col) Q_DECL_OVERRIDE;