39 Q_PROPERTY(QString lessonPack READ lessonPack WRITE setLessonPack NOTIFY lessonPackChanged)
40 Q_PROPERTY(
int lesson READ lesson WRITE setLesson NOTIFY lessonChanged)
41 Q_PROPERTY(
int sublesson READ sublesson WRITE setSublesson NOTIFY sublessonChanged)
42 Q_PROPERTY(
int exercise READ exercise WRITE setExercise NOTIFY exerciseChanged)
43 Q_PROPERTY(
int count READ count NOTIFY countChanged)
45 QString lessonPack(
void);
46 void setLessonPack(QString value);
48 void setLesson(
int value);
50 void setSublesson(
int value);
52 void setExercise(
int value);
56 Q_INVOKABLE
void append(
int grossHitsPerMinute,
int mistakes,
int timeSecs);
59 static QJsonDocument historyDocument(
void);
60 static QJsonValue historyPackValue(QString pack);
66 static const QString historyFile;
67 static const QString speedProperty;
68 static const QString mistakesProperty;
69 static const QString timeProperty;
72 void lessonPackChanged(QString value);
73 void lessonChanged(
int value);
74 void sublessonChanged(
int value);
75 void exerciseChanged(
int value);
76 void countChanged(
int value);
The HistoryEntry class is an entry in the exercise history.
Definition HistoryEntry.h:28
The HistoryParser class provides functions for exercise history and statistics.
Definition HistoryParser.h:36