Commit 92f1d764 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove virtual when not necessary

parent a7728788
...@@ -90,9 +90,9 @@ class EditAlarmDlg : public KDialog ...@@ -90,9 +90,9 @@ class EditAlarmDlg : public KDialog
EditAlarmDlg(bool Template, const KAEvent*, bool newAlarm, QWidget* parent = 0, EditAlarmDlg(bool Template, const KAEvent*, bool newAlarm, QWidget* parent = 0,
GetResourceType = RES_PROMPT, bool readOnly = false); GetResourceType = RES_PROMPT, bool readOnly = false);
void init(const KAEvent* event); void init(const KAEvent* event);
virtual void resizeEvent(QResizeEvent*) Q_DECL_OVERRIDE; void resizeEvent(QResizeEvent*) Q_DECL_OVERRIDE;
virtual void showEvent(QShowEvent*) Q_DECL_OVERRIDE; void showEvent(QShowEvent*) Q_DECL_OVERRIDE;
virtual void closeEvent(QCloseEvent*) Q_DECL_OVERRIDE; void closeEvent(QCloseEvent*) Q_DECL_OVERRIDE;
virtual QString type_caption() const = 0; virtual QString type_caption() const = 0;
virtual void type_init(QWidget* parent, QVBoxLayout* frameLayout) = 0; virtual void type_init(QWidget* parent, QVBoxLayout* frameLayout) = 0;
virtual void type_initValues(const KAEvent*) = 0; virtual void type_initValues(const KAEvent*) = 0;
......
...@@ -56,8 +56,8 @@ class KAlarmPrefDlg : public KPageDialog ...@@ -56,8 +56,8 @@ class KAlarmPrefDlg : public KPageDialog
KPageWidgetItem* mViewPageItem; KPageWidgetItem* mViewPageItem;
protected: protected:
virtual void showEvent(QShowEvent*) Q_DECL_OVERRIDE; void showEvent(QShowEvent*) Q_DECL_OVERRIDE;
virtual void resizeEvent(QResizeEvent*) Q_DECL_OVERRIDE; void resizeEvent(QResizeEvent*) Q_DECL_OVERRIDE;
protected slots: protected slots:
virtual void slotOk(); virtual void slotOk();
......
...@@ -106,7 +106,7 @@ class RecurrenceEdit : public QFrame ...@@ -106,7 +106,7 @@ class RecurrenceEdit : public QFrame
void contentsChanged(); void contentsChanged();
protected: protected:
virtual void showEvent(QShowEvent*) Q_DECL_OVERRIDE; void showEvent(QShowEvent*) Q_DECL_OVERRIDE;
private slots: private slots:
void periodClicked(QAbstractButton*); void periodClicked(QAbstractButton*);
......
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