Commit 43b0c3a1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add missing override

parent 49e0d907
......@@ -28,7 +28,7 @@ public:
*/
explicit CrontabPrinterWidget(bool root = false);
~CrontabPrinterWidget();
~CrontabPrinterWidget() override;
bool printCrontab();
void setPrintCrontab(bool setStatus);
......
......@@ -34,12 +34,12 @@ public:
/**
* Initializes view.
*/
CrontabWidget(QWidget* parent, CTHost* ctHost);
explicit CrontabWidget(QWidget* parent, CTHost* ctHost);
/**
* Destructor.
*/
~CrontabWidget();
~CrontabWidget() override;
TasksWidget* tasksWidget() const;
......
......@@ -33,7 +33,7 @@ public:
/**
* Destructor.
*/
virtual ~CTSystemCron();
~CTSystemCron() override;
};
......
......@@ -26,9 +26,9 @@ class GenericListWidget : public QWidget {
Q_OBJECT
public:
GenericListWidget(CrontabWidget* crontabWidget, const QString& label, const QIcon& icon);
explicit GenericListWidget(CrontabWidget* crontabWidget, const QString& label, const QIcon& icon);
~GenericListWidget();
~GenericListWidget() override;
QTreeWidget* treeWidget() const;
......
......@@ -33,7 +33,7 @@ public:
//, const QVariantList& arguments
KCMCron(QWidget* parent, const QVariantList& args);
~KCMCron();
~KCMCron() override;
void load() override;
void save() override;
......
......@@ -23,7 +23,7 @@ public:
/**
* Initialize the list view item and task.
*/
TaskWidget(TasksWidget* tasksWidget, CTTask* _cttask);
explicit TaskWidget(TasksWidget* tasksWidget, CTTask* _cttask);
/*
* Change the status of this task
......
......@@ -31,7 +31,7 @@ public:
*/
explicit TasksWidget(CrontabWidget* crontabWidget);
~TasksWidget();
~TasksWidget() override;
TaskWidget* firstSelectedTaskWidget() const;
......
......@@ -37,7 +37,7 @@ public:
/**
* Destroy.
*/
~VariableEditorDialog();
~VariableEditorDialog() override;
private Q_SLOTS:
......
......@@ -25,7 +25,7 @@ public:
/**
* Initialize the list view item and task.
*/
VariableWidget(VariablesWidget* variablesWidget, CTVariable* _ctVariable);
explicit VariableWidget(VariablesWidget* variablesWidget, CTVariable* _ctVariable);
/**
* Refresh from underlying task.
......
......@@ -32,7 +32,7 @@ public:
*/
explicit VariablesWidget(CrontabWidget* crontabWidget);
virtual ~VariablesWidget();
~VariablesWidget() override;
QList<VariableWidget*> selectedVariablesWidget() const;
......
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