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

parley

Prefs Class Reference

#include <prefs.h>

Inheritance diagram for Prefs:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 10 of file common-dialogs/prefs.h.


Public Member Functions

 ~Prefs ()
 ~Prefs ()

Static Public Member Functions

static bool altLearn ()
static bool altLearn ()
static bool autoBackup ()
static bool autoBackup ()
static bool autoEntryApply ()
static bool autoEntryApply ()
static bool autoSave ()
static bool autoSave ()
static int backupTime ()
static int backupTime ()
static int badItem ()
static bool block ()
static bool block ()
static int blockItem (int i)
static int blockItem (int i)
static bool colons ()
static bool colons ()
static bool commas ()
static bool commas ()
static bool comparisonIncludeAdjective ()
static bool comparisonIncludeAdverb ()
static int compType (int i)
static bool countSynonymsAsCorrect ()
static int currentCol ()
static int currentCol ()
static int currentRow ()
static int currentRow ()
static int dateItem ()
static int entriesPerLesson ()
static int entriesPerLesson ()
static bool expire ()
static bool expire ()
static int expireItem (int i)
static int expireItem (int i)
static int fields ()
static int fromIdentifier ()
static QColor gradeCol (int i)
static QColor gradeColor (int i)
static int gradeItem ()
static bool grammarArticleTest ()
static bool grammarComparisonAdjectiveTest ()
static bool grammarComparisonAdverbTest ()
static bool grammarConjugationTest ()
static int headerResizeMode ()
static bool ignoreAccentMistakes ()
static bool ignoreCapitalizationMistakes ()
static bool iKnow ()
static QString installationCommand ()
static QString installationCommand ()
static QString installPath ()
static QString installPath ()
static QFont iPAFont ()
static QFont iPAFont ()
static int lessonEditingSelection ()
static int lessonEditingSelection ()
static QList< int > mainWindowSplitter ()
static QList< int > mainWindowSplitter ()
static int maxTimePer ()
static int numPreSetting ()
static int numPreSetting ()
static bool periods ()
static bool periods ()
static bool practiceImagesEnabled ()
static int practiceMaximumGrade ()
static int practiceMaximumTimesAsked ()
static int practiceMaximumWrongCount ()
static int practiceMinimumGrade ()
static int practiceMinimumTimesAsked ()
static int practiceMinimumWrongCount ()
static bool practiceSoundEnabled ()
static bool practiceTimeout ()
static int practiceTimeoutMode ()
static int practiceTimeoutTimePerAnswer ()
static QString providersUrl ()
static QString providersUrl ()
static int queryItem ()
static int queryTimeout ()
static int questionLanguage ()
static Prefs * self ()
static Prefs * self ()
static bool semicolons ()
static bool semicolons ()
static QString separator ()
static QString separator ()
static int separatorCombo ()
static void setAltLearn (bool v)
static void setAltLearn (bool v)
static void setAutoBackup (bool v)
static void setAutoBackup (bool v)
static void setAutoEntryApply (bool v)
static void setAutoEntryApply (bool v)
static void setAutoSave (bool v)
static void setAutoSave (bool v)
static void setBackupTime (int v)
static void setBackupTime (int v)
static void setBadItem (int v)
static void setBlock (bool v)
static void setBlock (bool v)
static void setBlockItem (int i, int v)
static void setBlockItem (int i, int v)
static void setColons (bool v)
static void setColons (bool v)
static void setCommas (bool v)
static void setCommas (bool v)
static void setComparisonIncludeAdjective (bool v)
static void setComparisonIncludeAdverb (bool v)
static void setCompType (int i, int v)
static void setCountSynonymsAsCorrect (bool v)
static void setCurrentCol (int v)
static void setCurrentCol (int v)
static void setCurrentRow (int v)
static void setCurrentRow (int v)
static void setDateItem (int v)
static void setEntriesPerLesson (int v)
static void setEntriesPerLesson (int v)
static void setExpire (bool v)
static void setExpire (bool v)
static void setExpireItem (int i, int v)
static void setExpireItem (int i, int v)
static void setFields (int v)
static void setFromIdentifier (int v)
static void setGradeCol (int i, const QColor &v)
static void setGradeColor (int i, const QColor &v)
static void setGradeItem (int v)
static void setGrammarArticleTest (bool v)
static void setGrammarComparisonAdjectiveTest (bool v)
static void setGrammarComparisonAdverbTest (bool v)
static void setGrammarConjugationTest (bool v)
static void setHeaderResizeMode (int v)
static void setIgnoreAccentMistakes (bool v)
static void setIgnoreCapitalizationMistakes (bool v)
static void setIKnow (bool v)
static void setInstallationCommand (const QString &v)
static void setInstallationCommand (const QString &v)
static void setInstallPath (const QString &v)
static void setInstallPath (const QString &v)
static void setIPAFont (const QFont &v)
static void setIPAFont (const QFont &v)
static void setLessonEditingSelection (int v)
static void setLessonEditingSelection (int v)
static void setMainWindowSplitter (const QList< int > &v)
static void setMainWindowSplitter (const QList< int > &v)
static void setMaxTimePer (int v)
static void setNumPreSetting (int v)
static void setNumPreSetting (int v)
static void setPeriods (bool v)
static void setPeriods (bool 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 setPracticeSoundEnabled (bool v)
static void setPracticeTimeout (bool v)
static void setPracticeTimeoutMode (int v)
static void setPracticeTimeoutTimePerAnswer (int v)
static void setProvidersUrl (const QString &v)
static void setProvidersUrl (const QString &v)
static void setQueryItem (int v)
static void setQueryTimeout (int v)
static void setQuestionLanguage (int v)
static void setSemicolons (bool v)
static void setSemicolons (bool v)
static void setSeparator (const QString &v)
static void setSeparator (const QString &v)
static void setSeparatorCombo (int v)
static void setShowCounter (bool v)
static void setShowMore (bool v)
static void setShowMore (bool v)
static void setShowSearch (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 setSmartAppend (bool v)
static void setSolutionLanguage (int v)
static void setSplit (bool v)
static void setSplitTranslations (bool v)
static void setSubWordTypesInPractice (const QStringList &v)
static void setSuggestions (bool v)
static void setSuggestions (bool v)
static void setSwapDirection (bool v)
static void setSwapDirection (bool v)
static void setTableActiveColumnVisible (bool v)
static void setTableFont (const QFont &v)
static void setTableFont (const QFont &v)
static void setTableLessonColumnVisible (bool v)
static void setTableLessonColumnVisible (bool v)
static void setTestNumberOfEntries (int v)
static void setTestNumberOfEntries (int v)
static void setTestOrderLesson (bool v)
static void setTestOrderLesson (bool v)
static void setTestType (int v)
static void setTestType (int v)
static void setToIdentifier (int v)
static void setTypeItem (const QString &v)
static void setUseGradeCol (bool v)
static void setUseGradeColors (bool v)
static void setWordTypesInPractice (const QStringList &v)
static void setWordTypesInPracticeEnabled (bool v)
static bool showCounter ()
static bool showMore ()
static bool showMore ()
static bool showSearch ()
static bool showSearch ()
static bool showSolutionAfterAnswer ()
static int showSolutionAfterAnswerTime ()
static bool showSublessonentries ()
static bool skipKnownEnabled ()
static bool smartAppend ()
static bool smartAppend ()
static int solutionLanguage ()
static bool split ()
static bool splitTranslations ()
static QStringList subWordTypesInPractice ()
static bool suggestions ()
static bool suggestions ()
static bool swapDirection ()
static bool swapDirection ()
static bool tableActiveColumnVisible ()
static QFont tableFont ()
static QFont tableFont ()
static bool tableLessonColumnVisible ()
static bool tableLessonColumnVisible ()
static int testNumberOfEntries ()
static int testNumberOfEntries ()
static bool testOrderLesson ()
static bool testOrderLesson ()
static int testType ()
static int testType ()
static int toIdentifier ()
static QString typeItem ()
static bool useGradeCol ()
static bool useGradeColors ()
static QStringList wordTypesInPractice ()
static bool wordTypesInPracticeEnabled ()

Protected Member Functions

 Prefs ()
 Prefs ()

Protected Attributes

bool mAltLearn
bool mAutoBackup
bool mAutoEntryApply
bool mAutoSave
int mBackupTime
int mBadItem
bool mBlock
int mBlockItem [8]
bool mColons
bool mCommas
bool mComparisonIncludeAdjective
bool mComparisonIncludeAdverb
int mCompType [6]
bool mCountSynonymsAsCorrect
int mCurrentCol
int mCurrentRow
int mDateItem
int mEntriesPerLesson
bool mExpire
int mExpireItem [8]
int mFields
int mFromIdentifier
QColor mGradeCol [8]
QColor mGradeColor [8]
int mGradeItem
bool mGrammarArticleTest
bool mGrammarComparisonAdjectiveTest
bool mGrammarComparisonAdverbTest
bool mGrammarConjugationTest
int mHeaderResizeMode
bool mIgnoreAccentMistakes
bool mIgnoreCapitalizationMistakes
bool mIKnow
QString mInstallationCommand
QString mInstallPath
QFont mIPAFont
int mLessonEditingSelection
QList< int > mMainWindowSplitter
QList< int > mMainWindowSplitter
int mMaxTimePer
int mNumPreSetting
bool mPeriods
bool mPracticeImagesEnabled
int mPracticeMaximumGrade
int mPracticeMaximumTimesAsked
int mPracticeMaximumWrongCount
int mPracticeMinimumGrade
int mPracticeMinimumTimesAsked
int mPracticeMinimumWrongCount
bool mPracticeSoundEnabled
bool mPracticeTimeout
int mPracticeTimeoutMode
int mPracticeTimeoutTimePerAnswer
QString mProvidersUrl
int mQueryItem
int mQueryTimeout
int mQuestionLanguage
bool mSemicolons
QString mSeparator
int mSeparatorCombo
bool mShowCounter
bool mShowMore
bool mShowSearch
bool mShowSolutionAfterAnswer
int mShowSolutionAfterAnswerTime
bool mShowSublessonentries
bool mSkipKnownEnabled
bool mSmartAppend
int mSolutionLanguage
bool mSplit
bool mSplitTranslations
QStringList mSubWordTypesInPractice
bool mSuggestions
bool mSwapDirection
bool mTableActiveColumnVisible
QFont mTableFont
bool mTableLessonColumnVisible
int mTestNumberOfEntries
bool mTestOrderLesson
int mTestType
int mToIdentifier
QString mTypeItem
bool mUseGradeCol
bool mUseGradeColors
QStringList mWordTypesInPractice
bool mWordTypesInPracticeEnabled

Classes

class  EnumCompType
class  EnumHeaderResizeMode
class  EnumLessonEditingSelection
class  EnumPracticeTimeoutMode
class  EnumQueryTimeout
class  EnumTestType
class  EnumType

Constructor & Destructor Documentation

Prefs::~Prefs (  ) 

Definition at line 461 of file common-dialogs/prefs.cpp.

Prefs::Prefs (  )  [protected]

Definition at line 29 of file common-dialogs/prefs.cpp.

Prefs::~Prefs (  ) 

Prefs::Prefs (  )  [protected]


Member Function Documentation

static bool Prefs::altLearn (  )  [inline, static]

Get Use the Leitner learning method.

Definition at line 255 of file settings/prefs.h.

static bool Prefs::altLearn (  )  [inline, static]

Get Use the Leitner learning method.

Definition at line 271 of file common-dialogs/prefs.h.

static bool Prefs::autoBackup (  )  [inline, static]

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

Definition at line 179 of file settings/prefs.h.

static bool Prefs::autoBackup (  )  [inline, static]

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

Definition at line 176 of file common-dialogs/prefs.h.

static bool Prefs::autoEntryApply (  )  [inline, static]

Get AutoEntryApply.

Definition at line 65 of file settings/prefs.h.

static bool Prefs::autoEntryApply (  )  [inline, static]

Get AutoEntryApply.

Definition at line 81 of file common-dialogs/prefs.h.

static bool Prefs::autoSave (  )  [inline, static]

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

Definition at line 141 of file settings/prefs.h.

static bool Prefs::autoSave (  )  [inline, static]

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

Definition at line 157 of file common-dialogs/prefs.h.

static int Prefs::backupTime (  )  [inline, static]

Get Time interval between two automatic backups.

Definition at line 198 of file settings/prefs.h.

static int Prefs::backupTime (  )  [inline, static]

Get Time interval between two automatic backups.

Definition at line 195 of file common-dialogs/prefs.h.

static int Prefs::badItem (  )  [inline, static]

Get BadItem.

Definition at line 936 of file common-dialogs/prefs.h.

static bool Prefs::block (  )  [inline, static]

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

Definition at line 217 of file settings/prefs.h.

static bool Prefs::block (  )  [inline, static]

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

Definition at line 233 of file common-dialogs/prefs.h.

static int Prefs::blockItem ( int  i  )  [inline, static]

Get Amount of time different grades should be blocked.

Definition at line 1167 of file settings/prefs.h.

static int Prefs::blockItem ( int  i  )  [inline, static]

Get Amount of time different grades should be blocked.

Definition at line 1012 of file common-dialogs/prefs.h.

static bool Prefs::colons (  )  [inline, static]

Get Split translations at colons.

Definition at line 483 of file settings/prefs.h.

static bool Prefs::colons (  )  [inline, static]

Get Split translations at colons.

Definition at line 461 of file common-dialogs/prefs.h.

static bool Prefs::commas (  )  [inline, static]

Get Split translations at commas.

Definition at line 521 of file settings/prefs.h.

static bool Prefs::commas (  )  [inline, static]

Get Split translations at commas.

Definition at line 499 of file common-dialogs/prefs.h.

static bool Prefs::comparisonIncludeAdjective (  )  [inline, static]

Get In a comparison forms test, include adjectives.

Definition at line 1129 of file settings/prefs.h.

static bool Prefs::comparisonIncludeAdverb (  )  [inline, static]

Get In a comparison forms test, include adverbs.

Definition at line 1148 of file settings/prefs.h.

static int Prefs::compType ( int  i  )  [inline, static]

Get Types of comparisons.

Definition at line 898 of file common-dialogs/prefs.h.

static bool Prefs::countSynonymsAsCorrect (  )  [inline, static]

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

Definition at line 578 of file settings/prefs.h.

static int Prefs::currentCol (  )  [inline, static]

Get Currently selected column.

Definition at line 787 of file settings/prefs.h.

static int Prefs::currentCol (  )  [inline, static]

Get Currently selected column.

Definition at line 689 of file common-dialogs/prefs.h.

static int Prefs::currentRow (  )  [inline, static]

Get Currently selected row.

Definition at line 806 of file settings/prefs.h.

static int Prefs::currentRow (  )  [inline, static]

Get Currently selected row.

Definition at line 708 of file common-dialogs/prefs.h.

static int Prefs::dateItem (  )  [inline, static]

Get DateItem.

Definition at line 917 of file common-dialogs/prefs.h.

static int Prefs::entriesPerLesson (  )  [inline, static]

Get The number of entries per lesson.

Definition at line 122 of file settings/prefs.h.

static int Prefs::entriesPerLesson (  )  [inline, static]

Get The number of entries per lesson.

Definition at line 138 of file common-dialogs/prefs.h.

static bool Prefs::expire (  )  [inline, static]

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

Definition at line 236 of file settings/prefs.h.

static bool Prefs::expire (  )  [inline, static]

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

Definition at line 252 of file common-dialogs/prefs.h.

static int Prefs::expireItem ( int  i  )  [inline, static]

Get Amount of time after which different grades should expire.

Definition at line 1186 of file settings/prefs.h.

static int Prefs::expireItem ( int  i  )  [inline, static]

Get Amount of time after which different grades should expire.

Definition at line 1031 of file common-dialogs/prefs.h.

static int Prefs::fields (  )  [inline, static]

Get Maximum number of fields to split translations into.

Definition at line 518 of file common-dialogs/prefs.h.

static int Prefs::fromIdentifier (  )  [inline, static]

Get The language that is displayed in a test.

Definition at line 765 of file common-dialogs/prefs.h.

static QColor Prefs::gradeCol ( int  i  )  [inline, static]

Get Colors used to display different grades.

Definition at line 746 of file common-dialogs/prefs.h.

static QColor Prefs::gradeColor ( int  i  )  [inline, static]

Get Colors used to display different grades.

Definition at line 844 of file settings/prefs.h.

static int Prefs::gradeItem (  )  [inline, static]

Get GradeItem.

Definition at line 974 of file common-dialogs/prefs.h.

static bool Prefs::grammarArticleTest (  )  [inline, static]

Get In a grammar test, whether article practice will be enabled.

Definition at line 822 of file common-dialogs/prefs.h.

static bool Prefs::grammarComparisonAdjectiveTest (  )  [inline, static]

Get In a grammar test, whether comparisons of adjectives will be enabled.

Definition at line 860 of file common-dialogs/prefs.h.

static bool Prefs::grammarComparisonAdverbTest (  )  [inline, static]

Get In a grammar test, whether comparisons of adverbs will be enabled.

Definition at line 879 of file common-dialogs/prefs.h.

static bool Prefs::grammarConjugationTest (  )  [inline, static]

Get In a grammar test, whether conjugations will be enabled.

Definition at line 841 of file common-dialogs/prefs.h.

static int Prefs::headerResizeMode (  )  [inline, static]

Get How the columns should be resized.

Definition at line 214 of file common-dialogs/prefs.h.

static bool Prefs::ignoreAccentMistakes (  )  [inline, static]

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

Definition at line 407 of file settings/prefs.h.

static bool Prefs::ignoreCapitalizationMistakes (  )  [inline, static]

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

Definition at line 426 of file settings/prefs.h.

static bool Prefs::iKnow (  )  [inline, static]

Get Enable I Know button in Random Query.

Definition at line 556 of file common-dialogs/prefs.h.

static QString Prefs::installationCommand (  )  [inline, static]

Get The command used to start a downloaded vocabulary.

Definition at line 1224 of file settings/prefs.h.

static QString Prefs::installationCommand (  )  [inline, static]

Get The command used to start a downloaded vocabulary.

Definition at line 1069 of file common-dialogs/prefs.h.