parley
prefs.h
Go to the documentation of this file.
26 enum type { FlashCardsPractice, MixedLettersPractice, MultipleChoicePractice, WrittenPractice, ExampleSentencesPractice, GenderPractice, ComparisonPractice, ConjugationPractice, COUNT };
31 enum type { KnownToLearning, LearningToKnown, MixedDirectionsWordsOnly, MixedDirectionsWithSound, COUNT };
static void setExpireItem(int i, int v)
Set Amount of time after which different confidence levels should expire.
Definition: prefs.h:1371
static bool wordTypesInPracticeEnabled()
Get Only selected word types will be included in practice.
Definition: prefs.h:1191
static QColor invalidUnitColor()
Get Color used to display the confidence levels.
Definition: prefs.h:1058
static void setSmartAppend(bool v)
Set If true, when using the entry dialog, new rows will be appended as needed.
Definition: prefs.h:79
static void setPracticeMaximumWrongCount(int v)
Set The entry must have been answered incorrectly at most this often to be included in the practice...
Definition: prefs.h:1124
static int showSolutionAfterAnswerTime()
Get The time the solution is shown (seconds).
Definition: prefs.h:1305
static int practiceTimeoutTimePerAnswer()
Get Maximum time allowed to answer.
Definition: prefs.h:450
static void setAutoSave(bool v)
Set If true, vocabularies are automatically saved on close and exit.
Definition: prefs.h:155
static void setSessionMaxNewWords(int v)
Set The maximum number of new (untrained) words that will be used in a training session.
Definition: prefs.h:763
static EnumPracticeMode::type practiceMode()
Get The practice method that is currently selected.
Definition: prefs.h:1324
static bool autoSave()
Get If true, vocabularies are automatically saved on close and exit.
Definition: prefs.h:165
static void setBlock(bool v)
Set In Blocking Query Tab Dialog, if checked then the Query is blocked.
Definition: prefs.h:288
static void setShowSolutionAfterAnswer(bool v)
Set Show the solution after an answer was given.
Definition: prefs.h:1276
static bool practiceSoundEnabled()
Get Enable sound playback in the practice dialogs.
Definition: prefs.h:716
static void setPracticeFont(const QFont &v)
Set The font used in the vocabulary table.
Definition: prefs.h:934
Definition: prefs.h:18
static int practiceMinimumGrade()
Get The entry must have at least this confidence level to be included in the practice (0...
Definition: prefs.h:1153
static QString installationCommand()
Get The command used to start a downloaded vocabulary.
Definition: prefs.h:1419
static void setSeparator(const QString &v)
Set This sets the separator used when copying/pasting text, default is Tab.
Definition: prefs.h:98
static void setPracticeImagesEnabled(bool v)
Set Enable image display in the practice dialogs.
Definition: prefs.h:687
static bool flashcardsFrontImage()
Get Show images on the front of the flashcard.
Definition: prefs.h:260
static void setAutoOpenLast(bool v)
Set If true, on each application start the last opened file will be loaded.
Definition: prefs.h:136
static int practiceMaximumTimesAsked()
Get The entry must have been asked at most this often to be included in the practice.
Definition: prefs.h:1096
bool mMultipleChoiceWordTypeConsistancy
Definition: prefs.h:1490
static void setAutomaticTranslation(bool v)
Set Enable automatic translation of the unit entries.
Definition: prefs.h:231
static void setInstallationCommand(const QString &v)
Set The command used to start a downloaded vocabulary.
Definition: prefs.h:1409
Definition: prefs.h:10
static void setPracticeTimeout(bool v)
Set Limit the time for the user to answer in a test.
Definition: prefs.h:402
static void setTableLessonColumnVisible(bool v)
Set Show/hide the unit column.
Definition: prefs.h:858
static void setSkipKnownEnabled(bool v)
Set Enable Skip (I Know It) button in written practice.
Definition: prefs.h:649
Definition: prefs.h:26
static void setPreGradeColor(const QColor &v)
Set Color used to display the confidence levels.
Definition: prefs.h:1029
static int expireItem(int i)
Get Amount of time after which different confidence levels should expire.
Definition: prefs.h:1381
static void setPracticeMode(EnumPracticeMode::type v)
Set The practice method that is currently selected.
Definition: prefs.h:1314
static int numberMultipleChoiceAnswers()
Get How many answers are provided for a multiple choice question, including the correct answer...
Definition: prefs.h:811
static void setProvidersUrl(const QString &v)
Set The Providers path for Parley.
Definition: prefs.h:1390
static bool practiceImagesEnabled()
Get Enable image display in the practice dialogs.
Definition: prefs.h:697
Definition: prefs.h:23
static int testNumberOfEntries()
Get The number of entries that are practiced at the same time.
Definition: prefs.h:374
static void setInvalidUnitColor(const QColor &v)
Set Color used to display the confidence levels.
Definition: prefs.h:1048
static QStringList subWordTypesInPractice()
Get Selected sub word types for practices.
Definition: prefs.h:1229
static void setNumberMultipleChoiceAnswers(int v)
Set How many answers are provided for a multiple choice question, including the correct answer...
Definition: prefs.h:801
static void setSubWordTypesInPractice(const QStringList &v)
Set Selected sub word types for practices.
Definition: prefs.h:1219
static int blockItem(int i)
Get Amount of time different confidence levels should be blocked.
Definition: prefs.h:1362
static EnumPracticeTimeoutMode::type practiceTimeoutMode()
Get Show - show the solution after the given time; Continue - go to the next question after the given...
Definition: prefs.h:431
static void setBlockItem(int i, int v)
Set Amount of time different confidence levels should be blocked.
Definition: prefs.h:1352
static bool autoOpenLast()
Get If true, on each application start the last opened file will be loaded.
Definition: prefs.h:146
static void setIgnoreCapitalizationMistakes(bool v)
Set Count answers as right when only the capitalization is wrong.
Definition: prefs.h:516
static int practiceMinimumTimesAsked()
Get The entry must have been asked at least this often to be included in the practice.
Definition: prefs.h:1077
static void setMainWindowSplitter(const QList< int > &v)
Set How the main window is divided.
Definition: prefs.h:915
static void setPracticeMinimumGrade(int v)
Set The entry must have at least this confidence level to be included in the practice (0...
Definition: prefs.h:1143
static void setSplitTranslations(bool v)
Set Split translations in written practice.
Definition: prefs.h:535
static void setMultipleChoiceWordTypeConsistancy(bool v)
Set Use the same word type as the solution for the incorrect answers in a multiple choice practice...
Definition: prefs.h:782
static bool multipleChoiceWordTypeConsistancy()
Get Use the same word type as the solution for the incorrect answers in a multiple choice practice...
Definition: prefs.h:792
static bool expire()
Get In Blocking Query Tab Dialog, if checked then the Query accepts an expiring time.
Definition: prefs.h:317
static int practiceMinimumWrongCount()
Get The entry must have been answered incorrectly at least this often to be included in the practice...
Definition: prefs.h:1115
static int practiceMaximumWrongCount()
Get The entry must have been answered incorrectly at most this often to be included in the practice...
Definition: prefs.h:1134
Definition: prefs.h:16
static void setLearningLanguage(int v)
Set The language that you are learning.
Definition: prefs.h:1238
static void setPracticeMinimumTimesAsked(int v)
Set The entry must have been asked at least this often to be included in the practice.
Definition: prefs.h:1067
static QColor preGradeColor()
Get Color used to display the confidence levels.
Definition: prefs.h:1039
static void setGradeColor(const QColor &v)
Set Color used to display the confidence levels.
Definition: prefs.h:1010
static EnumPracticeDirection::type practiceDirection()
Get The practice mode that is currently selected.
Definition: prefs.h:1343
static void setWordTypesInPractice(const QStringList &v)
Set Selected word types for practices.
Definition: prefs.h:1200
Definition: prefs.h:28
static bool block()
Get In Blocking Query Tab Dialog, if checked then the Query is blocked.
Definition: prefs.h:298
static bool testOrderLesson()
Get Append new vocabulary in a collection in order of their units.
Definition: prefs.h:355
static int practiceMaximumGrade()
Get The entry must have at most this confidence level to be included in the practice (0...
Definition: prefs.h:1172
static void setSessionMaxSize(int v)
Set The maximum number of words that will be practiced in a training session.
Definition: prefs.h:744
static bool smartAppend()
Get If true, when using the entry dialog, new rows will be appended as needed.
Definition: prefs.h:89
static void setAutoBackup(bool v)
Set If true, a backup is saved every BackupTime minutes.
Definition: prefs.h:193
static void setPracticeSoundEnabled(bool v)
Set Enable sound playback in the practice dialogs.
Definition: prefs.h:706
static void setLessonEditingSelection(EnumLessonEditingSelection::type v)
Set Select which units are displayed for editing.
Definition: prefs.h:896
static EnumLessonEditingSelection::type lessonEditingSelection()
Get Select which units are displayed for editing.
Definition: prefs.h:906
static void setShowMore(bool v)
Set Enable Show More button to reveal parts of the solution in written practice.
Definition: prefs.h:630
static void setTestNumberOfEntries(int v)
Set The number of entries that are practiced at the same time.
Definition: prefs.h:364
static bool showSublessonentries()
Get When enabled a unit also shows entries from its subunits.
Definition: prefs.h:849
Definition: prefs.h:13
static void setTheme(const QString &v)
Set Theme to use for practice and welcome screen.
Definition: prefs.h:41
static void setFlashcardsBackImage(bool v)
Set Show images on the back of the flashcard.
Definition: prefs.h:269
static void setPracticeMaximumTimesAsked(int v)
Set The entry must have been asked at most this often to be included in the practice.
Definition: prefs.h:1086
static int sessionMaxNewWords()
Get The maximum number of new (untrained) words that will be used in a training session.
Definition: prefs.h:773
static void setAllowImageInsteadOfWord(bool v)
Set Allow using images instead of words in flashcards.
Definition: prefs.h:725
static bool countSynonymsAsCorrect()
Get When the synonym instead of the word was entered, does it count as correct?
Definition: prefs.h:678
static void setSuggestions(bool v)
Set Enable suggestion lists in written practice.
Definition: prefs.h:459
static void setTestOrderLesson(bool v)
Set Append new vocabulary in a collection in order of their units.
Definition: prefs.h:345
static bool ignoreAccentMistakes()
Get Count answers as right when only the accentuation is wrong.
Definition: prefs.h:507
static void setPracticeDirection(EnumPracticeDirection::type v)
Set The practice mode that is currently selected.
Definition: prefs.h:1333
static void setPracticeTimeoutMode(EnumPracticeTimeoutMode::type v)
Set Show - show the solution after the given time; Continue - go to the next question after the given...
Definition: prefs.h:421
static bool automaticTranslation()
Get Enable automatic translation of the unit entries.
Definition: prefs.h:241
static bool autoBackup()
Get If true, a backup is saved every BackupTime minutes.
Definition: prefs.h:203
static void setPracticeMinimumWrongCount(int v)
Set The entry must have been answered incorrectly at least this often to be included in the practice...
Definition: prefs.h:1105
static bool practiceTimeout()
Get Limit the time for the user to answer in a test.
Definition: prefs.h:412
Definition: prefs.h:16
static void setPracticeMaximumGrade(int v)
Set The entry must have at most this confidence level to be included in the practice (0...
Definition: prefs.h:1162
static bool allowImageInsteadOfWord()
Get Allow using images instead of words in flashcards.
Definition: prefs.h:735
Definition: prefs.h:31
static bool showSolutionAfterAnswer()
Get Show the solution after an answer was given.
Definition: prefs.h:1286
QString fromLatin1(const char *str, int size)
static void setBackupTime(int v)
Set Time interval between two automatic backups.
Definition: prefs.h:212
static void setPracticeTimeoutTimePerAnswer(int v)
Set Maximum time allowed to answer.
Definition: prefs.h:440
static int sessionMaxSize()
Get The maximum number of words that will be practiced in a training session.
Definition: prefs.h:754
static bool skipKnownEnabled()
Get Enable Skip (I Know It) button in written practice.
Definition: prefs.h:659
static void setTableActiveColumnVisible(bool v)
Set Show/hide the active column.
Definition: prefs.h:877
static QStringList wordTypesInPractice()
Get Selected word types for practices.
Definition: prefs.h:1210
static bool ignoreCapitalizationMistakes()
Get Count answers as right when only the capitalization is wrong.
Definition: prefs.h:526
static void setWordTypesInPracticeEnabled(bool v)
Set Only selected word types will be included in practice.
Definition: prefs.h:1181
static void setExpire(bool v)
Set In Blocking Query Tab Dialog, if checked then the Query accepts an expiring time.
Definition: prefs.h:307
static void setInstallPath(const QString &v)
Set The folder where downloaded vocabularies are saved by default.
Definition: prefs.h:1428
static bool showMore()
Get Enable Show More button to reveal parts of the solution in written practice.
Definition: prefs.h:640
static void setShowSolutionAfterAnswerTime(int v)
Set The time the solution is shown (seconds).
Definition: prefs.h:1295
static void setCountSynonymsAsCorrect(bool v)
Set When the synonym instead of the word was entered, does it count as correct?
Definition: prefs.h:668
static bool flashcardsBackImage()
Get Show images on the back of the flashcard.
Definition: prefs.h:279
static QString installPath()
Get The folder where downloaded vocabularies are saved by default.
Definition: prefs.h:1438
static void setIgnoreAccentMistakes(bool v)
Set Count answers as right when only the accentuation is wrong.
Definition: prefs.h:497
static void setShowSublessonentries(bool v)
Set When enabled a unit also shows entries from its subunits.
Definition: prefs.h:839
static QString separator()
Get This sets the separator used when copying/pasting text, default is Tab.
Definition: prefs.h:108
static void setFlashcardsFrontImage(bool v)
Set Show images on the front of the flashcard.
Definition: prefs.h:250
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.