Commit 6ed9bc42 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override

parent 1fa76bb7
Pipeline #50751 passed with stage
in 12 minutes and 46 seconds
......@@ -34,7 +34,7 @@ class CALENDARSUPPORT_EXPORT ArchiveDialog : public QDialog
Q_OBJECT
public:
ArchiveDialog(const Akonadi::ETMCalendar::Ptr &calendar, Akonadi::IncidenceChanger *changer, QWidget *parent = nullptr);
~ArchiveDialog();
~ArchiveDialog() override;
Q_SIGNALS:
// connected by KODialogManager to CalendarView
......
......@@ -41,7 +41,7 @@ public:
* @param parent is the parent widget for the dialogs used by this class.
*/
explicit AttachmentHandler(QWidget *parent);
~AttachmentHandler();
~AttachmentHandler() override;
/**
* Finds the attachment in the user's calendar, by @p attachmentName and @p incidence.
......
......@@ -35,7 +35,7 @@ public:
*/
explicit CalendarUtils(const Akonadi::ETMCalendar::Ptr &calendar, QObject *parent = nullptr);
~CalendarUtils();
~CalendarUtils() override;
/**
* Returns the Caledar on which this utils class is operating.
......
......@@ -23,7 +23,7 @@ class CALENDARSUPPORT_EXPORT CategoryConfig : public QObject
Q_OBJECT
public:
explicit CategoryConfig(KCoreConfigSkeleton *cfg, QObject *parent = nullptr);
~CategoryConfig();
~CategoryConfig() override;
Q_REQUIRED_RESULT QStringList customCategories() const;
void setCustomCategories(const QStringList &categories);
......
......@@ -16,8 +16,6 @@ class CALENDARSUPPORT_EXPORT CellItem
{
public:
CellItem()
: mSubCells(0)
, mSubCell(-1)
{
}
......@@ -46,8 +44,8 @@ public:
static QList<CellItem *> placeItem(const QList<CellItem *> &cells, CellItem *placeItem);
private:
int mSubCells;
int mSubCell;
int mSubCells = 0;
int mSubCell = -1;
};
}
......
......@@ -24,7 +24,7 @@ class CALENDARSUPPORT_EXPORT CollectionSelection : public QObject
Q_OBJECT
public:
explicit CollectionSelection(QItemSelectionModel *selectionModel, QObject *parent = nullptr);
~CollectionSelection();
~CollectionSelection() override;
QItemSelectionModel *model() const;
Q_REQUIRED_RESULT Akonadi::Collection::List selectedCollections() const;
......
......@@ -63,7 +63,7 @@ public:
/**
* Destroys the date picker popup.
*/
~KDatePickerPopup();
~KDatePickerPopup() override;
/**
* Returns the used KDatePicker object.
......
......@@ -38,9 +38,7 @@ public:
PrintPlugin()
: Plugin()
, mConfigWidget(nullptr)
, mPrinter(nullptr)
, mCalendar(nullptr)
, mConfig(nullptr)
{
}
......
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