The Class class encapsulates a class in grading configuration.
More...
#include "grades/internal/Class.h"
|
void | modified () |
|
void | nameChanged () |
|
void | gradeConfigChanged () |
|
void | descriptionChanged () |
|
void | targetHitsPerMinuteChanged () |
|
|
| Class (QObject *parent=nullptr) |
|
const QString & | name (void) const |
|
void | setName (const QString &newName) |
|
const QString & | description (void) const |
|
void | setDescription (const QString &newDescription) |
|
int | targetHitsPerMinute (void) const |
|
void | setTargetHitsPerMinute (int newTargetHitsPerMinute) |
|
const QMap< int, int > & | gradeConfig (void) const |
|
Q_INVOKABLE int | targetHitsForMonth (int month) |
|
Q_INVOKABLE void | setTargetHitsForMonth (int month, int targetHits) |
|
|
QString | m_name |
|
QString | m_description |
|
int | m_targetHitsPerMinute = 0 |
|
QMap< int, int > | m_gradeConfig |
|
The Class class encapsulates a class in grading configuration.
- Since
- Open-Typer 5.1.0
◆ Class()
Class::Class |
( |
QObject * |
parent = nullptr | ) |
|
◆ setTargetHitsForMonth()
void Class::setTargetHitsForMonth |
( |
int |
month, |
|
|
int |
targetHits |
|
) |
| |
Sets target hits per minute for the given month.
◆ targetHitsForMonth()
int Class::targetHitsForMonth |
( |
int |
month | ) |
|
Returns target hits pre minute for the given month.
◆ description
const QString & Class::description |
|
readwrite |
The description of the class.
◆ gradeConfig
const QMap< int, int > & Class::gradeConfig |
|
read |
Target number of hits per minute for each month.
◆ name
const QString & Class::name |
|
readwrite |
◆ targetHitsPerMinute
int Class::targetHitsPerMinute |
|
readwrite |
Number of hits per minute for the best grade.
The documentation for this class was generated from the following files:
- src/grades/internal/Class.h
- src/grades/internal/Class.cpp