parley
prefs.cpp
Go to the documentation of this file.
35 itemTheme = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Theme" ), mTheme, QLatin1String( "themes/theme_reference.desktop" ) );
38 itemNumPreSetting = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "NumPreSetting" ), mNumPreSetting, 0 );
41 itemSmartAppend = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SmartAppend" ), mSmartAppend, true );
44 itemSeparator = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "Separator" ), mSeparator, QChar('\t') );
47 itemEntriesPerLesson = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "EntriesPerLesson" ), mEntriesPerLesson, 20 );
50 itemAutoOpenLast = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AutoOpenLast" ), mAutoOpenLast, false );
53 itemAutoSave = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AutoSave" ), mAutoSave, false );
56 itemSeparatorCombo = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "SeparatorCombo" ), mSeparatorCombo, 0 );
59 itemAutoBackup = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AutoBackup" ), mAutoBackup, false );
62 itemBackupTime = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "BackupTime" ), mBackupTime, 15 );
65 itemAutomaticTranslation = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AutomaticTranslation" ), mAutomaticTranslation, false );
71 itemFlashcardsFrontImage = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "FlashcardsFrontImage" ), mFlashcardsFrontImage, true );
74 itemFlashcardsBackImage = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "FlashcardsBackImage" ), mFlashcardsBackImage, true );
77 itemBlock = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Block" ), mBlock, true );
80 itemExpire = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Expire" ), mExpire, true );
83 itemAltLearn = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "AltLearn" ), mAltLearn, false );
86 itemTestOrderLesson = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "TestOrderLesson" ), mTestOrderLesson, true );
89 itemTestNumberOfEntries = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "TestNumberOfEntries" ), mTestNumberOfEntries, 20 );
92 itemSwapDirection = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SwapDirection" ), mSwapDirection, false );
95 itemPracticeTimeout = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "PracticeTimeout" ), mPracticeTimeout, false );
109 itemPracticeTimeoutMode = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "PracticeTimeoutMode" ), mPracticeTimeoutMode, valuesPracticeTimeoutMode, EnumPracticeTimeoutMode::Show );
112 itemPracticeTimeoutTimePerAnswer = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "PracticeTimeoutTimePerAnswer" ), mPracticeTimeoutTimePerAnswer, 20 );
115 itemSuggestions = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Suggestions" ), mSuggestions, false );
118 itemShowHints = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowHints" ), mShowHints, true );
121 itemIgnoreAccentMistakes = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "IgnoreAccentMistakes" ), mIgnoreAccentMistakes, false );
124 itemIgnoreCapitalizationMistakes = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "IgnoreCapitalizationMistakes" ), mIgnoreCapitalizationMistakes, false );
127 itemSplitTranslations = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SplitTranslations" ), mSplitTranslations, false );
130 itemPeriods = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Periods" ), mPeriods, true );
133 itemColons = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Colons" ), mColons, false );
136 itemSemicolons = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Semicolons" ), mSemicolons, true );
139 itemCommas = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "Commas" ), mCommas, false );
142 itemShowMore = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowMore" ), mShowMore, true );
145 itemSkipKnownEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "SkipKnownEnabled" ), mSkipKnownEnabled, true );
148 itemCountSynonymsAsCorrect = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "CountSynonymsAsCorrect" ), mCountSynonymsAsCorrect, true );
151 itemPracticeImagesEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "PracticeImagesEnabled" ), mPracticeImagesEnabled, true );
154 itemPracticeSoundEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "PracticeSoundEnabled" ), mPracticeSoundEnabled, true );
157 itemMultipleChoiceWordTypeConsistancy = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "MultipleChoiceWordTypeConsistancy" ), mMultipleChoiceWordTypeConsistancy, true );
158 addItem( itemMultipleChoiceWordTypeConsistancy, QLatin1String( "MultipleChoiceWordTypeConsistancy" ) );
160 itemNumberMultipleChoiceAnswers = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "NumberMultipleChoiceAnswers" ), mNumberMultipleChoiceAnswers, 5 );
166 itemShowSearch = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowSearch" ), mShowSearch, true );
169 itemShowSublessonentries = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowSublessonentries" ), mShowSublessonentries, true );
172 itemTableLessonColumnVisible = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "TableLessonColumnVisible" ), mTableLessonColumnVisible, false );
175 itemTableActiveColumnVisible = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "TableActiveColumnVisible" ), mTableActiveColumnVisible, false );
199 itemLessonEditingSelection = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "LessonEditingSelection" ), mLessonEditingSelection, valuesLessonEditingSelection, EnumLessonEditingSelection::CurrentLesson );
206 itemMainWindowSplitter = new KConfigSkeleton::ItemIntList( currentGroup(), QLatin1String( "MainWindowSplitter" ), mMainWindowSplitter, defaultMainWindowSplitter );
209 itemPracticeFont = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "PracticeFont" ), mPracticeFont, KGlobalSettings::generalFont() );
212 itemIPAFont = new KConfigSkeleton::ItemFont( currentGroup(), QLatin1String( "IPAFont" ), mIPAFont, KGlobalSettings::generalFont() );
215 itemCurrentCol = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "CurrentCol" ), mCurrentCol, 2 );
218 itemCurrentRow = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "CurrentRow" ), mCurrentRow, 0 );
221 itemUseGradeColors = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "UseGradeColors" ), mUseGradeColors, true );
224 itemGradeColor[0] = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "GradeColor0" ), mGradeColor[0], QColor( 0, 0, 191 ) );
226 itemGradeColor[1] = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "GradeColor1" ), mGradeColor[1], QColor( 140, 25, 25 ) );
228 itemGradeColor[2] = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "GradeColor2" ), mGradeColor[2], QColor( 140, 25, 25 ) );
230 itemGradeColor[3] = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "GradeColor3" ), mGradeColor[3], QColor( 140, 25, 25 ) );
232 itemGradeColor[4] = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "GradeColor4" ), mGradeColor[4], QColor( 25, 140, 25 ) );
234 itemGradeColor[5] = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "GradeColor5" ), mGradeColor[5], QColor( 25, 140, 25 ) );
236 itemGradeColor[6] = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "GradeColor6" ), mGradeColor[6], QColor( 25, 140, 25 ) );
238 itemGradeColor[7] = new KConfigSkeleton::ItemColor( currentGroup(), QLatin1String( "GradeColor7" ), mGradeColor[7], QColor( 25, 140, 25 ) );
244 itemPracticeMinimumTimesAsked = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "PracticeMinimumTimesAsked" ), mPracticeMinimumTimesAsked, 0 );
247 itemPracticeMaximumTimesAsked = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "PracticeMaximumTimesAsked" ), mPracticeMaximumTimesAsked, 1000 );
250 itemPracticeMinimumWrongCount = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "PracticeMinimumWrongCount" ), mPracticeMinimumWrongCount, 0 );
253 itemPracticeMaximumWrongCount = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "PracticeMaximumWrongCount" ), mPracticeMaximumWrongCount, 1000 );
256 itemPracticeMinimumGrade = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "PracticeMinimumGrade" ), mPracticeMinimumGrade, 0 );
259 itemPracticeMaximumGrade = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "PracticeMaximumGrade" ), mPracticeMaximumGrade, 7 );
262 itemWordTypesInPracticeEnabled = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "WordTypesInPracticeEnabled" ), mWordTypesInPracticeEnabled, false );
265 itemWordTypesInPractice = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "WordTypesInPractice" ), mWordTypesInPractice );
268 itemSubWordTypesInPractice = new KConfigSkeleton::ItemStringList( currentGroup(), QLatin1String( "SubWordTypesInPractice" ), mSubWordTypesInPractice );
274 itemQuestionLanguage = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "QuestionLanguage" ), mQuestionLanguage, 0 );
277 itemSolutionLanguage = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "SolutionLanguage" ), mSolutionLanguage, 1 );
280 itemShowSolutionAfterAnswer = new KConfigSkeleton::ItemBool( currentGroup(), QLatin1String( "ShowSolutionAfterAnswer" ), mShowSolutionAfterAnswer, true );
283 itemShowSolutionAfterAnswerTime = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ShowSolutionAfterAnswerTime" ), mShowSolutionAfterAnswerTime, 0 );
327 itemPracticeMode = new KConfigSkeleton::ItemEnum( currentGroup(), QLatin1String( "PracticeMode" ), mPracticeMode, valuesPracticeMode, EnumPracticeMode::FlashCardsPractice );
330 itemBlockItem[0] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "BlockItem0" ), mBlockItem[0], 0 );
332 itemBlockItem[1] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "BlockItem1" ), mBlockItem[1], 86400 );
334 itemBlockItem[2] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "BlockItem2" ), mBlockItem[2], 172800 );
336 itemBlockItem[3] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "BlockItem3" ), mBlockItem[3], 345600 );
338 itemBlockItem[4] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "BlockItem4" ), mBlockItem[4], 604800 );
340 itemBlockItem[5] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "BlockItem5" ), mBlockItem[5], 1209600 );
342 itemBlockItem[6] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "BlockItem6" ), mBlockItem[6], 2592000 );
344 itemBlockItem[7] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "BlockItem7" ), mBlockItem[7], 5184000 );
347 itemExpireItem[0] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ExpireItem0" ), mExpireItem[0], 0 );
349 itemExpireItem[1] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ExpireItem1" ), mExpireItem[1], 172800 );
351 itemExpireItem[2] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ExpireItem2" ), mExpireItem[2], 345600 );
353 itemExpireItem[3] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ExpireItem3" ), mExpireItem[3], 604800 );
355 itemExpireItem[4] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ExpireItem4" ), mExpireItem[4], 1209600 );
357 itemExpireItem[5] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ExpireItem5" ), mExpireItem[5], 2592000 );
359 itemExpireItem[6] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ExpireItem6" ), mExpireItem[6], 5184000 );
361 itemExpireItem[7] = new KConfigSkeleton::ItemInt( currentGroup(), QLatin1String( "ExpireItem7" ), mExpireItem[7], 10368000 );
367 itemProvidersUrl = new KConfigSkeleton::ItemPath( currentGroup(), QLatin1String( "ProvidersUrl" ), mProvidersUrl, QLatin1String( "\"http://edu.kde.org/parley/providers.xml\"" ) );
370 itemInstallationCommand = new KConfigSkeleton::ItemString( currentGroup(), QLatin1String( "InstallationCommand" ), mInstallationCommand, QLatin1String( "parley %f" ) );
373 itemInstallPath = new KConfigSkeleton::ItemPath( currentGroup(), QLatin1String( "InstallPath" ), mInstallPath, QLatin1String( "$HOME/Vocabularies/" ) );
bool mMultipleChoiceWordTypeConsistancy
Definition: prefs.h:1387
Definition: prefs.h:10
Definition: prefs.h:16
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
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.