• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

parley

Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Prefs Class Reference

#include <prefs.h>

Inheritance diagram for Prefs:
Inheritance graph
[legend]

Classes

class  EnumLessonEditingSelection
 
class  EnumPracticeDirection
 
class  EnumPracticeMode
 
class  EnumPracticeTimeoutMode
 

Public Member Functions

 ~Prefs ()
 

Static Public Member Functions

static bool allowImageInsteadOfWord ()
 
static bool altLearn ()
 
static bool autoBackup ()
 
static bool automaticTranslation ()
 
static bool autoOpenLast ()
 
static bool autoSave ()
 
static int backupTime ()
 
static bool block ()
 
static int blockItem (int i)
 
static bool colons ()
 
static bool commas ()
 
static bool countSynonymsAsCorrect ()
 
static int currentCol ()
 
static int currentRow ()
 
static int entriesPerLesson ()
 
static bool expire ()
 
static int expireItem (int i)
 
static bool flashcardsBackImage ()
 
static bool flashcardsFrontImage ()
 
static QColor gradeColor ()
 
static bool ignoreAccentMistakes ()
 
static bool ignoreCapitalizationMistakes ()
 
static QString installationCommand ()
 
static QString installPath ()
 
static QColor invalidUnitColor ()
 
static QFont iPAFont ()
 
static int knownLanguage ()
 
static int learningLanguage ()
 
static
EnumLessonEditingSelection::type 
lessonEditingSelection ()
 
static QList< int > mainWindowSplitter ()
 
static bool multipleChoiceWordTypeConsistancy ()
 
static int numberMultipleChoiceAnswers ()
 
static int numPreSetting ()
 
static bool periods ()
 
static EnumPracticeDirection::type practiceDirection ()
 
static QFont practiceFont ()
 
static bool practiceImagesEnabled ()
 
static int practiceMaximumGrade ()
 
static int practiceMaximumTimesAsked ()
 
static int practiceMaximumWrongCount ()
 
static int practiceMinimumGrade ()
 
static int practiceMinimumTimesAsked ()
 
static int practiceMinimumWrongCount ()
 
static EnumPracticeMode::type practiceMode ()
 
static bool practiceSoundEnabled ()
 
static bool practiceTimeout ()
 
static
EnumPracticeTimeoutMode::type 
practiceTimeoutMode ()
 
static int practiceTimeoutTimePerAnswer ()
 
static QColor preGradeColor ()
 
static QString providersUrl ()
 
static Prefs * self ()
 
static bool semicolons ()
 
static QString separator ()
 
static int separatorCombo ()
 
static int sessionMaxNewWords ()
 
static int sessionMaxSize ()
 
static void setAllowImageInsteadOfWord (bool v)
 
static void setAltLearn (bool v)
 
static void setAutoBackup (bool v)
 
static void setAutomaticTranslation (bool v)
 
static void setAutoOpenLast (bool v)
 
static void setAutoSave (bool v)
 
static void setBackupTime (int v)
 
static void setBlock (bool v)
 
static void setBlockItem (int i, int v)
 
static void setColons (bool v)
 
static void setCommas (bool v)
 
static void setCountSynonymsAsCorrect (bool v)
 
static void setCurrentCol (int v)
 
static void setCurrentRow (int v)
 
static void setEntriesPerLesson (int v)
 
static void setExpire (bool v)
 
static void setExpireItem (int i, int v)
 
static void setFlashcardsBackImage (bool v)
 
static void setFlashcardsFrontImage (bool v)
 
static void setGradeColor (const QColor &v)
 
static void setIgnoreAccentMistakes (bool v)
 
static void setIgnoreCapitalizationMistakes (bool v)
 
static void setInstallationCommand (const QString &v)
 
static void setInstallPath (const QString &v)
 
static void setInvalidUnitColor (const QColor &v)
 
static void setIPAFont (const QFont &v)
 
static void setKnownLanguage (int v)
 
static void setLearningLanguage (int v)
 
static void setLessonEditingSelection (EnumLessonEditingSelection::type v)
 
static void setMainWindowSplitter (const QList< int > &v)
 
static void setMultipleChoiceWordTypeConsistancy (bool v)
 
static void setNumberMultipleChoiceAnswers (int v)
 
static void setNumPreSetting (int v)
 
static void setPeriods (bool v)
 
static void setPracticeDirection (EnumPracticeDirection::type v)
 
static void setPracticeFont (const QFont &v)
 
static void setPracticeImagesEnabled (bool v)
 
static void setPracticeMaximumGrade (int v)
 
static void setPracticeMaximumTimesAsked (int v)
 
static void setPracticeMaximumWrongCount (int v)
 
static void setPracticeMinimumGrade (int v)
 
static void setPracticeMinimumTimesAsked (int v)
 
static void setPracticeMinimumWrongCount (int v)
 
static void setPracticeMode (EnumPracticeMode::type v)
 
static void setPracticeSoundEnabled (bool v)
 
static void setPracticeTimeout (bool v)
 
static void setPracticeTimeoutMode (EnumPracticeTimeoutMode::type v)
 
static void setPracticeTimeoutTimePerAnswer (int v)
 
static void setPreGradeColor (const QColor &v)
 
static void setProvidersUrl (const QString &v)
 
static void setSemicolons (bool v)
 
static void setSeparator (const QString &v)
 
static void setSeparatorCombo (int v)
 
static void setSessionMaxNewWords (int v)
 
static void setSessionMaxSize (int v)
 
static void setShowHints (bool v)
 
static void setShowMore (bool v)
 
static void setShowSearch (bool v)
 
static void setShowSolutionAfterAnswer (bool v)
 
static void setShowSolutionAfterAnswerTime (int v)
 
static void setShowSublessonentries (bool v)
 
static void setSkipKnownEnabled (bool v)
 
static void setSmartAppend (bool v)
 
static void setSplitTranslations (bool v)
 
static void setSubWordTypesInPractice (const QStringList &v)
 
static void setSuggestions (bool v)
 
static void setSwapDirection (bool v)
 
static void setTableActiveColumnVisible (bool v)
 
static void setTableLessonColumnVisible (bool v)
 
static void setTestNumberOfEntries (int v)
 
static void setTestOrderLesson (bool v)
 
static void setTheme (const QString &v)
 
static void setWordTypesInPractice (const QStringList &v)
 
static void setWordTypesInPracticeEnabled (bool v)
 
static bool showHints ()
 
static bool showMore ()
 
static bool showSearch ()
 
static bool showSolutionAfterAnswer ()
 
static int showSolutionAfterAnswerTime ()
 
static bool showSublessonentries ()
 
static bool skipKnownEnabled ()
 
static bool smartAppend ()
 
static bool splitTranslations ()
 
static QStringList subWordTypesInPractice ()
 
static bool suggestions ()
 
static bool swapDirection ()
 
static bool tableActiveColumnVisible ()
 
static bool tableLessonColumnVisible ()
 
static int testNumberOfEntries ()
 
static bool testOrderLesson ()
 
static QString theme ()
 
static QStringList wordTypesInPractice ()
 
static bool wordTypesInPracticeEnabled ()
 

Protected Member Functions

 Prefs ()
 

Protected Attributes

bool mAllowImageInsteadOfWord
 
bool mAltLearn
 
bool mAutoBackup
 
bool mAutomaticTranslation
 
bool mAutoOpenLast
 
bool mAutoSave
 
int mBackupTime
 
bool mBlock
 
int mBlockItem [8]
 
bool mColons
 
bool mCommas
 
bool mCountSynonymsAsCorrect
 
int mCurrentCol
 
int mCurrentRow
 
int mEntriesPerLesson
 
bool mExpire
 
int mExpireItem [8]
 
bool mFlashcardsBackImage
 
bool mFlashcardsFrontImage
 
QColor mGradeColor
 
bool mIgnoreAccentMistakes
 
bool mIgnoreCapitalizationMistakes
 
QString mInstallationCommand
 
QString mInstallPath
 
QColor mInvalidUnitColor
 
QFont mIPAFont
 
int mKnownLanguage
 
int mLearningLanguage
 
int mLessonEditingSelection
 
QList< int > mMainWindowSplitter
 
bool mMultipleChoiceWordTypeConsistancy
 
int mNumberMultipleChoiceAnswers
 
int mNumPreSetting
 
bool mPeriods
 
int mPracticeDirection
 
QFont mPracticeFont
 
bool mPracticeImagesEnabled
 
int mPracticeMaximumGrade
 
int mPracticeMaximumTimesAsked
 
int mPracticeMaximumWrongCount
 
int mPracticeMinimumGrade
 
int mPracticeMinimumTimesAsked
 
int mPracticeMinimumWrongCount
 
int mPracticeMode
 
bool mPracticeSoundEnabled
 
bool mPracticeTimeout
 
int mPracticeTimeoutMode
 
int mPracticeTimeoutTimePerAnswer
 
QColor mPreGradeColor
 
QString mProvidersUrl
 
bool mSemicolons
 
QString mSeparator
 
int mSeparatorCombo
 
int mSessionMaxNewWords
 
int mSessionMaxSize
 
bool mShowHints
 
bool mShowMore
 
bool mShowSearch
 
bool mShowSolutionAfterAnswer
 
int mShowSolutionAfterAnswerTime
 
bool mShowSublessonentries
 
bool mSkipKnownEnabled
 
bool mSmartAppend
 
bool mSplitTranslations
 
QStringList mSubWordTypesInPractice
 
bool mSuggestions
 
bool mSwapDirection
 
bool mTableActiveColumnVisible
 
bool mTableLessonColumnVisible
 
int mTestNumberOfEntries
 
bool mTestOrderLesson
 
QString mTheme
 
QStringList mWordTypesInPractice
 
bool mWordTypesInPracticeEnabled
 

Detailed Description

Definition at line 10 of file prefs.h.

Constructor & Destructor Documentation

Prefs::~Prefs ( )

Definition at line 399 of file prefs.cpp.

Prefs::Prefs ( )
protected

Definition at line 27 of file prefs.cpp.

Member Function Documentation

static bool Prefs::allowImageInsteadOfWord ( )
inlinestatic

Get Allow using images instead of words in flashcards.

This will only be done if there is no word in the entry.

Definition at line 735 of file prefs.h.

static bool Prefs::altLearn ( )
inlinestatic

Get Use the Leitner learning method.

Definition at line 336 of file prefs.h.

static bool Prefs::autoBackup ( )
inlinestatic

Get If true, a backup is saved every BackupTime minutes.

Definition at line 203 of file prefs.h.

static bool Prefs::automaticTranslation ( )
inlinestatic

Get Enable automatic translation of the unit entries.

Definition at line 241 of file prefs.h.

static bool Prefs::autoOpenLast ( )
inlinestatic

Get If true, on each application start the last opened file will be loaded.

Definition at line 146 of file prefs.h.

static bool Prefs::autoSave ( )
inlinestatic

Get If true, vocabularies are automatically saved on close and exit.

Definition at line 165 of file prefs.h.

static int Prefs::backupTime ( )
inlinestatic

Get Time interval between two automatic backups.

Definition at line 222 of file prefs.h.

static bool Prefs::block ( )
inlinestatic

Get In Blocking Query Tab Dialog, if checked then the Query is blocked.

Definition at line 298 of file prefs.h.

static int Prefs::blockItem ( int  i)
inlinestatic

Get Amount of time different confidence levels should be blocked.

Definition at line 1362 of file prefs.h.

static bool Prefs::colons ( )
inlinestatic

Get Split translations at colons.

Definition at line 583 of file prefs.h.

static bool Prefs::commas ( )
inlinestatic

Get Split translations at commas.

Definition at line 621 of file prefs.h.

static bool Prefs::countSynonymsAsCorrect ( )
inlinestatic

Get When the synonym instead of the word was entered, does it count as correct?

Definition at line 678 of file prefs.h.

static int Prefs::currentCol ( )
inlinestatic

Get Currently selected column.

Definition at line 982 of file prefs.h.

static int Prefs::currentRow ( )
inlinestatic

Get Currently selected row.

Definition at line 1001 of file prefs.h.

static int Prefs::entriesPerLesson ( )
inlinestatic

Get The number of entries per unit.

Definition at line 127 of file prefs.h.

static bool Prefs::expire ( )
inlinestatic

Get In Blocking Query Tab Dialog, if checked then the Query accepts an expiring time.

Definition at line 317 of file prefs.h.

static int Prefs::expireItem ( int  i)
inlinestatic

Get Amount of time after which different confidence levels should expire.

Definition at line 1381 of file prefs.h.

static bool Prefs::flashcardsBackImage ( )
inlinestatic

Get Show images on the back of the flashcard.

Definition at line 279 of file prefs.h.

static bool Prefs::flashcardsFrontImage ( )
inlinestatic

Get Show images on the front of the flashcard.

Definition at line 260 of file prefs.h.

static QColor Prefs::gradeColor ( )
inlinestatic

Get Color used to display the confidence levels.

Definition at line 1020 of file prefs.h.

static bool Prefs::ignoreAccentMistakes ( )
inlinestatic

Get Count answers as right when only the accentuation is wrong.

Definition at line 507 of file prefs.h.

static bool Prefs::ignoreCapitalizationMistakes ( )
inlinestatic

Get Count answers as right when only the capitalization is wrong.

Definition at line 526 of file prefs.h.

static QString Prefs::installationCommand ( )
inlinestatic

Get The command used to start a downloaded vocabulary.

Definition at line 1419 of file prefs.h.

static QString Prefs::installPath ( )
inlinestatic

Get The folder where downloaded vocabularies are saved by default.

Definition at line 1438 of file prefs.h.

static QColor Prefs::invalidUnitColor ( )
inlinestatic

Get Color used to display the confidence levels.

Definition at line 1058 of file prefs.h.

static QFont Prefs::iPAFont ( )
inlinestatic

Get The font used for phonetics.

Definition at line 963 of file prefs.h.

static int Prefs::knownLanguage ( )
inlinestatic

Get The language that you know already.

Definition at line 1267 of file prefs.h.

static int Prefs::learningLanguage ( )
inlinestatic

Get The language that you are learning.

Definition at line 1248 of file prefs.h.

static EnumLessonEditingSelection::type Prefs::lessonEditingSelection ( )
inlinestatic

Get Select which units are displayed for editing.

Definition at line 906 of file prefs.h.

static QList<int> Prefs::mainWindowSplitter ( )
inlinestatic

Get How the main window is divided.

Definition at line 925 of file prefs.h.

static bool Prefs::multipleChoiceWordTypeConsistancy ( )
inlinestatic

Get Use the same word type as the solution for the incorrect answers in a multiple choice practice.

Definition at line 792 of file prefs.h.

static int Prefs::numberMultipleChoiceAnswers ( )
inlinestatic

Get How many answers are provided for a multiple choice question, including the correct answer.

Definition at line 811 of file prefs.h.

static int Prefs::numPreSetting ( )
inlinestatic

Get Number of stored setting profiles.

Definition at line 70 of file prefs.h.

static bool Prefs::periods ( )
inlinestatic

Get Split translations at periods.

Definition at line 564 of file prefs.h.

static EnumPracticeDirection::type Prefs::practiceDirection ( )
inlinestatic

Get The practice mode that is currently selected.

Definition at line 1343 of file prefs.h.

static QFont Prefs::practiceFont ( )
inlinestatic

Get The font used in the vocabulary table.

Definition at line 944 of file prefs.h.

static bool Prefs::practiceImagesEnabled ( )
inlinestatic

Get Enable image display in the practice dialogs.

Definition at line 697 of file prefs.h.

static int Prefs::practiceMaximumGrade ( )
inlinestatic

Get The entry must have at most this confidence level to be included in the practice (0..7).

Definition at line 1172 of file prefs.h.

static int Prefs::practiceMaximumTimesAsked ( )
inlinestatic

Get The entry must have been asked at most this often to be included in the practice.

Definition at line 1096 of file prefs.h.

static int Prefs::practiceMaximumWrongCount ( )
inlinestatic

Get The entry must have been answered incorrectly at most this often to be included in the practice.

Definition at line 1134 of file prefs.h.

static int Prefs::practiceMinimumGrade ( )
inlinestatic

Get The entry must have at least this confidence level to be included in the practice (0..7).

Definition at line 1153 of file prefs.h.

static int Prefs::practiceMinimumTimesAsked ( )
inlinestatic

Get The entry must have been asked at least this often to be included in the practice.

Definition at line 1077 of file prefs.h.

static int Prefs::practiceMinimumWrongCount ( )
inlinestatic

Get The entry must have been answered incorrectly at least this often to be included in the practice.

Definition at line 1115 of file prefs.h.

static EnumPracticeMode::type Prefs::practiceMode ( )
inlinestatic

Get The practice method that is currently selected.

Definition at line 1324 of file prefs.h.

static bool Prefs::practiceSoundEnabled ( )
inlinestatic

Get Enable sound playback in the practice dialogs.

Definition at line 716 of file prefs.h.

static bool Prefs::practiceTimeout ( )
inlinestatic

Get Limit the time for the user to answer in a test.

Definition at line 412 of file prefs.h.

static EnumPracticeTimeoutMode::type Prefs::practiceTimeoutMode ( )
inlinestatic

Get Show - show the solution after the given time; Continue - go to the next question after the given time.

Definition at line 431 of file prefs.h.

static int Prefs::practiceTimeoutTimePerAnswer ( )
inlinestatic

Get Maximum time allowed to answer.

Definition at line 450 of file prefs.h.

static QColor Prefs::preGradeColor ( )
inlinestatic

Get Color used to display the confidence levels.

Definition at line 1039 of file prefs.h.

static QString Prefs::providersUrl ( )
inlinestatic

Get The Providers path for Parley.

Definition at line 1400 of file prefs.h.

Prefs * Prefs::self ( )
static

Definition at line 17 of file prefs.cpp.

static bool Prefs::semicolons ( )
inlinestatic

Get Split translations at semicolons.

Definition at line 602 of file prefs.h.

static QString Prefs::separator ( )
inlinestatic

Get This sets the separator used when copying/pasting text, default is Tab.

Definition at line 108 of file prefs.h.

static int Prefs::separatorCombo ( )
inlinestatic

Get SeparatorCombo.

Definition at line 184 of file prefs.h.

static int Prefs::sessionMaxNewWords ( )
inlinestatic

Get The maximum number of new (untrained) words that will be used in a training session.

Definition at line 773 of file prefs.h.

static int Prefs::sessionMaxSize ( )
inlinestatic

Get The maximum number of words that will be practiced in a training session.

Definition at line 754 of file prefs.h.

static void Prefs::setAllowImageInsteadOfWord ( bool  v)
inlinestatic

Set Allow using images instead of words in flashcards.

This will only be done if there is no word in the entry.

Definition at line 725 of file prefs.h.

static void Prefs::setAltLearn ( bool  v)
inlinestatic

Set Use the Leitner learning method.

Definition at line 326 of file prefs.h.

static void Prefs::setAutoBackup ( bool  v)
inlinestatic

Set If true, a backup is saved every BackupTime minutes.

Definition at line 193 of file prefs.h.

static void Prefs::setAutomaticTranslation ( bool  v)
inlinestatic

Set Enable automatic translation of the unit entries.

Definition at line 231 of file prefs.h.

static void Prefs::setAutoOpenLast ( bool  v)
inlinestatic

Set If true, on each application start the last opened file will be loaded.

Definition at line 136 of file prefs.h.

static void Prefs::setAutoSave ( bool  v)
inlinestatic

Set If true, vocabularies are automatically saved on close and exit.

Definition at line 155 of file prefs.h.

static void Prefs::setBackupTime ( int  v)
inlinestatic

Set Time interval between two automatic backups.

Definition at line 212 of file prefs.h.

static void Prefs::setBlock ( bool  v)
inlinestatic

Set In Blocking Query Tab Dialog, if checked then the Query is blocked.

Definition at line 288 of file prefs.h.

static void Prefs::setBlockItem ( int  i,
int  v 
)
inlinestatic

Set Amount of time different confidence levels should be blocked.

Definition at line 1352 of file prefs.h.

static void Prefs::setColons ( bool  v)
inlinestatic

Set Split translations at colons.

Definition at line 573 of file prefs.h.

static void Prefs::setCommas ( bool  v)
inlinestatic

Set Split translations at commas.

Definition at line 611 of file prefs.h.

static void Prefs::setCountSynonymsAsCorrect ( bool  v)
inlinestatic

Set When the synonym instead of the word was entered, does it count as correct?

Definition at line 668 of file prefs.h.

static void Prefs::setCurrentCol ( int  v)
inlinestatic

Set Currently selected column.

Definition at line 972 of file prefs.h.

static void Prefs::setCurrentRow ( int  v)
inlinestatic

Set Currently selected row.

Definition at line 991 of file prefs.h.

static void Prefs::setEntriesPerLesson ( int  v)
inlinestatic

Set The number of entries per unit.

Definition at line 117 of file prefs.h.

static void Prefs::setExpire ( bool  v)
inlinestatic

Set In Blocking Query Tab Dialog, if checked then the Query accepts an expiring time.

Definition at line 307 of file prefs.h.

static void Prefs::setExpireItem ( int  i,
int  v 
)
inlinestatic

Set Amount of time after which different confidence levels should expire.

Definition at line 1371 of file prefs.h.

static void Prefs::setFlashcardsBackImage ( bool  v)
inlinestatic

Set Show images on the back of the flashcard.

Definition at line 269 of file prefs.h.

static void Prefs::setFlashcardsFrontImage ( bool  v)
inlinestatic

Set Show images on the front of the flashcard.

Definition at line 250 of file prefs.h.

static void Prefs::setGradeColor ( const QColor &  v)
inlinestatic

Set Color used to display the confidence levels.

Definition at line 1010 of file prefs.h.

static void Prefs::setIgnoreAccentMistakes ( bool  v)
inlinestatic

Set Count answers as right when only the accentuation is wrong.

Definition at line 497 of file prefs.h.

static void Prefs::setIgnoreCapitalizationMistakes ( bool  v)
inlinestatic

Set Count answers as right when only the capitalization is wrong.

Definition at line 516 of file prefs.h.

static void Prefs::setInstallationCommand ( const QString &  v)
inlinestatic

Set The command used to start a downloaded vocabulary.

Definition at line 1409 of file prefs.h.

static void Prefs::setInstallPath ( const QString &  v)
inlinestatic

Set The folder where downloaded vocabularies are saved by default.

Definition at line 1428 of file prefs.h.

static void Prefs::setInvalidUnitColor ( const QColor &  v)
inlinestatic

Set Color used to display the confidence levels.

Definition at line 1048 of file prefs.h.

static void Prefs::setIPAFont ( const QFont &  v)
inlinestatic

Set The font used for phonetics.

Definition at line 953 of file prefs.h.

static void Prefs::setKnownLanguage ( int  v)
inlinestatic

Set The language that you know already.

Definition at line 1257 of file prefs.h.

static void Prefs::setLearningLanguage ( int  v)
inlinestatic

Set The language that you are learning.

Definition at line 1238 of file prefs.h.

static void Prefs::setLessonEditingSelection ( EnumLessonEditingSelection::type  v)
inlinestatic

Set Select which units are displayed for editing.

Definition at line 896 of file prefs.h.

static void Prefs::setMainWindowSplitter ( const QList< int > &  v)
inlinestatic

Set How the main window is divided.

Definition at line 915 of file prefs.h.

static void Prefs::setMultipleChoiceWordTypeConsistancy ( bool  v)
inlinestatic

Set Use the same word type as the solution for the incorrect answers in a multiple choice practice.

Definition at line 782 of file prefs.h.

static void Prefs::setNumberMultipleChoiceAnswers ( int  v)
inlinestatic

Set How many answers are provided for a multiple choice question, including the correct answer.

Definition at line 801 of file prefs.h.

static void Prefs::setNumPreSetting ( int  v)
inlinestatic

Set Number of stored setting profiles.

Definition at line 60 of file prefs.h.

static void Prefs::setPeriods ( bool  v)
inlinestatic

Set Split translations at periods.

Definition at line 554 of file prefs.h.

static void Prefs::setPracticeDirection ( EnumPracticeDirection::type  v)
inlinestatic

Set The practice mode that is currently selected.

Definition at line 1333 of file prefs.h.

static void Prefs::setPracticeFont ( const QFont &  v)
inlinestatic

Set The font used in the vocabulary table.

Definition at line 934 of file prefs.h.

static void Prefs::setPracticeImagesEnabled ( bool  v)
inlinestatic

Set Enable image display in the practice dialogs.

Definition at line 687 of file prefs.h.

static void Prefs::setPracticeMaximumGrade ( int  v)
inlinestatic

Set The entry must have at most this confidence level to be included in the practice (0..7).

Definition at line 1162 of file prefs.h.

static void Prefs::setPracticeMaximumTimesAsked ( int  v)
inlinestatic

Set The entry must have been asked at most this often to be included in the practice.

Definition at line 1086 of file prefs.h.

static void Prefs::setPracticeMaximumWrongCount ( int  v)
inlinestatic

Set The entry must have been answered incorrectly at most this often to be included in the practice.

Definition at line 1124 of file prefs.h.

static void Prefs::setPracticeMinimumGrade ( int  v)
inlinestatic

Set The entry must have at least this confidence level to be included in the practice (0..7).

Definition at line 1143 of file prefs.h.

static void Prefs::setPracticeMinimumTimesAsked ( int  v)
inlinestatic

Set The entry must have been asked at least this often to be included in the practice.

Definition at line 1067 of file prefs.h.

static void Prefs::setPracticeMinimumWrongCount ( int  v)
inlinestatic

Set The entry must have been answered incorrectly at least this often to be included in the practice.

Definition at line 1105 of file prefs.h.

static void Prefs::setPracticeMode ( EnumPracticeMode::type  v)
inlinestatic

Set The practice method that is currently selected.

Definition at line 1314 of file prefs.h.

static void Prefs::setPracticeSoundEnabled ( bool  v)
inlinestatic

Set Enable sound playback in the practice dialogs.

Definition at line 706 of file prefs.h.

static void Prefs::setPracticeTimeout ( bool  v)
inlinestatic

Set Limit the time for the user to answer in a test.

Definition at line 402 of file prefs.h.

static void Prefs::setPracticeTimeoutMode ( EnumPracticeTimeoutMode::type  v)
inlinestatic

Set Show - show the solution after the given time; Continue - go to the next question after the given time.

Definition at line 421 of file prefs.h.

static void Prefs::setPracticeTimeoutTimePerAnswer ( int  v)
inlinestatic

Set Maximum time allowed to answer.

Definition at line 440 of file prefs.h.

static void Prefs::setPreGradeColor ( const QColor &  v)
inlinestatic

Set Color used to display the confidence levels.

Definition at line 1029 of file prefs.h.

static void Prefs::setProvidersUrl ( const QString &  v)
inlinestatic

Set The Providers path for Parley.

Definition at line 1390 of file prefs.h.

static void Prefs::setSemicolons ( bool  v)
inlinestatic

Set Split translations at semicolons.

Definition at line 592 of file prefs.h.

static void Prefs::setSeparator ( const QString &  v)
inlinestatic

Set This sets the separator used when copying/pasting text, default is Tab.

Definition at line 98 of file prefs.h.

static void Prefs::setSeparatorCombo ( int  v)
inlinestatic

Set SeparatorCombo.

Definition at line 174 of file prefs.h.

static void Prefs::setSessionMaxNewWords ( int  v)
inlinestatic

Set The maximum number of new (untrained) words that will be used in a training session.

Definition at line 763 of file prefs.h.

static void Prefs::setSessionMaxSize ( int  v)
inlinestatic

Set The maximum number of words that will be practiced in a training session.

Definition at line 744 of file prefs.h.

static void Prefs::setShowHints ( bool  v)
inlinestatic

Set Enable the showing of hints.

Definition at line 478 of file prefs.h.

static void Prefs::setShowMore ( bool  v)
inlinestatic

Set Enable Show More button to reveal parts of the solution in written practice.

Definition at line 630 of file prefs.h.

static void Prefs::setShowSearch ( bool  v)
inlinestatic

Set Toggle display of the search bar.

Definition at line 820 of file prefs.h.

static void Prefs::setShowSolutionAfterAnswer ( bool  v)
inlinestatic

Set Show the solution after an answer was given.

Definition at line 1276 of file prefs.h.

static void Prefs::setShowSolutionAfterAnswerTime ( int  v)
inlinestatic

Set The time the solution is shown (seconds).

0 is unlimited.

Definition at line 1295 of file prefs.h.

static void Prefs::setShowSublessonentries ( bool  v)
inlinestatic

Set When enabled a unit also shows entries from its subunits.

Definition at line 839 of file prefs.h.

static void Prefs::setSkipKnownEnabled ( bool  v)
inlinestatic

Set Enable Skip (I Know It) button in written practice.

Definition at line 649 of file prefs.h.

static void Prefs::setSmartAppend ( bool  v)
inlinestatic

Set If true, when using the entry dialog, new rows will be appended as needed.

Definition at line 79 of file prefs.h.

static void Prefs::setSplitTranslations ( bool  v)
inlinestatic

Set Split translations in written practice.

Definition at line 535 of file prefs.h.

static void Prefs::setSubWordTypesInPractice ( const QStringList &  v)
inlinestatic

Set Selected sub word types for practices.

Definition at line 1219 of file prefs.h.

static void Prefs::setSuggestions ( bool  v)
inlinestatic

Set Enable suggestion lists in written practice.

Definition at line 459 of file prefs.h.

static void Prefs::setSwapDirection ( bool  v)
inlinestatic

Set Swap direction randomly.

Definition at line 383 of file prefs.h.

static void Prefs::setTableActiveColumnVisible ( bool  v)
inlinestatic

Set Show/hide the active column.

Definition at line 877 of file prefs.h.

static void Prefs::setTableLessonColumnVisible ( bool  v)
inlinestatic

Set Show/hide the unit column.

Definition at line 858 of file prefs.h.

static void Prefs::setTestNumberOfEntries ( int  v)
inlinestatic

Set The number of entries that are practiced at the same time.

If one of these is answered correctly another entry will be appended.

Definition at line 364 of file prefs.h.

static void Prefs::setTestOrderLesson ( bool  v)
inlinestatic

Set Append new vocabulary in a collection in order of their units.

Note that this will not be a hard transition, but a slow mix from one unit to the next.

Definition at line 345 of file prefs.h.

static void Prefs::setTheme ( const QString &  v)
inlinestatic

Set Theme to use for practice and welcome screen.

Definition at line 41 of file prefs.h.

static void Prefs::setWordTypesInPractice ( const QStringList &  v)
inlinestatic

Set Selected word types for practices.

Definition at line 1200 of file prefs.h.

static void Prefs::setWordTypesInPracticeEnabled ( bool  v)
inlinestatic

Set Only selected word types will be included in practice.

Definition at line 1181 of file prefs.h.

static bool Prefs::showHints ( )
inlinestatic

Get Enable the showing of hints.

Definition at line 488 of file prefs.h.

static bool Prefs::showMore ( )
inlinestatic

Get Enable Show More button to reveal parts of the solution in written practice.

Definition at line 640 of file prefs.h.

static bool Prefs::showSearch ( )
inlinestatic

Get Toggle display of the search bar.

Definition at line 830 of file prefs.h.

static bool Prefs::showSolutionAfterAnswer ( )
inlinestatic

Get Show the solution after an answer was given.

Definition at line 1286 of file prefs.h.

static int Prefs::showSolutionAfterAnswerTime ( )
inlinestatic

Get The time the solution is shown (seconds).

0 is unlimited.

Definition at line 1305 of file prefs.h.

static bool Prefs::showSublessonentries ( )
inlinestatic

Get When enabled a unit also shows entries from its subunits.

Definition at line 849 of file prefs.h.

static bool Prefs::skipKnownEnabled ( )
inlinestatic

Get Enable Skip (I Know It) button in written practice.

Definition at line 659 of file prefs.h.

static bool Prefs::smartAppend ( )
inlinestatic

Get If true, when using the entry dialog, new rows will be appended as needed.

Definition at line 89 of file prefs.h.

static bool Prefs::splitTranslations ( )
inlinestatic

Get Split translations in written practice.

Definition at line 545 of file prefs.h.

static QStringList Prefs::subWordTypesInPractice ( )
inlinestatic

Get Selected sub word types for practices.

Definition at line 1229 of file prefs.h.

static bool Prefs::suggestions ( )
inlinestatic

Get Enable suggestion lists in written practice.

Definition at line 469 of file prefs.h.

static bool Prefs::swapDirection ( )
inlinestatic

Get Swap direction randomly.

Definition at line 393 of file prefs.h.

static bool Prefs::tableActiveColumnVisible ( )
inlinestatic

Get Show/hide the active column.

Definition at line 887 of file prefs.h.

static bool Prefs::tableLessonColumnVisible ( )
inlinestatic

Get Show/hide the unit column.

Definition at line 868 of file prefs.h.

static int Prefs::testNumberOfEntries ( )
inlinestatic

Get The number of entries that are practiced at the same time.

If one of these is answered correctly another entry will be appended.

Definition at line 374 of file prefs.h.

static bool Prefs::testOrderLesson ( )
inlinestatic

Get Append new vocabulary in a collection in order of their units.

Note that this will not be a hard transition, but a slow mix from one unit to the next.

Definition at line 355 of file prefs.h.

static QString Prefs::theme ( )
inlinestatic

Get Theme to use for practice and welcome screen.

Definition at line 51 of file prefs.h.

static QStringList Prefs::wordTypesInPractice ( )
inlinestatic

Get Selected word types for practices.

Definition at line 1210 of file prefs.h.

static bool Prefs::wordTypesInPracticeEnabled ( )
inlinestatic

Get Only selected word types will be included in practice.

Definition at line 1191 of file prefs.h.

Member Data Documentation

bool Prefs::mAllowImageInsteadOfWord
protected

Definition at line 1487 of file prefs.h.

bool Prefs::mAltLearn
protected

Definition at line 1466 of file prefs.h.

bool Prefs::mAutoBackup
protected

Definition at line 1457 of file prefs.h.

bool Prefs::mAutomaticTranslation
protected

Definition at line 1459 of file prefs.h.

bool Prefs::mAutoOpenLast
protected

Definition at line 1454 of file prefs.h.

bool Prefs::mAutoSave
protected

Definition at line 1455 of file prefs.h.

int Prefs::mBackupTime
protected

Definition at line 1458 of file prefs.h.

bool Prefs::mBlock
protected

Definition at line 1464 of file prefs.h.

int Prefs::mBlockItem[8]
protected

Definition at line 1526 of file prefs.h.

bool Prefs::mColons
protected

Definition at line 1479 of file prefs.h.

bool Prefs::mCommas
protected

Definition at line 1481 of file prefs.h.

bool Prefs::mCountSynonymsAsCorrect
protected

Definition at line 1484 of file prefs.h.

int Prefs::mCurrentCol
protected

Definition at line 1502 of file prefs.h.

int Prefs::mCurrentRow
protected

Definition at line 1503 of file prefs.h.

int Prefs::mEntriesPerLesson
protected

Definition at line 1453 of file prefs.h.

bool Prefs::mExpire
protected

Definition at line 1465 of file prefs.h.

int Prefs::mExpireItem[8]
protected

Definition at line 1527 of file prefs.h.

bool Prefs::mFlashcardsBackImage
protected

Definition at line 1463 of file prefs.h.

bool Prefs::mFlashcardsFrontImage
protected

Definition at line 1462 of file prefs.h.

QColor Prefs::mGradeColor
protected

Definition at line 1504 of file prefs.h.

bool Prefs::mIgnoreAccentMistakes
protected

Definition at line 1475 of file prefs.h.

bool Prefs::mIgnoreCapitalizationMistakes
protected

Definition at line 1476 of file prefs.h.

QString Prefs::mInstallationCommand
protected

Definition at line 1531 of file prefs.h.

QString Prefs::mInstallPath
protected

Definition at line 1532 of file prefs.h.

QColor Prefs::mInvalidUnitColor
protected

Definition at line 1506 of file prefs.h.

QFont Prefs::mIPAFont
protected

Definition at line 1501 of file prefs.h.

int Prefs::mKnownLanguage
protected

Definition at line 1521 of file prefs.h.

int Prefs::mLearningLanguage
protected

Definition at line 1520 of file prefs.h.

int Prefs::mLessonEditingSelection
protected

Definition at line 1498 of file prefs.h.

QList<int> Prefs::mMainWindowSplitter
protected

Definition at line 1499 of file prefs.h.

bool Prefs::mMultipleChoiceWordTypeConsistancy
protected

Definition at line 1490 of file prefs.h.

int Prefs::mNumberMultipleChoiceAnswers
protected

Definition at line 1491 of file prefs.h.

int Prefs::mNumPreSetting
protected

Definition at line 1450 of file prefs.h.

bool Prefs::mPeriods
protected

Definition at line 1478 of file prefs.h.

int Prefs::mPracticeDirection
protected

Definition at line 1525 of file prefs.h.

QFont Prefs::mPracticeFont
protected

Definition at line 1500 of file prefs.h.

bool Prefs::mPracticeImagesEnabled
protected

Definition at line 1485 of file prefs.h.

int Prefs::mPracticeMaximumGrade
protected

Definition at line 1514 of file prefs.h.

int Prefs::mPracticeMaximumTimesAsked
protected

Definition at line 1510 of file prefs.h.

int Prefs::mPracticeMaximumWrongCount
protected

Definition at line 1512 of file prefs.h.

int Prefs::mPracticeMinimumGrade
protected

Definition at line 1513 of file prefs.h.

int Prefs::mPracticeMinimumTimesAsked
protected

Definition at line 1509 of file prefs.h.

int Prefs::mPracticeMinimumWrongCount
protected

Definition at line 1511 of file prefs.h.

int Prefs::mPracticeMode
protected

Definition at line 1524 of file prefs.h.

bool Prefs::mPracticeSoundEnabled
protected

Definition at line 1486 of file prefs.h.

bool Prefs::mPracticeTimeout
protected

Definition at line 1470 of file prefs.h.

int Prefs::mPracticeTimeoutMode
protected

Definition at line 1471 of file prefs.h.

int Prefs::mPracticeTimeoutTimePerAnswer
protected

Definition at line 1472 of file prefs.h.

QColor Prefs::mPreGradeColor
protected

Definition at line 1505 of file prefs.h.

QString Prefs::mProvidersUrl
protected

Definition at line 1530 of file prefs.h.

bool Prefs::mSemicolons
protected

Definition at line 1480 of file prefs.h.

QString Prefs::mSeparator
protected

Definition at line 1452 of file prefs.h.

int Prefs::mSeparatorCombo
protected

Definition at line 1456 of file prefs.h.

int Prefs::mSessionMaxNewWords
protected

Definition at line 1489 of file prefs.h.

int Prefs::mSessionMaxSize
protected

Definition at line 1488 of file prefs.h.

bool Prefs::mShowHints
protected

Definition at line 1474 of file prefs.h.

bool Prefs::mShowMore
protected

Definition at line 1482 of file prefs.h.

bool Prefs::mShowSearch
protected

Definition at line 1494 of file prefs.h.

bool Prefs::mShowSolutionAfterAnswer
protected

Definition at line 1522 of file prefs.h.

int Prefs::mShowSolutionAfterAnswerTime
protected

Definition at line 1523 of file prefs.h.

bool Prefs::mShowSublessonentries
protected

Definition at line 1495 of file prefs.h.

bool Prefs::mSkipKnownEnabled
protected

Definition at line 1483 of file prefs.h.

bool Prefs::mSmartAppend
protected

Definition at line 1451 of file prefs.h.

bool Prefs::mSplitTranslations
protected

Definition at line 1477 of file prefs.h.

QStringList Prefs::mSubWordTypesInPractice
protected

Definition at line 1517 of file prefs.h.

bool Prefs::mSuggestions
protected

Definition at line 1473 of file prefs.h.

bool Prefs::mSwapDirection
protected

Definition at line 1469 of file prefs.h.

bool Prefs::mTableActiveColumnVisible
protected

Definition at line 1497 of file prefs.h.

bool Prefs::mTableLessonColumnVisible
protected

Definition at line 1496 of file prefs.h.

int Prefs::mTestNumberOfEntries
protected

Definition at line 1468 of file prefs.h.

bool Prefs::mTestOrderLesson
protected

Definition at line 1467 of file prefs.h.

QString Prefs::mTheme
protected

Definition at line 1449 of file prefs.h.

QStringList Prefs::mWordTypesInPractice
protected

Definition at line 1516 of file prefs.h.

bool Prefs::mWordTypesInPracticeEnabled
protected

Definition at line 1515 of file prefs.h.


The documentation for this class was generated from the following files:
  • prefs.h
  • prefs.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal