Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Artikulate
Commits
73f7470b
Commit
73f7470b
authored
Dec 23, 2021
by
Laurent Montel
Browse files
Add missing override keyword
parent
2f813c93
Changes
25
Hide whitespace changes
Inline
Side-by-side
liblearnerprofile/src/learner.h
View file @
73f7470b
...
...
@@ -36,7 +36,7 @@ public:
enum
Category
{
Unspecified
=
0
,
Language
=
1
};
explicit
Learner
(
QObject
*
parent
=
nullptr
);
~
Learner
();
~
Learner
()
override
;
QString
name
()
const
;
void
setName
(
const
QString
&
name
);
...
...
liblearnerprofile/src/learninggoal.h
View file @
73f7470b
...
...
@@ -30,7 +30,7 @@ public:
explicit
LearningGoal
(
QObject
*
parent
=
nullptr
);
explicit
LearningGoal
(
LearningGoal
::
Category
category
,
const
QString
&
identifier
,
QObject
*
parent
=
nullptr
);
~
LearningGoal
();
~
LearningGoal
()
override
;
QString
name
()
const
;
void
setName
(
const
QString
&
name
);
...
...
liblearnerprofile/src/models/learninggoalmodel.h
View file @
73f7470b
...
...
@@ -29,7 +29,7 @@ public:
enum
learningGoalRoles
{
TitleRole
=
Qt
::
UserRole
+
1
,
IdRole
,
DataRole
};
explicit
LearningGoalModel
(
QObject
*
parent
=
nullptr
);
virtual
~
LearningGoalModel
();
~
LearningGoalModel
()
override
;
/**
* Reimplemented from QAbstractListModel::roleNames()
*/
...
...
liblearnerprofile/src/profilemanager.h
View file @
73f7470b
...
...
@@ -30,7 +30,7 @@ public:
enum
Progress
{
Skip
=
0
,
Next
=
1
};
explicit
ProfileManager
(
QObject
*
parent
=
nullptr
);
virtual
~
ProfileManager
();
~
ProfileManager
()
override
;
QList
<
Learner
*>
profiles
()
const
;
int
profileCount
()
const
;
...
...
libsound/src/backendinterface.h
View file @
73f7470b
...
...
@@ -20,7 +20,7 @@ class LIBSOUND_EXPORT BackendInterface : public QObject
public:
explicit
BackendInterface
(
const
QString
&
name
,
QObject
*
parent
=
nullptr
);
virtual
~
BackendInterface
();
~
BackendInterface
()
override
;
QString
name
()
const
;
virtual
CaptureBackendInterface
*
captureBackend
()
const
=
0
;
...
...
libsound/src/capturebackendinterface.h
View file @
73f7470b
...
...
@@ -17,7 +17,7 @@ class LIBSOUND_EXPORT CaptureBackendInterface : public QObject
public:
explicit
CaptureBackendInterface
(
QObject
*
parent
=
nullptr
);
virtual
~
CaptureBackendInterface
();
~
CaptureBackendInterface
()
override
;
virtual
void
startCapture
(
const
QString
&
filePath
)
=
0
;
virtual
void
stopCapture
()
=
0
;
...
...
libsound/src/capturedevicecontroller.h
View file @
73f7470b
...
...
@@ -60,7 +60,7 @@ private:
/**
* Private destructor.
*/
~
CaptureDeviceController
();
~
CaptureDeviceController
()
override
;
const
QScopedPointer
<
CaptureDeviceControllerPrivate
>
d
;
};
...
...
libsound/src/outputbackendinterface.h
View file @
73f7470b
...
...
@@ -17,7 +17,7 @@ class LIBSOUND_EXPORT OutputBackendInterface : public QObject
public:
explicit
OutputBackendInterface
(
QObject
*
parent
=
nullptr
);
virtual
~
OutputBackendInterface
();
~
OutputBackendInterface
()
override
;
virtual
void
setUri
(
const
QString
&
uri
)
=
0
;
/**
* volume as cubic value
...
...
libsound/src/outputdevicecontroller.h
View file @
73f7470b
...
...
@@ -58,7 +58,7 @@ private:
/**
* Private destructor.
*/
~
OutputDeviceController
();
~
OutputDeviceController
()
override
;
const
QScopedPointer
<
OutputDeviceControllerPrivate
>
d
;
};
...
...
libsound/src/qtmultimediabackend/qtmultimediabackend.h
View file @
73f7470b
...
...
@@ -20,7 +20,7 @@ class QtMultimediaBackend : public BackendInterface
public:
explicit
QtMultimediaBackend
(
QObject
*
parent
,
const
QList
<
QVariant
>
&
);
virtual
~
QtMultimediaBackend
();
~
QtMultimediaBackend
()
override
;
CaptureBackendInterface
*
captureBackend
()
const
override
;
OutputBackendInterface
*
outputBackend
()
const
override
;
...
...
libsound/src/qtmultimediabackend/qtmultimediaoutputbackend.h
View file @
73f7470b
...
...
@@ -18,7 +18,7 @@ class QtMultimediaOutputBackend : public OutputBackendInterface
public:
explicit
QtMultimediaOutputBackend
(
QObject
*
parent
=
nullptr
);
virtual
~
QtMultimediaOutputBackend
();
~
QtMultimediaOutputBackend
()
override
;
void
setUri
(
const
QString
&
uri
)
override
;
/**
...
...
src/core/icourse.h
View file @
73f7470b
...
...
@@ -29,7 +29,7 @@ class ARTIKULATECORE_EXPORT ICourse : public QObject
Q_PROPERTY
(
QString
languageTitle
READ
languageTitle
CONSTANT
)
public:
virtual
~
ICourse
()
=
default
;
~
ICourse
()
override
=
default
;
virtual
QString
id
()
const
=
0
;
virtual
QString
foreignId
()
const
=
0
;
virtual
QString
title
()
const
=
0
;
...
...
src/core/ieditablecourse.h
View file @
73f7470b
...
...
@@ -24,7 +24,7 @@ class ARTIKULATECORE_EXPORT IEditableCourse : public ICourse
Q_PROPERTY
(
QString
modified
READ
isModified
NOTIFY
modifiedChanged
)
public:
virtual
~
IEditableCourse
()
=
default
;
~
IEditableCourse
()
override
=
default
;
virtual
void
setId
(
QString
id
)
=
0
;
virtual
void
setForeignId
(
QString
foreignId
)
=
0
;
virtual
void
setTitle
(
QString
title
)
=
0
;
...
...
src/core/ieditablephrase.h
View file @
73f7470b
...
...
@@ -31,7 +31,7 @@ public:
enum
class
EditState
{
Unknown
,
Translated
,
Completed
};
Q_ENUM
(
EditState
)
virtual
~
IEditablePhrase
()
=
default
;
~
IEditablePhrase
()
override
=
default
;
virtual
void
setId
(
QString
id
)
=
0
;
virtual
void
setForeignId
(
QString
id
)
=
0
;
...
...
src/core/ieditablerepository.h
View file @
73f7470b
...
...
@@ -23,7 +23,7 @@ class ARTIKULATECORE_EXPORT IEditableRepository : public IResourceRepository
{
Q_OBJECT
public:
virtual
~
IEditableRepository
()
=
default
;
~
IEditableRepository
()
override
=
default
;
virtual
QVector
<
std
::
shared_ptr
<
IEditableCourse
>>
editableCourses
()
const
=
0
;
virtual
std
::
shared_ptr
<
IEditableCourse
>
editableCourse
(
std
::
shared_ptr
<
ILanguage
>
language
,
int
index
)
const
=
0
;
virtual
QVector
<
std
::
shared_ptr
<
IEditableCourse
>>
skeletons
()
const
=
0
;
...
...
src/core/ieditableunit.h
View file @
73f7470b
...
...
@@ -26,7 +26,7 @@ class ARTIKULATECORE_EXPORT IEditableUnit : public IUnit
Q_PROPERTY
(
QString
title
READ
title
WRITE
setTitle
NOTIFY
titleChanged
)
public:
virtual
~
IEditableUnit
()
=
default
;
~
IEditableUnit
()
override
=
default
;
virtual
void
setId
(
const
QString
&
id
)
=
0
;
virtual
void
setForeignId
(
const
QString
&
id
)
=
0
;
virtual
void
setCourse
(
std
::
shared_ptr
<
ICourse
>
course
)
=
0
;
...
...
src/core/ilanguage.h
View file @
73f7470b
...
...
@@ -25,7 +25,7 @@ class ARTIKULATECORE_EXPORT ILanguage : public QObject
Q_PROPERTY
(
QString
i18nTitle
READ
i18nTitle
NOTIFY
i18nTitleChanged
)
public:
virtual
~
ILanguage
()
=
default
;
~
ILanguage
()
override
=
default
;
virtual
QString
id
()
const
=
0
;
virtual
QString
title
()
const
=
0
;
virtual
QString
i18nTitle
()
const
=
0
;
...
...
src/core/iphrase.h
View file @
73f7470b
...
...
@@ -30,7 +30,7 @@ public:
enum
class
Type
{
Word
,
Expression
,
Sentence
,
Paragraph
,
AllTypes
};
Q_ENUM
(
Type
)
virtual
~
IPhrase
()
=
default
;
~
IPhrase
()
override
=
default
;
virtual
QString
id
()
const
=
0
;
virtual
QString
foreignId
()
const
=
0
;
...
...
src/core/iresourcerepository.h
View file @
73f7470b
...
...
@@ -23,7 +23,7 @@ class ARTIKULATECORE_EXPORT IResourceRepository : public QObject
{
Q_OBJECT
public:
virtual
~
IResourceRepository
()
=
default
;
~
IResourceRepository
()
override
=
default
;
/**
* \return path to working repository, if one is set
...
...
src/core/isessionactions.h
View file @
73f7470b
...
...
@@ -29,7 +29,7 @@ public:
:
QObject
(
parent
)
{
}
virtual
~
ISessionActions
()
=
default
;
~
ISessionActions
()
override
=
default
;
virtual
TrainingAction
*
activeAction
()
const
=
0
;
virtual
void
setActivePhrase
(
IPhrase
*
phrase
)
=
0
;
/**
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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