Commit fcf6b5e9 authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_DECL_OVERRIDE

parent d0722015
......@@ -90,12 +90,12 @@ class MainWindow : public MainWindowBase, public KCalCore::Calendar::CalendarObs
void selectionChanged();
protected:
virtual void resizeEvent(QResizeEvent*);
virtual void showEvent(QShowEvent*);
virtual void hideEvent(QHideEvent*);
virtual void closeEvent(QCloseEvent*);
void resizeEvent(QResizeEvent*) Q_DECL_OVERRIDE;
void showEvent(QShowEvent*) Q_DECL_OVERRIDE;
void hideEvent(QHideEvent*) Q_DECL_OVERRIDE;
void closeEvent(QCloseEvent*) Q_DECL_OVERRIDE;
virtual void dragEnterEvent(QDragEnterEvent* e) { executeDragEnterEvent(e); }
virtual void dropEvent(QDropEvent*);
void dropEvent(QDropEvent*) Q_DECL_OVERRIDE;
virtual void saveProperties(KConfigGroup&);
virtual void readProperties(const KConfigGroup&);
......
......@@ -91,10 +91,10 @@ class MessageWin : public MainWindowBase
static bool spread(bool scatter);
protected:
virtual void showEvent(QShowEvent*);
virtual void moveEvent(QMoveEvent*);
virtual void resizeEvent(QResizeEvent*);
virtual void closeEvent(QCloseEvent*);
void showEvent(QShowEvent*) Q_DECL_OVERRIDE;
void moveEvent(QMoveEvent*) Q_DECL_OVERRIDE;
void resizeEvent(QResizeEvent*) Q_DECL_OVERRIDE;
void closeEvent(QCloseEvent*) Q_DECL_OVERRIDE;
virtual void saveProperties(KConfigGroup&);
virtual void readProperties(const KConfigGroup&);
......
......@@ -65,7 +65,7 @@ class ResourceSelector : public QFrame
void resized(const QSize& oldSize, const QSize& newSize);
protected:
virtual void resizeEvent(QResizeEvent*);
void resizeEvent(QResizeEvent*) Q_DECL_OVERRIDE;
private slots:
void alarmTypeSelected();
......
......@@ -60,8 +60,8 @@ class SoundWidget : public QWidget
void changed(); // emitted whenever any contents change
protected:
virtual void showEvent(QShowEvent*);
virtual void resizeEvent(QResizeEvent*);
virtual void showEvent(QShowEvent* Q_DECL_OVERRIDE);
void resizeEvent(QResizeEvent*) Q_DECL_OVERRIDE;
private slots:
void slotPickFile();
......
......@@ -103,7 +103,7 @@ class SpecialActionsDlg : public QDialog
bool isReadOnly() const { return mActions->isReadOnly(); }
protected:
virtual void resizeEvent(QResizeEvent*);
void resizeEvent(QResizeEvent*) Q_DECL_OVERRIDE;
protected slots:
virtual void slotOk();
......
......@@ -41,7 +41,7 @@ class TemplateDlg : public KDialog
void emptyToggled(bool notEmpty);
protected:
virtual void resizeEvent(QResizeEvent*);
void resizeEvent(QResizeEvent*) Q_DECL_OVERRIDE;
private slots:
void slotNew(EditAlarmDlg::Type);
......
......@@ -38,7 +38,7 @@ class TemplatePickDlg : public QDialog
explicit TemplatePickDlg(KAEvent::Actions, QWidget* parent = 0);
KAEvent selectedTemplate() const;
protected:
virtual void resizeEvent(QResizeEvent*);
void resizeEvent(QResizeEvent*) Q_DECL_OVERRIDE;
private slots:
void slotSelectionChanged();
private:
......
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