• 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  EnumPracticeMode
 
class  EnumPracticeTimeoutMode
 

Public Member Functions

 ~Prefs ()
 

Static Public Member Functions

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 (int i)
 
static bool ignoreAccentMistakes ()
 
static bool ignoreCapitalizationMistakes ()
 
static QString installationCommand ()
 
static QString installPath ()
 
static QFont iPAFont ()
 
static
EnumLessonEditingSelection::type 
lessonEditingSelection ()
 
static QList< int > mainWindowSplitter ()
 
static bool multipleChoiceWordTypeConsistancy ()
 
static int numberMultipleChoiceAnswers ()
 
static int numPreSetting ()
 
static bool periods ()
 
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 QString providersUrl ()
 
static int questionLanguage ()
 
static Prefs * self ()
 
static bool semicolons ()
 
static QString separator ()
 
static int separatorCombo ()
 
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 (int i, 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 setIPAFont (const QFont &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 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 setProvidersUrl (const QString &v)
 
static void setQuestionLanguage (int v)
 
static void setSemicolons (bool v)
 
static void setSeparator (const QString &v)
 
static void setSeparatorCombo (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 setSolutionLanguage (int 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 setUseGradeColors (bool 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 int solutionLanguage ()
 
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 bool useGradeColors ()
 
static QStringList wordTypesInPractice ()
 
static bool wordTypesInPracticeEnabled ()
 

Protected Member Functions

 Prefs ()
 

Protected Attributes

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 [8]
 
bool mIgnoreAccentMistakes
 
bool mIgnoreCapitalizationMistakes
 
QString mInstallationCommand
 
QString mInstallPath
 
QFont mIPAFont
 
int mLessonEditingSelection
 
QList< int > mMainWindowSplitter
 
bool mMultipleChoiceWordTypeConsistancy
 
int mNumberMultipleChoiceAnswers
 
int mNumPreSetting
 
bool mPeriods
 
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
 
QString mProvidersUrl
 
int mQuestionLanguage
 
bool mSemicolons
 
QString mSeparator
 
int mSeparatorCombo
 
bool mShowHints
 
bool mShowMore
 
bool mShowSearch
 
bool mShowSolutionAfterAnswer
 
int mShowSolutionAfterAnswerTime
 
bool mShowSublessonentries
 
bool mSkipKnownEnabled
 
bool mSmartAppend
 
int mSolutionLanguage
 
bool mSplitTranslations
 
QStringList mSubWordTypesInPractice
 
bool mSuggestions
 
bool mSwapDirection
 
bool mTableActiveColumnVisible
 
bool mTableLessonColumnVisible
 
int mTestNumberOfEntries
 
bool mTestOrderLesson
 
QString mTheme
 
bool mUseGradeColors
 
QStringList mWordTypesInPractice
 
bool mWordTypesInPracticeEnabled
 

Detailed Description

Definition at line 10 of file prefs.h.

Constructor & Destructor Documentation

Prefs::~Prefs ( )

Definition at line 377 of file prefs.cpp.

Prefs::Prefs ( )
protected

Definition at line 27 of file prefs.cpp.

Member Function Documentation

static bool Prefs::altLearn ( )
inlinestatic

Get Use the Leitner learning method.

Definition at line 331 of file prefs.h.

static bool Prefs::autoBackup ( )
inlinestatic

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

Definition at line 198 of file prefs.h.

static bool Prefs::automaticTranslation ( )
inlinestatic

Get Enable automatic translation of the lesson entries.

Definition at line 236 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 141 of file prefs.h.

static bool Prefs::autoSave ( )
inlinestatic

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

Definition at line 160 of file prefs.h.

static int Prefs::backupTime ( )
inlinestatic

Get Time interval between two automatic backups.

Definition at line 217 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 293 of file prefs.h.

static int Prefs::blockItem ( int  i)
inlinestatic

Get Amount of time different grades should be blocked.

Definition at line 1262 of file prefs.h.

static bool Prefs::colons ( )
inlinestatic

Get Split translations at colons.

Definition at line 578 of file prefs.h.

static bool Prefs::commas ( )
inlinestatic

Get Split translations at commas.

Definition at line 616 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 673 of file prefs.h.

static int Prefs::currentCol ( )
inlinestatic

Get Currently selected column.

Definition at line 920 of file prefs.h.

static int Prefs::currentRow ( )
inlinestatic

Get Currently selected row.

Definition at line 939 of file prefs.h.

static int Prefs::entriesPerLesson ( )
inlinestatic

Get The number of entries per lesson.

Definition at line 122 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 312 of file prefs.h.

static int Prefs::expireItem ( int  i)
inlinestatic

Get Amount of time after which different grades should expire.

Definition at line 1281 of file prefs.h.

static bool Prefs::flashcardsBackImage ( )
inlinestatic

Get Show images on the back of the flashcard.

Definition at line 274 of file prefs.h.

static bool Prefs::flashcardsFrontImage ( )
inlinestatic

Get Show images on the front of the flashcard.

Definition at line 255 of file prefs.h.

static QColor Prefs::gradeColor ( int  i)
inlinestatic

Get Colors used to display different grades.

Definition at line 977 of file prefs.h.

static bool Prefs::ignoreAccentMistakes ( )
inlinestatic

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

Definition at line 502 of file prefs.h.

static bool Prefs::ignoreCapitalizationMistakes ( )
inlinestatic

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

Definition at line 521 of file prefs.h.

static QString Prefs::installationCommand ( )
inlinestatic

Get The command used to start a downloaded vocabulary.

Definition at line 1319 of file prefs.h.

static QString Prefs::installPath ( )
inlinestatic

Get The folder where downloaded vocabularies are saved by default.

Definition at line 1338 of file prefs.h.

static QFont Prefs::iPAFont ( )
inlinestatic

Get The font used for phonetics.

Definition at line 901 of file prefs.h.

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

Get Select which lessons are displayed for editing.

Definition at line 844 of file prefs.h.

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

Get How the main window is divided.

Definition at line 863 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 730 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 749 of file prefs.h.

static int Prefs::numPreSetting ( )
inlinestatic

Get Number of stored setting profiles.

Definition at line 65 of file prefs.h.

static bool Prefs::periods ( )
inlinestatic

Get Split translations at periods.

Definition at line 559 of file prefs.h.

static QFont Prefs::practiceFont ( )
inlinestatic

Get The font used in the vocabulary table.

Definition at line 882 of file prefs.h.

static bool Prefs::practiceImagesEnabled ( )
inlinestatic

Get Enable image display in the practice dialogs.

Definition at line 692 of file prefs.h.

static int Prefs::practiceMaximumGrade ( )
inlinestatic

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

Definition at line 1091 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 1015 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 1053 of file prefs.h.

static int Prefs::practiceMinimumGrade ( )
inlinestatic

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

Definition at line 1072 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 996 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 1034 of file prefs.h.

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

Get The practice mode that is currently selected.

Definition at line 1243 of file prefs.h.

static bool Prefs::practiceSoundEnabled ( )
inlinestatic

Get Enable sound playback in the practice dialogs.

Definition at line 711 of file prefs.h.

static bool Prefs::practiceTimeout ( )
inlinestatic

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

Definition at line 407 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 426 of file prefs.h.

static int Prefs::practiceTimeoutTimePerAnswer ( )
inlinestatic

Get Maximum time allowed to answer.

Definition at line 445 of file prefs.h.

static QString Prefs::providersUrl ( )
inlinestatic

Get The Providers path for Parley.

Definition at line 1300 of file prefs.h.

static int Prefs::questionLanguage ( )
inlinestatic

Get The language that is displayed in a test.

Definition at line 1167 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 597 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 103 of file prefs.h.

static int Prefs::separatorCombo ( )
inlinestatic

Get SeparatorCombo.

Definition at line 179 of file prefs.h.

static void Prefs::setAltLearn ( bool  v)
inlinestatic

Set Use the Leitner learning method.

Definition at line 321 of file prefs.h.

static void Prefs::setAutoBackup ( bool  v)
inlinestatic

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

Definition at line 188 of file prefs.h.

static void Prefs::setAutomaticTranslation ( bool  v)
inlinestatic

Set Enable automatic translation of the lesson entries.

Definition at line 226 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 131 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 150 of file prefs.h.

static void Prefs::setBackupTime ( int  v)
inlinestatic

Set Time interval between two automatic backups.

Definition at line 207 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 283 of file prefs.h.

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

Set Amount of time different grades should be blocked.

Definition at line 1252 of file prefs.h.

static void Prefs::setColons ( bool  v)
inlinestatic

Set Split translations at colons.

Definition at line 568 of file prefs.h.

static void Prefs::setCommas ( bool  v)
inlinestatic

Set Split translations at commas.

Definition at line 606 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 663 of file prefs.h.

static void Prefs::setCurrentCol ( int  v)
inlinestatic

Set Currently selected column.

Definition at line 910 of file prefs.h.

static void Prefs::setCurrentRow ( int  v)
inlinestatic

Set Currently selected row.

Definition at line 929 of file prefs.h.

static void Prefs::setEntriesPerLesson ( int  v)
inlinestatic

Set The number of entries per lesson.

Definition at line 112 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 302 of file prefs.h.

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

Set Amount of time after which different grades should expire.

Definition at line 1271 of file prefs.h.

static void Prefs::setFlashcardsBackImage ( bool  v)
inlinestatic

Set Show images on the back of the flashcard.

Definition at line 264 of file prefs.h.

static void Prefs::setFlashcardsFrontImage ( bool  v)
inlinestatic

Set Show images on the front of the flashcard.

Definition at line 245 of file prefs.h.

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

Set Colors used to display different grades.

Definition at line 967 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 492 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 511 of file prefs.h.

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

Set The command used to start a downloaded vocabulary.

Definition at line 1309 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 1328 of file prefs.h.

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

Set The font used for phonetics.

Definition at line 891 of file prefs.h.

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

Set Select which lessons are displayed for editing.

Definition at line 834 of file prefs.h.

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

Set How the main window is divided.

Definition at line 853 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 720 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 739 of file prefs.h.

static void Prefs::setNumPreSetting ( int  v)
inlinestatic

Set Number of stored setting profiles.

Definition at line 55 of file prefs.h.

static void Prefs::setPeriods ( bool  v)
inlinestatic

Set Split translations at periods.

Definition at line 549 of file prefs.h.

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

Set The font used in the vocabulary table.

Definition at line 872 of file prefs.h.

static void Prefs::setPracticeImagesEnabled ( bool  v)
inlinestatic

Set Enable image display in the practice dialogs.

Definition at line 682 of file prefs.h.

static void Prefs::setPracticeMaximumGrade ( int  v)
inlinestatic

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

Definition at line 1081 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 1005 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 1043 of file prefs.h.

static void Prefs::setPracticeMinimumGrade ( int  v)
inlinestatic

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

Definition at line 1062 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 986 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 1024 of file prefs.h.

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

Set The practice mode that is currently selected.

Definition at line 1233 of file prefs.h.

static void Prefs::setPracticeSoundEnabled ( bool  v)
inlinestatic

Set Enable sound playback in the practice dialogs.

Definition at line 701 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 397 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 416 of file prefs.h.

static void Prefs::setPracticeTimeoutTimePerAnswer ( int  v)
inlinestatic

Set Maximum time allowed to answer.

Definition at line 435 of file prefs.h.

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

Set The Providers path for Parley.

Definition at line 1290 of file prefs.h.

static void Prefs::setQuestionLanguage ( int  v)
inlinestatic

Set The language that is displayed in a test.

Definition at line 1157 of file prefs.h.

static void Prefs::setSemicolons ( bool  v)
inlinestatic

Set Split translations at semicolons.

Definition at line 587 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 93 of file prefs.h.

static void Prefs::setSeparatorCombo ( int  v)
inlinestatic

Set SeparatorCombo.

Definition at line 169 of file prefs.h.

static void Prefs::setShowHints ( bool  v)
inlinestatic

Set Enable the showing of hints.

Definition at line 473 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 625 of file prefs.h.

static void Prefs::setShowSearch ( bool  v)
inlinestatic

Set Toggle display of the search bar.

Definition at line 758 of file prefs.h.

static void Prefs::setShowSolutionAfterAnswer ( bool  v)
inlinestatic

Set Show the solution after an answer was given.

Definition at line 1195 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 1214 of file prefs.h.

static void Prefs::setShowSublessonentries ( bool  v)
inlinestatic

Set When enabled a lesson also shows entries from its sublessons.

Definition at line 777 of file prefs.h.

static void Prefs::setSkipKnownEnabled ( bool  v)
inlinestatic

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

Definition at line 644 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 74 of file prefs.h.

static void Prefs::setSolutionLanguage ( int  v)
inlinestatic

Set The language in which the user has to answer.

Definition at line 1176 of file prefs.h.

static void Prefs::setSplitTranslations ( bool  v)
inlinestatic

Set Split translations in written practice.

Definition at line 530 of file prefs.h.

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

Set Selected sub word types for practices.

Definition at line 1138 of file prefs.h.

static void Prefs::setSuggestions ( bool  v)
inlinestatic

Set Enable suggestion lists in written practice.

Definition at line 454 of file prefs.h.

static void Prefs::setSwapDirection ( bool  v)
inlinestatic

Set Swap direction randomly.

Definition at line 378 of file prefs.h.

static void Prefs::setTableActiveColumnVisible ( bool  v)
inlinestatic

Set Show/hide the active column.

Definition at line 815 of file prefs.h.

static void Prefs::setTableLessonColumnVisible ( bool  v)
inlinestatic

Set Show/hide the lesson column.

Definition at line 796 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 359 of file prefs.h.

static void Prefs::setTestOrderLesson ( bool  v)
inlinestatic

Set Append new vocabulary in a test in order of their lessons.

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

Definition at line 340 of file prefs.h.

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

Set Theme to use for practice and welcome screen.

Definition at line 36 of file prefs.h.

static void Prefs::setUseGradeColors ( bool  v)
inlinestatic

Set Use your own colors.

Definition at line 948 of file prefs.h.

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

Set Selected word types for practices.

Definition at line 1119 of file prefs.h.

static void Prefs::setWordTypesInPracticeEnabled ( bool  v)
inlinestatic

Set Only selected word types will be included in practice.

Definition at line 1100 of file prefs.h.

static bool Prefs::showHints ( )
inlinestatic

Get Enable the showing of hints.

Definition at line 483 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 635 of file prefs.h.

static bool Prefs::showSearch ( )
inlinestatic

Get Toggle display of the search bar.

Definition at line 768 of file prefs.h.

static bool Prefs::showSolutionAfterAnswer ( )
inlinestatic

Get Show the solution after an answer was given.

Definition at line 1205 of file prefs.h.

static int Prefs::showSolutionAfterAnswerTime ( )
inlinestatic

Get The time the solution is shown (seconds).

0 is unlimited.

Definition at line 1224 of file prefs.h.

static bool Prefs::showSublessonentries ( )
inlinestatic

Get When enabled a lesson also shows entries from its sublessons.

Definition at line 787 of file prefs.h.

static bool Prefs::skipKnownEnabled ( )
inlinestatic

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

Definition at line 654 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 84 of file prefs.h.

static int Prefs::solutionLanguage ( )
inlinestatic

Get The language in which the user has to answer.

Definition at line 1186 of file prefs.h.

static bool Prefs::splitTranslations ( )
inlinestatic

Get Split translations in written practice.

Definition at line 540 of file prefs.h.

static QStringList Prefs::subWordTypesInPractice ( )
inlinestatic

Get Selected sub word types for practices.

Definition at line 1148 of file prefs.h.

static bool Prefs::suggestions ( )
inlinestatic

Get Enable suggestion lists in written practice.

Definition at line 464 of file prefs.h.

static bool Prefs::swapDirection ( )
inlinestatic

Get Swap direction randomly.

Definition at line 388 of file prefs.h.

static bool Prefs::tableActiveColumnVisible ( )
inlinestatic

Get Show/hide the active column.

Definition at line 825 of file prefs.h.

static bool Prefs::tableLessonColumnVisible ( )
inlinestatic

Get Show/hide the lesson column.

Definition at line 806 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 369 of file prefs.h.

static bool Prefs::testOrderLesson ( )
inlinestatic

Get Append new vocabulary in a test in order of their lessons.

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

Definition at line 350 of file prefs.h.

static QString Prefs::theme ( )
inlinestatic

Get Theme to use for practice and welcome screen.

Definition at line 46 of file prefs.h.

static bool Prefs::useGradeColors ( )
inlinestatic

Get Use your own colors.

Definition at line 958 of file prefs.h.

static QStringList Prefs::wordTypesInPractice ( )
inlinestatic

Get Selected word types for practices.

Definition at line 1129 of file prefs.h.

static bool Prefs::wordTypesInPracticeEnabled ( )
inlinestatic

Get Only selected word types will be included in practice.

Definition at line 1110 of file prefs.h.

Member Data Documentation

bool Prefs::mAltLearn
protected

Definition at line 1366 of file prefs.h.

bool Prefs::mAutoBackup
protected

Definition at line 1357 of file prefs.h.

bool Prefs::mAutomaticTranslation
protected

Definition at line 1359 of file prefs.h.

bool Prefs::mAutoOpenLast
protected

Definition at line 1354 of file prefs.h.

bool Prefs::mAutoSave
protected

Definition at line 1355 of file prefs.h.

int Prefs::mBackupTime
protected

Definition at line 1358 of file prefs.h.

bool Prefs::mBlock
protected

Definition at line 1364 of file prefs.h.

int Prefs::mBlockItem[8]
protected

Definition at line 1421 of file prefs.h.

bool Prefs::mColons
protected

Definition at line 1379 of file prefs.h.

bool Prefs::mCommas
protected

Definition at line 1381 of file prefs.h.

bool Prefs::mCountSynonymsAsCorrect
protected

Definition at line 1384 of file prefs.h.

int Prefs::mCurrentCol
protected

Definition at line 1399 of file prefs.h.

int Prefs::mCurrentRow
protected

Definition at line 1400 of file prefs.h.

int Prefs::mEntriesPerLesson
protected

Definition at line 1353 of file prefs.h.

bool Prefs::mExpire
protected

Definition at line 1365 of file prefs.h.

int Prefs::mExpireItem[8]
protected

Definition at line 1422 of file prefs.h.

bool Prefs::mFlashcardsBackImage
protected

Definition at line 1363 of file prefs.h.

bool Prefs::mFlashcardsFrontImage
protected

Definition at line 1362 of file prefs.h.

QColor Prefs::mGradeColor[8]
protected

Definition at line 1402 of file prefs.h.

bool Prefs::mIgnoreAccentMistakes
protected

Definition at line 1375 of file prefs.h.

bool Prefs::mIgnoreCapitalizationMistakes
protected

Definition at line 1376 of file prefs.h.

QString Prefs::mInstallationCommand
protected

Definition at line 1426 of file prefs.h.

QString Prefs::mInstallPath
protected

Definition at line 1427 of file prefs.h.

QFont Prefs::mIPAFont
protected

Definition at line 1398 of file prefs.h.

int Prefs::mLessonEditingSelection
protected

Definition at line 1395 of file prefs.h.

QList<int> Prefs::mMainWindowSplitter
protected

Definition at line 1396 of file prefs.h.

bool Prefs::mMultipleChoiceWordTypeConsistancy
protected

Definition at line 1387 of file prefs.h.

int Prefs::mNumberMultipleChoiceAnswers
protected

Definition at line 1388 of file prefs.h.

int Prefs::mNumPreSetting
protected

Definition at line 1350 of file prefs.h.

bool Prefs::mPeriods
protected

Definition at line 1378 of file prefs.h.

QFont Prefs::mPracticeFont
protected

Definition at line 1397 of file prefs.h.

bool Prefs::mPracticeImagesEnabled
protected

Definition at line 1385 of file prefs.h.

int Prefs::mPracticeMaximumGrade
protected

Definition at line 1410 of file prefs.h.

int Prefs::mPracticeMaximumTimesAsked
protected

Definition at line 1406 of file prefs.h.

int Prefs::mPracticeMaximumWrongCount
protected

Definition at line 1408 of file prefs.h.

int Prefs::mPracticeMinimumGrade
protected

Definition at line 1409 of file prefs.h.

int Prefs::mPracticeMinimumTimesAsked
protected

Definition at line 1405 of file prefs.h.

int Prefs::mPracticeMinimumWrongCount
protected

Definition at line 1407 of file prefs.h.

int Prefs::mPracticeMode
protected

Definition at line 1420 of file prefs.h.

bool Prefs::mPracticeSoundEnabled
protected

Definition at line 1386 of file prefs.h.

bool Prefs::mPracticeTimeout
protected

Definition at line 1370 of file prefs.h.

int Prefs::mPracticeTimeoutMode
protected

Definition at line 1371 of file prefs.h.

int Prefs::mPracticeTimeoutTimePerAnswer
protected

Definition at line 1372 of file prefs.h.

QString Prefs::mProvidersUrl
protected

Definition at line 1425 of file prefs.h.

int Prefs::mQuestionLanguage
protected

Definition at line 1416 of file prefs.h.

bool Prefs::mSemicolons
protected

Definition at line 1380 of file prefs.h.

QString Prefs::mSeparator
protected

Definition at line 1352 of file prefs.h.

int Prefs::mSeparatorCombo
protected

Definition at line 1356 of file prefs.h.

bool Prefs::mShowHints
protected

Definition at line 1374 of file prefs.h.

bool Prefs::mShowMore
protected

Definition at line 1382 of file prefs.h.

bool Prefs::mShowSearch
protected

Definition at line 1391 of file prefs.h.

bool Prefs::mShowSolutionAfterAnswer
protected

Definition at line 1418 of file prefs.h.

int Prefs::mShowSolutionAfterAnswerTime
protected

Definition at line 1419 of file prefs.h.

bool Prefs::mShowSublessonentries
protected

Definition at line 1392 of file prefs.h.

bool Prefs::mSkipKnownEnabled
protected

Definition at line 1383 of file prefs.h.

bool Prefs::mSmartAppend
protected

Definition at line 1351 of file prefs.h.

int Prefs::mSolutionLanguage
protected

Definition at line 1417 of file prefs.h.

bool Prefs::mSplitTranslations
protected

Definition at line 1377 of file prefs.h.

QStringList Prefs::mSubWordTypesInPractice
protected

Definition at line 1413 of file prefs.h.

bool Prefs::mSuggestions
protected

Definition at line 1373 of file prefs.h.

bool Prefs::mSwapDirection
protected

Definition at line 1369 of file prefs.h.

bool Prefs::mTableActiveColumnVisible
protected

Definition at line 1394 of file prefs.h.

bool Prefs::mTableLessonColumnVisible
protected

Definition at line 1393 of file prefs.h.

int Prefs::mTestNumberOfEntries
protected

Definition at line 1368 of file prefs.h.

bool Prefs::mTestOrderLesson
protected

Definition at line 1367 of file prefs.h.

QString Prefs::mTheme
protected

Definition at line 1349 of file prefs.h.

bool Prefs::mUseGradeColors
protected

Definition at line 1401 of file prefs.h.

QStringList Prefs::mWordTypesInPractice
protected

Definition at line 1412 of file prefs.h.

bool Prefs::mWordTypesInPracticeEnabled
protected

Definition at line 1411 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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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