Commit 1c57c274 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override

parent ccc181f5
Pipeline #44524 passed with stage
in 20 minutes and 45 seconds
......@@ -20,7 +20,7 @@ class DateChecker : public QObject
Q_OBJECT
public:
explicit DateChecker(QObject *parent = nullptr);
~DateChecker();
~DateChecker() override;
/**
The DateChecker automatically checks for
......
......@@ -27,7 +27,7 @@ class DateNavigator : public QObject
Q_OBJECT
public:
explicit DateNavigator(QObject *parent = nullptr);
~DateNavigator();
~DateNavigator() override;
Q_REQUIRED_RESULT KCalendarCore::DateList selectedDates() const;
......
......@@ -61,7 +61,7 @@ class FilterEdit : public QWidget, Ui::FilterEdit_base
Q_OBJECT
public:
explicit FilterEdit(QList<KCalendarCore::CalFilter *> *filters, QWidget *parent);
~FilterEdit();
~FilterEdit() override;
void updateFilterList();
void saveChanges();
......
......@@ -21,7 +21,7 @@ class KORGANIZERPRIVATE_EXPORT KOrganizerIfaceImpl : public QObject
Q_OBJECT
public:
explicit KOrganizerIfaceImpl(ActionManager *mActionManager, QObject *parent = nullptr, const QString &name = QString());
~KOrganizerIfaceImpl();
~KOrganizerIfaceImpl() override;
public Q_SLOTS:
Q_REQUIRED_RESULT bool openURL(const QString &url);
......
......@@ -25,7 +25,7 @@ public:
{
}
virtual ~CalendarViewBase()
~CalendarViewBase() override
{
}
......
......@@ -39,7 +39,7 @@ public:
{
}
virtual ~Part()
~Part() override
{
}
......
......@@ -31,7 +31,7 @@ class TodoSummaryWidget : public KontactInterface::Summary
Q_OBJECT
public:
TodoSummaryWidget(TodoPlugin *plugin, QWidget *parent);
explicit TodoSummaryWidget(TodoPlugin *plugin, QWidget *parent);
~TodoSummaryWidget() override;
int summaryHeight() const override
......
......@@ -28,7 +28,7 @@ class KOrganizerPart : public KParts::ReadOnlyPart, public KOrg::MainWindow
{
Q_OBJECT
public:
KOrganizerPart(QWidget *parentWidget, QObject *parent, const QVariantList &);
explicit KOrganizerPart(QWidget *parentWidget, QObject *parent, const QVariantList &);
~KOrganizerPart() override;
KOrg::CalendarViewBase *view() const override;
......
......@@ -20,7 +20,7 @@ class ManageShowCollectionProperties : public QObject
Q_OBJECT
public:
explicit ManageShowCollectionProperties(AkonadiCollectionView *collectionView, QObject *parent = nullptr);
~ManageShowCollectionProperties();
~ManageShowCollectionProperties() override;
public Q_SLOTS:
void showCollectionProperties();
......
......@@ -14,7 +14,7 @@ class KOrganizerPluginInterface : public PimCommon::PluginInterface
Q_OBJECT
public:
explicit KOrganizerPluginInterface(QObject *parent = nullptr);
~KOrganizerPluginInterface();
~KOrganizerPluginInterface() override;
static KOrganizerPluginInterface *self();
};
......
......@@ -23,7 +23,7 @@ class KOPrefsDialogColorsAndFonts : public Korganizer::KPrefsModule
{
Q_OBJECT
public:
KOPrefsDialogColorsAndFonts(QWidget *parent);
explicit KOPrefsDialogColorsAndFonts(QWidget *parent);
protected:
void usrWriteConfig() override;
......
......@@ -15,7 +15,7 @@ class KOPrefsDialogGroupScheduling : public Korganizer::KPrefsModule
{
Q_OBJECT
public:
KOPrefsDialogGroupScheduling(QWidget *parent);
explicit KOPrefsDialogGroupScheduling(QWidget *parent);
protected:
void usrWriteConfig() override;
......
......@@ -18,7 +18,7 @@ class KOPrefsDialogGroupwareScheduling : public Korganizer::KPrefsModule
{
Q_OBJECT
public:
KOPrefsDialogGroupwareScheduling(QWidget *parent);
explicit KOPrefsDialogGroupwareScheduling(QWidget *parent);
~KOPrefsDialogGroupwareScheduling() override;
protected:
......
......@@ -16,7 +16,7 @@ class KOPrefsDialogMain : public Korganizer::KPrefsModule
{
Q_OBJECT
public:
KOPrefsDialogMain(QWidget *parent);
explicit KOPrefsDialogMain(QWidget *parent);
protected:
void usrWriteConfig() override;
......
......@@ -23,7 +23,7 @@ class KOPrefsDialogPlugins : public Korganizer::KPrefsModule
{
Q_OBJECT
public:
KOPrefsDialogPlugins(QWidget *parent);
explicit KOPrefsDialogPlugins(QWidget *parent);
~KOPrefsDialogPlugins() override;
protected Q_SLOTS:
......
......@@ -17,7 +17,7 @@ class KItemIconCheckCombo;
class KOPrefsDialogViews : public Korganizer::KPrefsModule
{
public:
KOPrefsDialogViews(QWidget *parent);
explicit KOPrefsDialogViews(QWidget *parent);
protected:
void usrReadConfig() override;
......
......@@ -15,7 +15,7 @@ class KORGANIZERPRIVATE_EXPORT KOrganizerUserFeedbackProvider : public KUserFeed
Q_OBJECT
public:
explicit KOrganizerUserFeedbackProvider(QObject *parent = nullptr);
~KOrganizerUserFeedbackProvider();
~KOrganizerUserFeedbackProvider() override;
};
#endif // KORGANIZERUSERFEEDBACKPROVIDER_H
......@@ -23,7 +23,7 @@ public:
};
explicit KItemIconCheckCombo(ViewType viewType, QWidget *parent = nullptr);
~KItemIconCheckCombo();
~KItemIconCheckCombo() override;
void setCheckedIcons(const QSet<EventViews::EventView::ItemIcon> &icons);
Q_REQUIRED_RESULT QSet<EventViews::EventView::ItemIcon> checkedIcons() const;
......
......@@ -19,7 +19,7 @@ class NavigatorBar : public QWidget
Q_OBJECT
public:
explicit NavigatorBar(QWidget *parent = nullptr);
~NavigatorBar();
~NavigatorBar() override;
void showButtons(bool left, bool right);
......
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