Commit b80196f7 authored by Kevin Funk's avatar Kevin Funk
Browse files

Minor: s/Q_DECL_OVERRIDE/override/

parent e25c3aee
Pipeline #95243 passed with stage
in 50 seconds
......@@ -40,7 +40,7 @@ public:
~ExerciseCompare() override;
/** force the creation of a new task */
void forceNewTask() Q_DECL_OVERRIDE;
void forceNewTask() override;
void setQuestionMixed(bool value);
......
......@@ -39,7 +39,7 @@ public:
~ExerciseConvert() override;
/** force the creation of a new task */
void forceNewTask() Q_DECL_OVERRIDE;
void forceNewTask() override;
void update();
......@@ -91,7 +91,7 @@ private:
void denominatorReturnPressed();
protected:
void showEvent(QShowEvent * event) Q_DECL_OVERRIDE;
void showEvent(QShowEvent * event) override;
};
#endif
......
......@@ -51,7 +51,7 @@ public:
~ExerciseFactorize() override;
/** force the creation of a new task */
void forceNewTask() Q_DECL_OVERRIDE;
void forceNewTask() override;
void update();
......@@ -132,7 +132,7 @@ private:
void setButtonsEnabled(bool enabled);
protected:
void showEvent(QShowEvent * event) Q_DECL_OVERRIDE;
void showEvent(QShowEvent * event) override;
};
#endif
......@@ -39,7 +39,7 @@ public:
/** resets the current state, creates a new task and counts the last task
* as wrong, if it wasn't solved (in _NEXT_TASK state) yet mainly used
* after changing the task parameters */
void forceNewTask() Q_DECL_OVERRIDE;
void forceNewTask() override;
Q_SIGNALS:
/** signal emitted if task solved correctly */
......@@ -110,7 +110,7 @@ private:
protected:
/** sets focus to input fields */
void showEvent(QShowEvent * event) Q_DECL_OVERRIDE;
void showEvent(QShowEvent * event) override;
};
#endif // EXERCISEMIXEDNUMBERS_H
......@@ -37,7 +37,7 @@ public:
~ExercisePercentage() override;
/** force the creation of a new task */
void forceNewTask() Q_DECL_OVERRIDE;
void forceNewTask() override;
void update();
......
......@@ -36,7 +36,7 @@ public:
void updateAndRepaint();
protected:
QSize minimumSizeHint() const Q_DECL_OVERRIDE {
QSize minimumSizeHint() const override {
return QSize(20, 10);
}
......
......@@ -36,7 +36,7 @@ public:
protected:
/** Function is called every time the screen need to be painted.
**/
void paintEvent(QPaintEvent * event) Q_DECL_OVERRIDE;
void paintEvent(QPaintEvent * event) override;
void paintWidget(QPainter & paint);
private:
......
......@@ -46,7 +46,7 @@ public:
protected:
/** Function is called every time the screen need to be painted.
**/
void paintEvent(QPaintEvent * event) Q_DECL_OVERRIDE;
void paintEvent(QPaintEvent * event) override;
void resetFraction(bool update);
bool checkTask();
......
......@@ -248,7 +248,7 @@ protected:
/** Function is called when user closes the window.
* Used to save the current statistics and settings before exiting.
*/
void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
void closeEvent(QCloseEvent *event) override;
};
#endif // MainQtWidget
......@@ -55,7 +55,7 @@ private:
bool areFactors(const QStringList &factors);
/** reimplement keyPressEvent inherited from QWidget */
void keyPressEvent(QKeyEvent * event) Q_DECL_OVERRIDE;
void keyPressEvent(QKeyEvent * event) override;
};
#endif // PRIMEFACTORSLINEEDIT_H
......@@ -44,7 +44,7 @@ private:
bool m_questionMixed;
/** overriding the paint event of FractionBaseWidget */
void paintEvent(QPaintEvent*) Q_DECL_OVERRIDE;
void paintEvent(QPaintEvent*) override;
};
#endif
......@@ -40,7 +40,7 @@ private:
int m_periodLength;
/** overriding the paint event of FractionBaseWidget */
void paintEvent(QPaintEvent*) Q_DECL_OVERRIDE;
void paintEvent(QPaintEvent*) override;
};
#endif
......@@ -69,7 +69,7 @@ private:
Ratio m_result;
/** overriding the paint event of FractionBaseWidget */
void paintEvent(QPaintEvent*) Q_DECL_OVERRIDE;
void paintEvent(QPaintEvent*) override;
void Init();
void showResult() ;
......
......@@ -53,7 +53,7 @@ public:
unsigned int pnr_ratios = 2, unsigned int pmax_md = 2);
/** force the creation of a new task */
void forceNewTask() Q_DECL_OVERRIDE;
void forceNewTask() override;
void setReducedForm(bool value);
void setQuestionMixed(bool value);
......@@ -117,7 +117,7 @@ private:
void denominatorReturnPressed();
protected:
void showEvent(QShowEvent * event) Q_DECL_OVERRIDE;
void showEvent(QShowEvent * event) override;
};
#endif
......@@ -53,7 +53,7 @@ private:
bool m_questionMixed;
/** overriding the paint event of FractionBaseWidget */
void paintEvent(QPaintEvent*) Q_DECL_OVERRIDE;
void paintEvent(QPaintEvent*) override;
};
#endif
Supports Markdown
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