Commit 8856296f authored by Laurent Montel's avatar Laurent Montel 😁

Add override

parent e2fc5c4f
......@@ -54,7 +54,7 @@ class CALENDARSUPPORT_EXPORT EventArchiver : public QObject
Q_OBJECT
public:
explicit EventArchiver(QObject *parent = nullptr);
virtual ~EventArchiver();
~EventArchiver() override;
/**
* Delete or archive events once
......
......@@ -37,7 +37,7 @@ class CALENDARSUPPORT_EXPORT FreeBusyCalendar : public QObject
public:
explicit FreeBusyCalendar(QObject *parent = nullptr);
virtual ~FreeBusyCalendar();
~FreeBusyCalendar() override;
void setModel(FreeBusyItemModel *model);
FreeBusyItemModel *model() const;
......
......@@ -50,7 +50,7 @@ public:
};
explicit FreeBusyItemModel(QObject *parent = nullptr);
virtual ~FreeBusyItemModel();
~FreeBusyItemModel() override;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
......
......@@ -36,7 +36,7 @@ public:
PeriodRole = Qt::UserRole
};
explicit FreePeriodModel(QObject *parent = nullptr);
virtual ~FreePeriodModel();
~FreePeriodModel() override;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
......
......@@ -35,7 +35,7 @@ public:
explicit KCalModel(QObject *parent = nullptr);
virtual ~KCalModel();
~KCalModel() override;
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
......
......@@ -35,7 +35,7 @@ public:
/** Constructor disabled for public. Use instance() to create a KCalPrefs
object. */
KCalPrefs();
virtual ~KCalPrefs();
~KCalPrefs() override;
/** Get instance of KCalPrefs. It is made sure that there is only one
instance. */
......
......@@ -41,7 +41,7 @@ class CALENDARSUPPORT_EXPORT CalPrintIncidence : public CalPrintPluginBase
{
public:
CalPrintIncidence();
virtual ~CalPrintIncidence();
~CalPrintIncidence() override;
QString groupName() const override
{
return QStringLiteral("Print incidence");
......@@ -95,7 +95,7 @@ class CalPrintDay : public CalPrintPluginBase
{
public:
CalPrintDay();
virtual ~CalPrintDay();
~CalPrintDay() override;
QString groupName() const override
{
return QStringLiteral("Print day");
......@@ -151,7 +151,7 @@ class CalPrintWeek : public CalPrintPluginBase
{
public:
CalPrintWeek();
virtual ~CalPrintWeek();
~CalPrintWeek() override;
QString groupName() const override
{
......@@ -212,7 +212,7 @@ class CalPrintMonth : public CalPrintPluginBase
{
public:
CalPrintMonth();
virtual ~CalPrintMonth();
~CalPrintMonth() override;
QString groupName() const override
{
return QStringLiteral("Print month");
......@@ -267,7 +267,7 @@ class CalPrintTodos : public CalPrintPluginBase
{
public:
CalPrintTodos();
virtual ~CalPrintTodos();
~CalPrintTodos() override;
QString groupName() const override
{
......
......@@ -59,7 +59,7 @@ public:
*/
CalPrinter(QWidget *par, const Akonadi::ETMCalendar::Ptr &calendar, bool uniqItem = false);
virtual ~CalPrinter();
~CalPrinter() override;
void init(const Akonadi::ETMCalendar::Ptr &calendar);
......@@ -101,7 +101,7 @@ public:
explicit CalPrintDialog(int initialPrintType, const PrintPlugin::List &plugins,
QWidget *parent = nullptr, bool mUniqItem = false);
virtual ~CalPrintDialog();
~CalPrintDialog() override;
PrintPlugin *selectedPlugin();
void setOrientation(CalPrinter::ePrintOrientation orientation);
......
......@@ -70,7 +70,7 @@ public:
Constructor
*/
CalPrintPluginBase();
virtual ~CalPrintPluginBase();
~CalPrintPluginBase() override;
/**
Returns widget for configuring the print format.
......
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