Commit 82ebb14b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override on destructor

parent a7d6e699
Pipeline #43302 skipped
......@@ -14,7 +14,7 @@ class ExportAddressbookJobInterfaceTestImpl : public ExportAddressbookJobInterfa
Q_OBJECT
public:
explicit ExportAddressbookJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ExportAddressbookJobInterfaceTestImpl();
~ExportAddressbookJobInterfaceTestImpl() override;
protected:
void convertCollectionToRealPath(KConfigGroup &group, const QString &currentKey) override;
......
......@@ -17,7 +17,7 @@ class ImportAddressbookJobInterfaceTestImpl : public ImportAddressbookJobInterfa
Q_OBJECT
public:
explicit ImportAddressbookJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ImportAddressbookJobInterfaceTestImpl();
~ImportAddressbookJobInterfaceTestImpl() override;
protected:
Q_REQUIRED_RESULT Akonadi::Collection::Id convertFolderPathToCollectionId(const QString &path) override;
......
......@@ -14,7 +14,7 @@ class ExportAkregatorJobInterfaceTestImpl : public ExportAkregatorJobInterface
Q_OBJECT
public:
explicit ExportAkregatorJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ExportAkregatorJobInterfaceTestImpl();
~ExportAkregatorJobInterfaceTestImpl() override;
protected:
Q_REQUIRED_RESULT QString adaptNewResourceUrl(bool overwriteResources, const KSharedConfig::Ptr &resourceConfig, const QString &storePath) override;
Q_REQUIRED_RESULT QString createResource(const QString &resources, const QString &name, const QMap<QString, QVariant> &settings, bool synchronizeTree) override;
......
......@@ -14,7 +14,7 @@ class ImportAkregatorJobInterfaceTestImpl : public ImportAkregatorJobInterface
Q_OBJECT
public:
explicit ImportAkregatorJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ImportAkregatorJobInterfaceTestImpl();
~ImportAkregatorJobInterfaceTestImpl() override;
protected:
Q_REQUIRED_RESULT Akonadi::Collection::Id convertFolderPathToCollectionId(const QString &path) override;
......
......@@ -15,7 +15,7 @@ class ExportAlarmJobInterfaceTestImpl : public ExportAlarmJobInterface, public E
Q_OBJECT
public:
explicit ExportAlarmJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ExportAlarmJobInterfaceTestImpl();
~ExportAlarmJobInterfaceTestImpl() override;
protected:
Q_REQUIRED_RESULT Akonadi::Collection::Id convertFolderPathToCollectionId(const QString &path) override;
void exportResourceToArchive(const QString &archivePath, const QString &url, const QString &identifier) override;
......
......@@ -16,7 +16,7 @@ class ImportAlarmJobInterfaceTestImpl : public ImportAlarmJobInterface, public E
Q_OBJECT
public:
explicit ImportAlarmJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ImportAlarmJobInterfaceTestImpl();
~ImportAlarmJobInterfaceTestImpl() override;
void setExistingPathConfig(const QString &path);
protected:
......
......@@ -14,7 +14,7 @@ class ExportCalendarsJobInterfaceTestImpl : public ExportCalendarJobInterface, p
Q_OBJECT
public:
explicit ExportCalendarsJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ExportCalendarsJobInterfaceTestImpl();
~ExportCalendarsJobInterfaceTestImpl() override;
protected:
Q_REQUIRED_RESULT Akonadi::Collection::Id convertFolderPathToCollectionId(const QString &path) override;
......
......@@ -16,7 +16,7 @@ class ImportCalendarJobInterfaceTestImpl : public ImportCalendarJobInterface, pu
Q_OBJECT
public:
explicit ImportCalendarJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ImportCalendarJobInterfaceTestImpl();
~ImportCalendarJobInterfaceTestImpl() override;
void setExistingPathConfig(const QString &path);
protected:
......
......@@ -16,7 +16,7 @@ class ExportMailJobInterfaceTestImpl : public ExportMailJobInterface, public Exp
Q_OBJECT
public:
explicit ExportMailJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ExportMailJobInterfaceTestImpl();
~ExportMailJobInterfaceTestImpl() override;
protected:
void convertCollectionToRealPath(KConfigGroup &group, const QString &currentKey) override;
......
......@@ -16,7 +16,7 @@ class ImportMailJobInterfaceTestImpl : public ImportMailJobInterface, public Exp
Q_OBJECT
public:
explicit ImportMailJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ImportMailJobInterfaceTestImpl();
~ImportMailJobInterfaceTestImpl() override;
void start() override;
void setExistingPathConfig(const QString &path);
......
......@@ -18,7 +18,7 @@ class ExportNotesJobInterfaceTestImpl : public ExportNotesJobInterface, public E
Q_OBJECT
public:
explicit ExportNotesJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ExportNotesJobInterfaceTestImpl();
~ExportNotesJobInterfaceTestImpl() override;
protected:
void convertCollectionIdsToRealPath(KConfigGroup &selectFolderNoteGroup, const QString &selectFolderNoteGroupStr) override;
......
......@@ -16,7 +16,7 @@ class ImportNotesJobInterfaceTestImpl : public ImportNotesJobInterface, public E
Q_OBJECT
public:
explicit ImportNotesJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
~ImportNotesJobInterfaceTestImpl();
~ImportNotesJobInterfaceTestImpl() override;
void setExistingPathConfig(const QString &path);
protected:
......
......@@ -14,7 +14,7 @@ class TestBackupResourceFileJob : public BackupResourceFileJobBase
Q_OBJECT
public:
explicit TestBackupResourceFileJob(QObject *parent = nullptr);
~TestBackupResourceFileJob();
~TestBackupResourceFileJob() override;
Q_REQUIRED_RESULT QString resourcePath(const QString &identifier) const override;
void setTestPath(const QString &str);
......
......@@ -15,7 +15,7 @@ class PIMDATAEXPORTER_EXPORT BackupResourceFileJobImpl : public BackupResourceFi
Q_OBJECT
public:
explicit BackupResourceFileJobImpl(QObject *parent = nullptr);
~BackupResourceFileJobImpl();
~BackupResourceFileJobImpl() override;
Q_REQUIRED_RESULT QString resourcePath(const QString &identifier) const 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