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
System
KCron
Commits
49e0d907
Commit
49e0d907
authored
Jan 02, 2021
by
Laurent Montel
😁
Browse files
Use override
parent
795b6d66
Changes
8
Hide whitespace changes
Inline
Side-by-side
src/crontablib/ctGlobalCron.h
View file @
49e0d907
...
...
@@ -32,20 +32,20 @@ public:
/**
* Destructor.
*/
virtual
~
CTGlobalCron
();
~
CTGlobalCron
()
override
;
QList
<
CTTask
*>
tasks
()
const
Q_DECL_OVERRIDE
;
QList
<
CTTask
*>
tasks
()
const
override
;
QList
<
CTVariable
*>
variables
()
const
Q_DECL_OVERRIDE
;
QList
<
CTVariable
*>
variables
()
const
override
;
void
addTask
(
CTTask
*
task
)
Q_DECL_OVERRIDE
;
void
addVariable
(
CTVariable
*
variable
)
Q_DECL_OVERRIDE
;
void
addTask
(
CTTask
*
task
)
override
;
void
addVariable
(
CTVariable
*
variable
)
override
;
void
modifyTask
(
CTTask
*
task
)
Q_DECL_OVERRIDE
;
void
modifyVariable
(
CTVariable
*
variable
)
Q_DECL_OVERRIDE
;
void
modifyTask
(
CTTask
*
task
)
override
;
void
modifyVariable
(
CTVariable
*
variable
)
override
;
void
removeVariable
(
CTVariable
*
variable
)
Q_DECL_OVERRIDE
;
void
removeTask
(
CTTask
*
task
)
Q_DECL_OVERRIDE
;
void
removeVariable
(
CTVariable
*
variable
)
override
;
void
removeTask
(
CTTask
*
task
)
override
;
private:
CTHost
*
ctHost
;
...
...
src/crontablib/cthour.h
View file @
49e0d907
...
...
@@ -24,7 +24,7 @@ public:
int
findPeriod
()
const
;
QString
exportUnit
()
const
Q_DECL_OVERRIDE
;
QString
exportUnit
()
const
override
;
};
#endif // CTHOUR_H
src/crontablib/ctminute.h
View file @
49e0d907
...
...
@@ -26,7 +26,7 @@ public:
int
findPeriod
()
const
;
QString
exportUnit
()
const
Q_DECL_OVERRIDE
;
QString
exportUnit
()
const
override
;
};
...
...
src/genericListWidget.h
View file @
49e0d907
...
...
@@ -38,7 +38,7 @@ public:
void
resizeColumnContents
();
void
keyPressEvent
(
QKeyEvent
*
e
)
Q_DECL_OVERRIDE
;
void
keyPressEvent
(
QKeyEvent
*
e
)
override
;
protected
Q_SLOTS
:
virtual
void
modifySelection
(
QTreeWidgetItem
*
item
,
int
position
)
=
0
;
...
...
src/kcmCron.h
View file @
49e0d907
...
...
@@ -35,9 +35,9 @@ public:
~
KCMCron
();
void
load
()
Q_DECL_OVERRIDE
;
void
save
()
Q_DECL_OVERRIDE
;
void
defaults
()
Q_DECL_OVERRIDE
;
void
load
()
override
;
void
save
()
override
;
void
defaults
()
override
;
/**
* Additional init
...
...
src/taskEditorDialog.h
View file @
49e0d907
...
...
@@ -61,9 +61,9 @@ public:
void
updatePalette
();
bool
event
(
QEvent
*
e
)
Q_DECL_OVERRIDE
;
bool
event
(
QEvent
*
e
)
override
;
void
paintEvent
(
QPaintEvent
*
)
Q_DECL_OVERRIDE
;
void
paintEvent
(
QPaintEvent
*
)
override
;
bool
isDirty
;
QPalette
palSelected
;
...
...
src/tasksWidget.h
View file @
49e0d907
...
...
@@ -67,7 +67,7 @@ Q_SIGNALS:
public
Q_SLOTS
:
void
modifySelection
();
void
deleteSelection
()
Q_DECL_OVERRIDE
;
void
deleteSelection
()
override
;
/**
* Run task now.
...
...
@@ -84,7 +84,7 @@ public Q_SLOTS:
void
changeCurrentSelection
();
protected
Q_SLOTS
:
void
modifySelection
(
QTreeWidgetItem
*
item
,
int
position
)
Q_DECL_OVERRIDE
;
void
modifySelection
(
QTreeWidgetItem
*
item
,
int
position
)
override
;
private:
void
refreshHeaders
();
...
...
src/variablesWidget.h
View file @
49e0d907
...
...
@@ -58,7 +58,7 @@ Q_SIGNALS:
public
Q_SLOTS
:
void
modifySelection
();
void
deleteSelection
()
Q_DECL_OVERRIDE
;
void
deleteSelection
()
override
;
/**
* Create a new variable. Default is which type is most recently selected.
...
...
@@ -70,7 +70,7 @@ public Q_SLOTS:
void
changeCurrentSelection
();
protected
Q_SLOTS
:
void
modifySelection
(
QTreeWidgetItem
*
item
,
int
position
)
Q_DECL_OVERRIDE
;
void
modifySelection
(
QTreeWidgetItem
*
item
,
int
position
)
override
;
private:
void
refreshHeaders
();
...
...
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