Commit a4e17aed authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use default destructor

parent f98c4711
......@@ -130,8 +130,7 @@ AddArchiveMailDialog::AddArchiveMailDialog(ArchiveMailInfo *info, QWidget *paren
}
AddArchiveMailDialog::~AddArchiveMailDialog()
{
}
= default;
void AddArchiveMailDialog::load(ArchiveMailInfo *info)
{
......
......@@ -63,8 +63,7 @@ ArchiveMailAgent::ArchiveMailAgent(const QString &id)
}
ArchiveMailAgent::~ArchiveMailAgent()
{
}
= default;
void ArchiveMailAgent::setEnableAgent(bool enabled)
{
......
......@@ -10,8 +10,7 @@
#include <QDir>
ArchiveMailInfo::ArchiveMailInfo()
{
}
= default;
ArchiveMailInfo::ArchiveMailInfo(const KConfigGroup &config)
{
......@@ -32,8 +31,7 @@ ArchiveMailInfo::ArchiveMailInfo(const ArchiveMailInfo &info)
}
ArchiveMailInfo::~ArchiveMailInfo()
{
}
= default;
ArchiveMailInfo &ArchiveMailInfo::operator=(const ArchiveMailInfo &old)
{
......
......@@ -101,8 +101,7 @@ ArchiveMailWidget::ArchiveMailWidget(const KSharedConfigPtr &config, QWidget *pa
}
ArchiveMailWidget::~ArchiveMailWidget()
{
}
= default;
void ArchiveMailWidget::slotCustomContextMenuRequested(const QPoint &)
{
......
......@@ -19,8 +19,7 @@ ArchiveMailInfoTest::ArchiveMailInfoTest(QObject *parent)
}
ArchiveMailInfoTest::~ArchiveMailInfoTest()
{
}
= default;
void ArchiveMailInfoTest::shouldHaveDefaultValue()
{
......
......@@ -18,8 +18,7 @@ ArchiveMailWidgetTest::ArchiveMailWidgetTest(QObject *parent)
}
ArchiveMailWidgetTest::~ArchiveMailWidgetTest()
{
}
= default;
void ArchiveMailWidgetTest::shouldHaveDefaultValue()
{
......
......@@ -14,8 +14,7 @@ FormatComboBoxTest::FormatComboBoxTest(QObject *parent)
}
FormatComboBoxTest::~FormatComboBoxTest()
{
}
= default;
void FormatComboBoxTest::shouldHaveDefaultValue()
{
......
......@@ -14,8 +14,7 @@ UnitComboBoxTest::UnitComboBoxTest(QObject *parent)
}
UnitComboBoxTest::~UnitComboBoxTest()
{
}
= default;
void UnitComboBoxTest::shouldHaveDefaultValue()
{
......
......@@ -44,8 +44,7 @@ public:
}
~ScheduledArchiveTask()
{
}
= default;
MailCommon::ScheduledJob *run() override;
......
......@@ -19,8 +19,7 @@ FormatComboBox::FormatComboBox(QWidget *parent)
}
FormatComboBox::~FormatComboBox()
{
}
= default;
void FormatComboBox::setFormat(MailCommon::BackupJob::ArchiveType type)
{
......
......@@ -17,8 +17,7 @@ UnitComboBox::UnitComboBox(QWidget *parent)
}
UnitComboBox::~UnitComboBox()
{
}
= default;
void UnitComboBox::setUnit(ArchiveMailInfo::ArchiveUnit unit)
{
......
......@@ -16,8 +16,7 @@ FollowUpReminderConfigTest::FollowUpReminderConfigTest(QObject *parent)
}
FollowUpReminderConfigTest::~FollowUpReminderConfigTest()
{
}
= default;
void FollowUpReminderConfigTest::init()
{
......
......@@ -19,8 +19,7 @@ FollowupReminderNoAnswerDialogTest::FollowupReminderNoAnswerDialogTest(QObject *
}
FollowupReminderNoAnswerDialogTest::~FollowupReminderNoAnswerDialogTest()
{
}
= default;
void FollowupReminderNoAnswerDialogTest::initTestCase()
{
......
......@@ -59,8 +59,7 @@ FollowUpReminderAgent::FollowUpReminderAgent(const QString &id)
}
FollowUpReminderAgent::~FollowUpReminderAgent()
{
}
= default;
void FollowUpReminderAgent::setEnableAgent(bool enabled)
{
......
......@@ -9,8 +9,7 @@
using namespace FollowUpReminder;
FollowUpReminderInfo::FollowUpReminderInfo()
{
}
= default;
FollowUpReminderInfo::FollowUpReminderInfo(const KConfigGroup &config)
{
......
......@@ -38,8 +38,7 @@ FollowUpReminderInfoConfigWidget::FollowUpReminderInfoConfigWidget(const KShared
}
FollowUpReminderInfoConfigWidget::~FollowUpReminderInfoConfigWidget()
{
}
= default;
void FollowUpReminderInfoConfigWidget::load()
{
......
......@@ -79,8 +79,7 @@ FollowUpReminderInfoWidget::FollowUpReminderInfoWidget(QWidget *parent)
}
FollowUpReminderInfoWidget::~FollowUpReminderInfoWidget()
{
}
= default;
void FollowUpReminderInfoWidget::setInfo(const QList<FollowUpReminder::FollowUpReminderInfo *> &infoList)
{
......
......@@ -19,8 +19,7 @@ FollowUpReminderFinishTaskJob::FollowUpReminderFinishTaskJob(Akonadi::Item::Id i
}
FollowUpReminderFinishTaskJob::~FollowUpReminderFinishTaskJob()
{
}
= default;
void FollowUpReminderFinishTaskJob::start()
{
......
......@@ -20,8 +20,7 @@ FollowUpReminderJob::FollowUpReminderJob(QObject *parent)
}
FollowUpReminderJob::~FollowUpReminderJob()
{
}
= default;
void FollowUpReminderJob::start()
{
......
......@@ -18,8 +18,7 @@ FollowUpReminderShowMessageJob::FollowUpReminderShowMessageJob(Akonadi::Item::Id
}
FollowUpReminderShowMessageJob::~FollowUpReminderShowMessageJob()
{
}
= default;
void FollowUpReminderShowMessageJob::start()
{
......
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