aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2018-03-19 07:09:02 +0100
committerLaurent Montel <[email protected]>2018-03-19 07:09:15 +0100
commit801e8e45ebd9ae86bbcf1a3fb2e161c5e49259e0 (patch)
tree171238829bfa0d2b944123515ac549437152f278
parent310b6a26f58814568245c781c2136504d1a6f338 (diff)
Add missing override
-rw-r--r--autotests/libs/fakeakonadiservercommand.h26
-rw-r--r--autotests/libs/testresource/knutresource.h2
-rw-r--r--autotests/server/fakeakonadiserver.h2
-rw-r--r--autotests/server/fakeclient.h2
-rw-r--r--src/agentbase/resourcebase.h4
-rw-r--r--src/akonadicontrol/agentprocessinstance.h2
-rw-r--r--src/akonadicontrol/agentthreadinstance.h2
-rw-r--r--src/core/entitydisplayattribute.h2
-rw-r--r--src/core/jobs/itemdeletejob.h2
-rw-r--r--src/server/cachecleaner.h2
-rw-r--r--src/server/intervalcheck.h2
-rw-r--r--src/server/search/searchmanager.h2
-rw-r--r--src/server/storage/collectiontreecache.h2
-rw-r--r--src/server/storage/itemretrievalmanager.h2
-rw-r--r--src/server/storagejanitor.h2
-rw-r--r--src/widgets/agenttypedialog.h2
-rw-r--r--src/widgets/collectionrequester.h2
-rw-r--r--src/widgets/erroroverlay_p.h2
-rw-r--r--src/widgets/manageaccountwidget.h2
19 files changed, 32 insertions, 32 deletions
diff --git a/autotests/libs/fakeakonadiservercommand.h b/autotests/libs/fakeakonadiservercommand.h
index 7ba5d4b..17f06e3 100644
--- a/autotests/libs/fakeakonadiservercommand.h
+++ b/autotests/libs/fakeakonadiservercommand.h
@@ -129,7 +129,7 @@ public:
{
}
- virtual ~FakeCollectionMovedCommand()
+ ~FakeCollectionMovedCommand() override
{
}
@@ -152,7 +152,7 @@ public:
{
}
- virtual ~FakeCollectionAddedCommand()
+ ~FakeCollectionAddedCommand() override
{
}
@@ -174,7 +174,7 @@ public:
{
}
- virtual ~FakeCollectionRemovedCommand()
+ ~FakeCollectionRemovedCommand() override
{
}
@@ -202,7 +202,7 @@ public:
{
}
- virtual ~FakeCollectionChangedCommand()
+ ~FakeCollectionChangedCommand() override
{
}
@@ -226,7 +226,7 @@ public:
{
}
- virtual ~FakeItemMovedCommand()
+ ~FakeItemMovedCommand() override
{
}
@@ -249,7 +249,7 @@ public:
{
}
- virtual ~FakeItemAddedCommand()
+ ~FakeItemAddedCommand() override
{
}
@@ -271,7 +271,7 @@ public:
{
}
- virtual ~FakeItemRemovedCommand()
+ ~FakeItemRemovedCommand() override
{
}
@@ -294,7 +294,7 @@ public:
{
}
- virtual ~FakeItemChangedCommand()
+ ~FakeItemChangedCommand() override
{
}
@@ -316,7 +316,7 @@ public:
{
}
- virtual ~FakeTagAddedCommand()
+ ~FakeTagAddedCommand() override
{
}
@@ -338,7 +338,7 @@ public:
{
}
- virtual ~FakeTagChangedCommand()
+ ~FakeTagChangedCommand() override
{
}
@@ -361,7 +361,7 @@ public:
{
}
- virtual ~FakeTagMovedCommand()
+ ~FakeTagMovedCommand() override
{
}
@@ -384,7 +384,7 @@ public:
{
}
- virtual ~FakeTagRemovedCommand()
+ ~FakeTagRemovedCommand() override
{
}
@@ -419,7 +419,7 @@ public:
m_parentTag = parentTag;
}
- virtual ~FakeJobResponse()
+ ~FakeJobResponse() override
{
}
diff --git a/autotests/libs/testresource/knutresource.h b/autotests/libs/testresource/knutresource.h
index 847f6f0..3613d60 100644
--- a/autotests/libs/testresource/knutresource.h
+++ b/autotests/libs/testresource/knutresource.h
@@ -42,7 +42,7 @@ class KnutResource : public Akonadi::ResourceBase,
public:
using Akonadi::AgentBase::ObserverV2::collectionChanged; // So we don't trigger -Woverloaded-virtual
explicit KnutResource(const QString &id);
- ~KnutResource();
+ ~KnutResource() override;
public Q_SLOTS:
void configure(WId windowId) override;
diff --git a/autotests/server/fakeakonadiserver.h b/autotests/server/fakeakonadiserver.h
index 0b2cdbe..a27b34a 100644
--- a/autotests/server/fakeakonadiserver.h
+++ b/autotests/server/fakeakonadiserver.h
@@ -84,7 +84,7 @@ class FakeAkonadiServer : public AkonadiServer
public:
static FakeAkonadiServer *instance();
- ~FakeAkonadiServer();
+ ~FakeAkonadiServer() override;
/* Reimpl */
bool init() override;
diff --git a/autotests/server/fakeclient.h b/autotests/server/fakeclient.h
index f41142f..ba5de4b 100644
--- a/autotests/server/fakeclient.h
+++ b/autotests/server/fakeclient.h
@@ -37,7 +37,7 @@ class FakeClient : public QThread
public:
explicit FakeClient(QObject *parent = nullptr);
- ~FakeClient();
+ ~FakeClient() override;
void setScenarios(const TestScenario::List &scenarios);
diff --git a/src/agentbase/resourcebase.h b/src/agentbase/resourcebase.h
index 403f5af..460bb57 100644
--- a/src/agentbase/resourcebase.h
+++ b/src/agentbase/resourcebase.h
@@ -397,7 +397,7 @@ protected:
/**
* Destroys the base resource.
*/
- ~ResourceBase();
+ ~ResourceBase() override;
/**
* Call this method from retrieveItem() once the result is available.
@@ -592,7 +592,7 @@ protected:
*
* @param mode Item merging mode (see ItemCreateJob for details on item merging)
* @see Akonadi::ItemSync::MergeMode
- * @ince 4.14.11
+ * @since 4.14.11
*/
void setItemMergingMode(ItemSync::MergeMode mode);
diff --git a/src/akonadicontrol/agentprocessinstance.h b/src/akonadicontrol/agentprocessinstance.h
index ab1811f..ebc22fe 100644
--- a/src/akonadicontrol/agentprocessinstance.h
+++ b/src/akonadicontrol/agentprocessinstance.h
@@ -34,7 +34,7 @@ class AgentProcessInstance : public AgentInstance
public:
explicit AgentProcessInstance(AgentManager *manager);
- virtual ~AgentProcessInstance() {}
+ ~AgentProcessInstance() override {}
bool start(const AgentType &agentInfo) override;
void quit() override;
void cleanup() override;
diff --git a/src/akonadicontrol/agentthreadinstance.h b/src/akonadicontrol/agentthreadinstance.h
index f180c89..6df9c35 100644
--- a/src/akonadicontrol/agentthreadinstance.h
+++ b/src/akonadicontrol/agentthreadinstance.h
@@ -30,7 +30,7 @@ class AgentThreadInstance : public AgentInstance
Q_OBJECT
public:
explicit AgentThreadInstance(AgentManager *manager);
- virtual ~AgentThreadInstance() {}
+ ~AgentThreadInstance() override {}
bool start(const AgentType &agentInfo) override;
void quit() override;
diff --git a/src/core/entitydisplayattribute.h b/src/core/entitydisplayattribute.h
index f05ac0d..972f3a7 100644
--- a/src/core/entitydisplayattribute.h
+++ b/src/core/entitydisplayattribute.h
@@ -48,7 +48,7 @@ public:
/**
* Destroys the entity display attribute.
*/
- ~EntityDisplayAttribute();
+ ~EntityDisplayAttribute() override;
/**
* Sets the @p name that should be used for display.
diff --git a/src/core/jobs/itemdeletejob.h b/src/core/jobs/itemdeletejob.h
index 6eff0a4..810bef5 100644
--- a/src/core/jobs/itemdeletejob.h
+++ b/src/core/jobs/itemdeletejob.h
@@ -128,7 +128,7 @@ public:
/**
* Destroys the item delete job.
*/
- ~ItemDeleteJob();
+ ~ItemDeleteJob() override;
/**
* Returns the items passed on in the constructor.
diff --git a/src/server/cachecleaner.h b/src/server/cachecleaner.h
index f6a116f..fd3ebfe 100644
--- a/src/server/cachecleaner.h
+++ b/src/server/cachecleaner.h
@@ -70,7 +70,7 @@ public:
@param parent The parent object.
*/
explicit CacheCleaner(QObject *parent = nullptr);
- ~CacheCleaner();
+ ~CacheCleaner() override;
protected:
void collectionExpired(const Collection &collection) override;
diff --git a/src/server/intervalcheck.h b/src/server/intervalcheck.h
index 5734a60..338a59e 100644
--- a/src/server/intervalcheck.h
+++ b/src/server/intervalcheck.h
@@ -39,7 +39,7 @@ class IntervalCheck : public CollectionScheduler
public:
explicit IntervalCheck(QObject *parent = nullptr);
- ~IntervalCheck();
+ ~IntervalCheck() override;
/**
* Requests the given collection to be synced.
diff --git a/src/server/search/searchmanager.h b/src/server/search/searchmanager.h
index 08b1e4c..6752f10 100644
--- a/src/server/search/searchmanager.h
+++ b/src/server/search/searchmanager.h
@@ -54,7 +54,7 @@ public:
/** Create a new search manager with the given @p searchEngines. */
explicit SearchManager(const QStringList &searchEngines, QObject *parent = nullptr);
- ~SearchManager();
+ ~SearchManager() override;
/**
* Returns a global instance of the search manager.
diff --git a/src/server/storage/collectiontreecache.h b/src/server/storage/collectiontreecache.h
index 674be42..e37680e 100644
--- a/src/server/storage/collectiontreecache.h
+++ b/src/server/storage/collectiontreecache.h
@@ -65,7 +65,7 @@ protected:
public:
explicit CollectionTreeCache();
- ~CollectionTreeCache();
+ ~CollectionTreeCache() override;
QVector<Collection> retrieveCollections(const Scope &scope,
int depth, int ancestorDepth,
diff --git a/src/server/storage/itemretrievalmanager.h b/src/server/storage/itemretrievalmanager.h
index 1c34f16..685357f 100644
--- a/src/server/storage/itemretrievalmanager.h
+++ b/src/server/storage/itemretrievalmanager.h
@@ -56,7 +56,7 @@ class ItemRetrievalManager : public AkThread
public:
explicit ItemRetrievalManager(QObject *parent = nullptr);
explicit ItemRetrievalManager(AbstractItemRetrievalJobFactory *factory, QObject *parent = nullptr);
- ~ItemRetrievalManager();
+ ~ItemRetrievalManager() override;
/**
* Added for convenience. ItemRetrievalManager takes ownership over the
diff --git a/src/server/storagejanitor.h b/src/server/storagejanitor.h
index a0eed36..250c46b 100644
--- a/src/server/storagejanitor.h
+++ b/src/server/storagejanitor.h
@@ -41,7 +41,7 @@ class StorageJanitor : public AkThread
public:
explicit StorageJanitor(QObject *parent = nullptr);
- ~StorageJanitor();
+ ~StorageJanitor() override;
public Q_SLOTS:
/** Triggers a consistency check of the internal storage. */
diff --git a/src/widgets/agenttypedialog.h b/src/widgets/agenttypedialog.h
index 01744df..99af198 100644
--- a/src/widgets/agenttypedialog.h
+++ b/src/widgets/agenttypedialog.h
@@ -66,7 +66,7 @@ public:
/**
* Destroys the agent type dialog.
*/
- ~AgentTypeDialog();
+ ~AgentTypeDialog() override;
/**
* Returns the agent type that was selected by the user,
diff --git a/src/widgets/collectionrequester.h b/src/widgets/collectionrequester.h
index 439f8f5..c167deb 100644
--- a/src/widgets/collectionrequester.h
+++ b/src/widgets/collectionrequester.h
@@ -79,7 +79,7 @@ public:
/**
* Destroys the collection requester.
*/
- ~CollectionRequester();
+ ~CollectionRequester() override;
/**
* Returns the currently chosen collection, or an empty collection if none
diff --git a/src/widgets/erroroverlay_p.h b/src/widgets/erroroverlay_p.h
index 35e6ccd..6e39ad0 100644
--- a/src/widgets/erroroverlay_p.h
+++ b/src/widgets/erroroverlay_p.h
@@ -50,7 +50,7 @@ public:
* @p parent must not be equal to @p baseWidget
*/
explicit ErrorOverlay(QWidget *baseWidget, QWidget *parent = nullptr);
- ~ErrorOverlay();
+ ~ErrorOverlay() override;
protected:
bool eventFilter(QObject *object, QEvent *event) override;
diff --git a/src/widgets/manageaccountwidget.h b/src/widgets/manageaccountwidget.h
index dde4238..e1a3ca9 100644
--- a/src/widgets/manageaccountwidget.h
+++ b/src/widgets/manageaccountwidget.h
@@ -41,7 +41,7 @@ class AKONADIWIDGETS_EXPORT ManageAccountWidget : public QWidget
Q_OBJECT
public:
explicit ManageAccountWidget(QWidget *parent);
- ~ManageAccountWidget();
+ ~ManageAccountWidget() override;
/**
* Sets the text of the label above the list of accounts.