Commit 801e8e45 authored by Laurent Montel's avatar Laurent Montel 😁

Add missing override

parent 310b6a26
......@@ -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
{
}
......
......@@ -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;
......
......@@ -84,7 +84,7 @@ class FakeAkonadiServer : public AkonadiServer
public:
static FakeAkonadiServer *instance();
~FakeAkonadiServer();
~FakeAkonadiServer() override;
/* Reimpl */
bool init() override;
......
......@@ -37,7 +37,7 @@ class FakeClient : public QThread
public:
explicit FakeClient(QObject *parent = nullptr);
~FakeClient();
~FakeClient() override;
void setScenarios(const TestScenario::List &scenarios);
......
......@@ -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);
......
......@@ -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;
......
......@@ -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;
......
......@@ -48,7 +48,7 @@ public:
/**
* Destroys the entity display attribute.
*/
~EntityDisplayAttribute();
~EntityDisplayAttribute() override;
/**
* Sets the @p name that should be used for display.
......
......@@ -128,7 +128,7 @@ public:
/**
* Destroys the item delete job.
*/
~ItemDeleteJob();
~ItemDeleteJob() override;
/**
* Returns the items passed on in the constructor.
......
......@@ -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;
......
......@@ -39,7 +39,7 @@ class IntervalCheck : public CollectionScheduler
public:
explicit IntervalCheck(QObject *parent = nullptr);
~IntervalCheck();
~IntervalCheck() override;
/**
* Requests the given collection to be synced.
......
......@@ -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.
......
......@@ -65,7 +65,7 @@ protected:
public:
explicit CollectionTreeCache();
~CollectionTreeCache();
~CollectionTreeCache() override;
QVector<Collection> retrieveCollections(const Scope &scope,
int depth, int ancestorDepth,
......
......@@ -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
......
......@@ -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. */
......
......@@ -66,7 +66,7 @@ public:
/**
* Destroys the agent type dialog.
*/
~AgentTypeDialog();
~AgentTypeDialog() override;
/**
* Returns the agent type that was selected by the user,
......
......@@ -79,7 +79,7 @@ public:
/**
* Destroys the collection requester.
*/
~CollectionRequester();
~CollectionRequester() override;
/**
* Returns the currently chosen collection, or an empty collection if none
......
......@@ -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;
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment