Commit e750efae authored by Laurent Montel's avatar Laurent Montel 😁

Use override

parent b616b03f
......@@ -46,7 +46,7 @@ class Index : public QObject
Q_OBJECT
public:
explicit Index(QObject *parent = nullptr);
virtual ~Index();
~Index() override;
virtual void removeDatabase();
virtual bool createIndexers();
......
......@@ -42,7 +42,7 @@ class AKONADI_SEARCH_CORE_EXPORT SearchStore : public QObject
Q_OBJECT
public:
explicit SearchStore(QObject *parent = nullptr);
virtual ~SearchStore();
~SearchStore() override;
/**
* Override search stores for testing
......
......@@ -41,7 +41,7 @@ class AKONADI_SEARCH_PIM_EXPORT CollectionQuery : public Query
{
public:
CollectionQuery();
virtual ~CollectionQuery();
~CollectionQuery() override;
void setNamespace(const QStringList &ns);
void setMimetype(const QStringList &mt);
......
......@@ -40,7 +40,7 @@ class AKONADI_SEARCH_PIM_EXPORT EmailQuery : public Query
{
public:
EmailQuery();
virtual ~EmailQuery();
~EmailQuery() override;
enum OpType {
OpAnd = 0,
......
......@@ -28,7 +28,7 @@ class PIMContactsRunner : public Plasma::AbstractRunner
public:
explicit PIMContactsRunner(QObject *parent, const QVariantList &args);
virtual ~PIMContactsRunner();
~PIMContactsRunner() override;
void reloadConfiguration() override;
......
......@@ -42,7 +42,7 @@ class AKONADI_SEARCH_XAPIAN_EXPORT XapianSearchStore : public SearchStore
Q_OBJECT
public:
explicit XapianSearchStore(QObject *parent = nullptr);
virtual ~XapianSearchStore();
~XapianSearchStore() override;
int exec(const Query &query) override;
void close(int queryId) override;
......
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