#include <TermScheduler.h>
Public Member Functions | |
| TermScheduler (const Preferences &prefs) | |
| TermScheduler (const TermScheduler &scheduler) | |
| ~TermScheduler () | |
| bool | isResumableQuizAvailable (const BilingualKey &key) const |
| bool | load (const BilingualKey &key) |
| bool | save () |
| void | concludeQuiz () |
| void | setApplicationDirName (const QString &applDir) |
| QString | getQuizFirstLanguage () const |
| QString | getQuizTestLanguage () const |
| bool | isQuizInProgress () const |
| void | init (const QString &firstLanguage, const QString &testLanguage, Folder *rootFolder) |
| void | reinit () |
| void | addTerm (const TermKey &termKey, const int priority=0) |
| void | discardCurrentTerm () |
| const TermKey | getCurrentTerm () const |
| bool | hasNextTerm () const |
| const TermKey | getNextTerm () |
| void | increaseTermPriority () |
| void | decreaseTermPriority () |
| void | rightAnswer () |
| void | wrongAnswer () |
| int | getProgress () const |
| int | getInitialTermCount () const |
Static Public Attributes | |
| static const uint | poolCount = 5 |
Friends | |
| QDataStream & | operator<< (QDataStream &out, const TermScheduler &scheduler) |
| QDataStream & | operator>> (QDataStream &in, TermScheduler &scheduler) |
Definition at line 15 of file TermScheduler.h.
| TermScheduler::TermScheduler | ( | const Preferences & | prefs | ) |
Definition at line 3 of file TermScheduler.cpp.
| TermScheduler::TermScheduler | ( | const TermScheduler & | scheduler | ) |
Definition at line 7 of file TermScheduler.cpp.
| TermScheduler::~TermScheduler | ( | ) |
Definition at line 16 of file TermScheduler.cpp.
| bool TermScheduler::isResumableQuizAvailable | ( | const BilingualKey & | key | ) | const |
Definition at line 19 of file TermScheduler.cpp.
| bool TermScheduler::load | ( | const BilingualKey & | key | ) |
Definition at line 24 of file TermScheduler.cpp.
| bool TermScheduler::save | ( | ) |
Definition at line 67 of file TermScheduler.cpp.
| void TermScheduler::concludeQuiz | ( | ) |
Definition at line 98 of file TermScheduler.cpp.
| void TermScheduler::setApplicationDirName | ( | const QString & | applDir | ) |
Definition at line 111 of file TermScheduler.cpp.
| QString TermScheduler::getQuizFirstLanguage | ( | ) | const |
Definition at line 115 of file TermScheduler.cpp.
| QString TermScheduler::getQuizTestLanguage | ( | ) | const |
Definition at line 119 of file TermScheduler.cpp.
| bool TermScheduler::isQuizInProgress | ( | ) | const |
Definition at line 123 of file TermScheduler.cpp.
| void TermScheduler::init | ( | const QString & | firstLanguage, | |
| const QString & | testLanguage, | |||
| Folder * | rootFolder | |||
| ) |
Definition at line 131 of file TermScheduler.cpp.
| void TermScheduler::reinit | ( | ) |
Definition at line 144 of file TermScheduler.cpp.
| void TermScheduler::addTerm | ( | const TermKey & | termKey, | |
| const int | priority = 0 | |||
| ) |
Definition at line 181 of file TermScheduler.cpp.
| void TermScheduler::discardCurrentTerm | ( | ) |
Definition at line 185 of file TermScheduler.cpp.
| const TermKey TermScheduler::getCurrentTerm | ( | ) | const |
Definition at line 189 of file TermScheduler.cpp.
| bool TermScheduler::hasNextTerm | ( | ) | const |
Definition at line 193 of file TermScheduler.cpp.
| const TermKey TermScheduler::getNextTerm | ( | ) |
Definition at line 205 of file TermScheduler.cpp.
| void TermScheduler::increaseTermPriority | ( | ) |
Definition at line 233 of file TermScheduler.cpp.
| void TermScheduler::decreaseTermPriority | ( | ) |
Definition at line 241 of file TermScheduler.cpp.
| void TermScheduler::rightAnswer | ( | ) |
Definition at line 249 of file TermScheduler.cpp.
| void TermScheduler::wrongAnswer | ( | ) |
Definition at line 258 of file TermScheduler.cpp.
| int TermScheduler::getProgress | ( | ) | const |
Definition at line 263 of file TermScheduler.cpp.
| int TermScheduler::getInitialTermCount | ( | ) | const |
Definition at line 288 of file TermScheduler.cpp.
| QDataStream& operator<< | ( | QDataStream & | out, | |
| const TermScheduler & | scheduler | |||
| ) | [friend] |
Definition at line 308 of file TermScheduler.cpp.
| QDataStream& operator>> | ( | QDataStream & | in, | |
| TermScheduler & | scheduler | |||
| ) | [friend] |
Definition at line 327 of file TermScheduler.cpp.
const uint TermScheduler::poolCount = 5 [static] |
Definition at line 22 of file TermScheduler.h.
1.5.6