Commit 8b9b2e80 authored by Sergio Martins's avatar Sergio Martins
Browse files

kalarm: Use Q_DECL_OVERRIDE

parent c050c4ef
......@@ -45,7 +45,7 @@ class AudioThread : public QThread
void readyToPlay();
protected:
virtual void run();
void run() Q_DECL_OVERRIDE;
private Q_SLOTS:
void checkAudioPlay();
......
......@@ -39,7 +39,7 @@ class KAlarmPrefDlg : public KPageDialog
public:
static void display();
~KAlarmPrefDlg();
virtual QSize minimumSizeHint() const;
QSize minimumSizeHint() const Q_DECL_OVERRIDE;
MiscPrefTab* mMiscPage;
TimePrefTab* mTimePage;
......
......@@ -64,7 +64,7 @@ class PrefsTabBase : public StackedScrollWidget
static int indentWidth() { return mIndentWidth; }
protected:
virtual void showEvent(QShowEvent*);
void showEvent(QShowEvent*) Q_DECL_OVERRIDE;
private:
static int mIndentWidth; // indent width for checkboxes etc.
......@@ -134,8 +134,8 @@ class StorePrefTab : public PrefsTabBase
public:
explicit StorePrefTab(StackedScrollGroup*);
virtual void restore(bool defaults, bool allTabs);
virtual void apply(bool syncToDisc);
void restore(bool defaults, bool allTabs) Q_DECL_OVERRIDE;
void apply(bool syncToDisc) Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotArchivedToggled(bool);
......@@ -245,8 +245,8 @@ class ViewPrefTab : public PrefsTabBase
public:
explicit ViewPrefTab(StackedScrollGroup*);
virtual void restore(bool defaults, bool allTabs);
virtual void apply(bool syncToDisc);
void restore(bool defaults, bool allTabs) Q_DECL_OVERRIDE;
void apply(bool syncToDisc) Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotTooltipAlarmsToggled(bool);
......
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