Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KBruch
Commits
b80196f7
Commit
b80196f7
authored
Nov 03, 2021
by
Kevin Funk
☕
Browse files
Minor: s/Q_DECL_OVERRIDE/override/
parent
e25c3aee
Pipeline
#95243
passed with stage
in 50 seconds
Changes
15
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/ExerciseCompare.h
View file @
b80196f7
...
...
@@ -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
);
...
...
src/ExerciseConvert.h
View file @
b80196f7
...
...
@@ -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
...
...
src/ExerciseFactorize.h
View file @
b80196f7
...
...
@@ -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
src/ExerciseMixedNumbers.h
View file @
b80196f7
...
...
@@ -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
src/ExercisePercentage.h
View file @
b80196f7
...
...
@@ -37,7 +37,7 @@ public:
~
ExercisePercentage
()
override
;
/** force the creation of a new task */
void
forceNewTask
()
Q_DECL_OVERRIDE
;
void
forceNewTask
()
override
;
void
update
();
...
...
src/FractionBaseWidget.h
View file @
b80196f7
...
...
@@ -36,7 +36,7 @@ public:
void
updateAndRepaint
();
protected:
QSize
minimumSizeHint
()
const
Q_DECL_OVERRIDE
{
QSize
minimumSizeHint
()
const
override
{
return
QSize
(
20
,
10
);
}
...
...
src/FractionPainter.h
View file @
b80196f7
...
...
@@ -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:
...
...
src/FractionRingWidget.h
View file @
b80196f7
...
...
@@ -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
();
...
...
src/MainQtWidget.h
View file @
b80196f7
...
...
@@ -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
src/PrimeFactorsLineEdit.h
View file @
b80196f7
...
...
@@ -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
src/RatioWidget.h
View file @
b80196f7
...
...
@@ -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
src/RationalWidget.h
View file @
b80196f7
...
...
@@ -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
src/ResultWidget.h
View file @
b80196f7
...
...
@@ -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
()
;
...
...
src/TaskView.h
View file @
b80196f7
...
...
@@ -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
src/TaskWidget.h
View file @
b80196f7
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment