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

parley

  • sources
  • kde-4.12
  • kdeedu
  • parley
  • src
  • settings
prefs.h
Go to the documentation of this file.
1 // This file is generated by kconfig_compiler from parley.kcfg.
2 // All changes you do to this file will be lost.
3 #ifndef PREFS_H
4 #define PREFS_H
5 
6 #include <kconfigskeleton.h>
7 #include <kdebug.h>
8 
9 #include <kglobalsettings.h>
10 class Prefs : public KConfigSkeleton
11 {
12  public:
13  class EnumPracticeTimeoutMode
14  {
15  public:
16  enum type { Show, Continue, COUNT };
17  };
18  class EnumLessonEditingSelection
19  {
20  public:
21  enum type { CurrentLesson, LessonsInQuery, AllLessons, UserFiltered, COUNT };
22  };
23  class EnumPracticeMode
24  {
25  public:
26  enum type { FlashCardsPractice, MixedLettersPractice, MultipleChoicePractice, WrittenPractice, ExampleSentencesPractice, GenderPractice, ComparisonPractice, ConjugationPractice, COUNT };
27  };
28 
29  static Prefs *self();
30  ~Prefs();
31 
35  static
36  void setTheme( const QString & v )
37  {
38  if (!self()->isImmutable( QString::fromLatin1( "Theme" ) ))
39  self()->mTheme = v;
40  }
41 
45  static
46  QString theme()
47  {
48  return self()->mTheme;
49  }
50 
54  static
55  void setNumPreSetting( int v )
56  {
57  if (!self()->isImmutable( QString::fromLatin1( "NumPreSetting" ) ))
58  self()->mNumPreSetting = v;
59  }
60 
64  static
65  int numPreSetting()
66  {
67  return self()->mNumPreSetting;
68  }
69 
73  static
74  void setSmartAppend( bool v )
75  {
76  if (!self()->isImmutable( QString::fromLatin1( "SmartAppend" ) ))
77  self()->mSmartAppend = v;
78  }
79 
83  static
84  bool smartAppend()
85  {
86  return self()->mSmartAppend;
87  }
88 
92  static
93  void setSeparator( const QString & v )
94  {
95  if (!self()->isImmutable( QString::fromLatin1( "Separator" ) ))
96  self()->mSeparator = v;
97  }
98 
102  static
103  QString separator()
104  {
105  return self()->mSeparator;
106  }
107 
111  static
112  void setEntriesPerLesson( int v )
113  {
114  if (!self()->isImmutable( QString::fromLatin1( "EntriesPerLesson" ) ))
115  self()->mEntriesPerLesson = v;
116  }
117 
121  static
122  int entriesPerLesson()
123  {
124  return self()->mEntriesPerLesson;
125  }
126 
130  static
131  void setAutoOpenLast( bool v )
132  {
133  if (!self()->isImmutable( QString::fromLatin1( "AutoOpenLast" ) ))
134  self()->mAutoOpenLast = v;
135  }
136 
140  static
141  bool autoOpenLast()
142  {
143  return self()->mAutoOpenLast;
144  }
145 
149  static
150  void setAutoSave( bool v )
151  {
152  if (!self()->isImmutable( QString::fromLatin1( "AutoSave" ) ))
153  self()->mAutoSave = v;
154  }
155 
159  static
160  bool autoSave()
161  {
162  return self()->mAutoSave;
163  }
164 
168  static
169  void setSeparatorCombo( int v )
170  {
171  if (!self()->isImmutable( QString::fromLatin1( "SeparatorCombo" ) ))
172  self()->mSeparatorCombo = v;
173  }
174 
178  static
179  int separatorCombo()
180  {
181  return self()->mSeparatorCombo;
182  }
183 
187  static
188  void setAutoBackup( bool v )
189  {
190  if (!self()->isImmutable( QString::fromLatin1( "AutoBackup" ) ))
191  self()->mAutoBackup = v;
192  }
193 
197  static
198  bool autoBackup()
199  {
200  return self()->mAutoBackup;
201  }
202 
206  static
207  void setBackupTime( int v )
208  {
209  if (!self()->isImmutable( QString::fromLatin1( "BackupTime" ) ))
210  self()->mBackupTime = v;
211  }
212 
216  static
217  int backupTime()
218  {
219  return self()->mBackupTime;
220  }
221 
225  static
226  void setAutomaticTranslation( bool v )
227  {
228  if (!self()->isImmutable( QString::fromLatin1( "AutomaticTranslation" ) ))
229  self()->mAutomaticTranslation = v;
230  }
231 
235  static
236  bool automaticTranslation()
237  {
238  return self()->mAutomaticTranslation;
239  }
240 
244  static
245  void setFlashcardsFrontImage( bool v )
246  {
247  if (!self()->isImmutable( QString::fromLatin1( "FlashcardsFrontImage" ) ))
248  self()->mFlashcardsFrontImage = v;
249  }
250 
254  static
255  bool flashcardsFrontImage()
256  {
257  return self()->mFlashcardsFrontImage;
258  }
259 
263  static
264  void setFlashcardsBackImage( bool v )
265  {
266  if (!self()->isImmutable( QString::fromLatin1( "FlashcardsBackImage" ) ))
267  self()->mFlashcardsBackImage = v;
268  }
269 
273  static
274  bool flashcardsBackImage()
275  {
276  return self()->mFlashcardsBackImage;
277  }
278 
282  static
283  void setBlock( bool v )
284  {
285  if (!self()->isImmutable( QString::fromLatin1( "Block" ) ))
286  self()->mBlock = v;
287  }
288 
292  static
293  bool block()
294  {
295  return self()->mBlock;
296  }
297 
301  static
302  void setExpire( bool v )
303  {
304  if (!self()->isImmutable( QString::fromLatin1( "Expire" ) ))
305  self()->mExpire = v;
306  }
307 
311  static
312  bool expire()
313  {
314  return self()->mExpire;
315  }
316 
320  static
321  void setAltLearn( bool v )
322  {
323  if (!self()->isImmutable( QString::fromLatin1( "AltLearn" ) ))
324  self()->mAltLearn = v;
325  }
326 
330  static
331  bool altLearn()
332  {
333  return self()->mAltLearn;
334  }
335 
339  static
340  void setTestOrderLesson( bool v )
341  {
342  if (!self()->isImmutable( QString::fromLatin1( "TestOrderLesson" ) ))
343  self()->mTestOrderLesson = v;
344  }
345 
349  static
350  bool testOrderLesson()
351  {
352  return self()->mTestOrderLesson;
353  }
354 
358  static
359  void setTestNumberOfEntries( int v )
360  {
361  if (!self()->isImmutable( QString::fromLatin1( "TestNumberOfEntries" ) ))
362  self()->mTestNumberOfEntries = v;
363  }
364 
368  static
369  int testNumberOfEntries()
370  {
371  return self()->mTestNumberOfEntries;
372  }
373 
377  static
378  void setSwapDirection( bool v )
379  {
380  if (!self()->isImmutable( QString::fromLatin1( "SwapDirection" ) ))
381  self()->mSwapDirection = v;
382  }
383 
387  static
388  bool swapDirection()
389  {
390  return self()->mSwapDirection;
391  }
392 
396  static
397  void setPracticeTimeout( bool v )
398  {
399  if (!self()->isImmutable( QString::fromLatin1( "PracticeTimeout" ) ))
400  self()->mPracticeTimeout = v;
401  }
402 
406  static
407  bool practiceTimeout()
408  {
409  return self()->mPracticeTimeout;
410  }
411 
415  static
416  void setPracticeTimeoutMode( EnumPracticeTimeoutMode::type v )
417  {
418  if (!self()->isImmutable( QString::fromLatin1( "PracticeTimeoutMode" ) ))
419  self()->mPracticeTimeoutMode = v;
420  }
421 
425  static
426  EnumPracticeTimeoutMode::type practiceTimeoutMode()
427  {
428  return static_cast<EnumPracticeTimeoutMode::type>(self()->mPracticeTimeoutMode);
429  }
430 
434  static
435  void setPracticeTimeoutTimePerAnswer( int v )
436  {
437  if (!self()->isImmutable( QString::fromLatin1( "PracticeTimeoutTimePerAnswer" ) ))
438  self()->mPracticeTimeoutTimePerAnswer = v;
439  }
440 
444  static
445  int practiceTimeoutTimePerAnswer()
446  {
447  return self()->mPracticeTimeoutTimePerAnswer;
448  }
449 
453  static
454  void setSuggestions( bool v )
455  {
456  if (!self()->isImmutable( QString::fromLatin1( "Suggestions" ) ))
457  self()->mSuggestions = v;
458  }
459 
463  static
464  bool suggestions()
465  {
466  return self()->mSuggestions;
467  }
468 
472  static
473  void setShowHints( bool v )
474  {
475  if (!self()->isImmutable( QString::fromLatin1( "ShowHints" ) ))
476  self()->mShowHints = v;
477  }
478 
482  static
483  bool showHints()
484  {
485  return self()->mShowHints;
486  }
487 
491  static
492  void setIgnoreAccentMistakes( bool v )
493  {
494  if (!self()->isImmutable( QString::fromLatin1( "IgnoreAccentMistakes" ) ))
495  self()->mIgnoreAccentMistakes = v;
496  }
497 
501  static
502  bool ignoreAccentMistakes()
503  {
504  return self()->mIgnoreAccentMistakes;
505  }
506 
510  static
511  void setIgnoreCapitalizationMistakes( bool v )
512  {
513  if (!self()->isImmutable( QString::fromLatin1( "IgnoreCapitalizationMistakes" ) ))
514  self()->mIgnoreCapitalizationMistakes = v;
515  }
516 
520  static
521  bool ignoreCapitalizationMistakes()
522  {
523  return self()->mIgnoreCapitalizationMistakes;
524  }
525 
529  static
530  void setSplitTranslations( bool v )
531  {
532  if (!self()->isImmutable( QString::fromLatin1( "SplitTranslations" ) ))
533  self()->mSplitTranslations = v;
534  }
535 
539  static
540  bool splitTranslations()
541  {
542  return self()->mSplitTranslations;
543  }
544 
548  static
549  void setPeriods( bool v )
550  {
551  if (!self()->isImmutable( QString::fromLatin1( "Periods" ) ))
552  self()->mPeriods = v;
553  }
554 
558  static
559  bool periods()
560  {
561  return self()->mPeriods;
562  }
563 
567  static
568  void setColons( bool v )
569  {
570  if (!self()->isImmutable( QString::fromLatin1( "Colons" ) ))
571  self()->mColons = v;
572  }
573 
577  static
578  bool colons()
579  {
580  return self()->mColons;
581  }
582 
586  static
587  void setSemicolons( bool v )
588  {
589  if (!self()->isImmutable( QString::fromLatin1( "Semicolons" ) ))
590  self()->mSemicolons = v;
591  }
592 
596  static
597  bool semicolons()
598  {
599  return self()->mSemicolons;
600  }
601 
605  static
606  void setCommas( bool v )
607  {
608  if (!self()->isImmutable( QString::fromLatin1( "Commas" ) ))
609  self()->mCommas = v;
610  }
611 
615  static
616  bool commas()
617  {
618  return self()->mCommas;
619  }
620 
624  static
625  void setShowMore( bool v )
626  {
627  if (!self()->isImmutable( QString::fromLatin1( "ShowMore" ) ))
628  self()->mShowMore = v;
629  }
630 
634  static
635  bool showMore()
636  {
637  return self()->mShowMore;
638  }
639 
643  static
644  void setSkipKnownEnabled( bool v )
645  {
646  if (!self()->isImmutable( QString::fromLatin1( "SkipKnownEnabled" ) ))
647  self()->mSkipKnownEnabled = v;
648  }
649 
653  static
654  bool skipKnownEnabled()
655  {
656  return self()->mSkipKnownEnabled;
657  }
658 
662  static
663  void setCountSynonymsAsCorrect( bool v )
664  {
665  if (!self()->isImmutable( QString::fromLatin1( "CountSynonymsAsCorrect" ) ))
666  self()->mCountSynonymsAsCorrect = v;
667  }
668 
672  static
673  bool countSynonymsAsCorrect()
674  {
675  return self()->mCountSynonymsAsCorrect;
676  }
677 
681  static
682  void setPracticeImagesEnabled( bool v )
683  {
684  if (!self()->isImmutable( QString::fromLatin1( "PracticeImagesEnabled" ) ))
685  self()->mPracticeImagesEnabled = v;
686  }
687 
691  static
692  bool practiceImagesEnabled()
693  {
694  return self()->mPracticeImagesEnabled;
695  }
696 
700  static
701  void setPracticeSoundEnabled( bool v )
702  {
703  if (!self()->isImmutable( QString::fromLatin1( "PracticeSoundEnabled" ) ))
704  self()->mPracticeSoundEnabled = v;
705  }
706 
710  static
711  bool practiceSoundEnabled()
712  {
713  return self()->mPracticeSoundEnabled;
714  }
715 
719  static
720  void setMultipleChoiceWordTypeConsistancy( bool v )
721  {
722  if (!self()->isImmutable( QString::fromLatin1( "MultipleChoiceWordTypeConsistancy" ) ))
723  self()->mMultipleChoiceWordTypeConsistancy = v;
724  }
725 
729  static
730  bool multipleChoiceWordTypeConsistancy()
731  {
732  return self()->mMultipleChoiceWordTypeConsistancy;
733  }
734 
738  static
739  void setNumberMultipleChoiceAnswers( int v )
740  {
741  if (!self()->isImmutable( QString::fromLatin1( "NumberMultipleChoiceAnswers" ) ))
742  self()->mNumberMultipleChoiceAnswers = v;
743  }
744 
748  static
749  int numberMultipleChoiceAnswers()
750  {
751  return self()->mNumberMultipleChoiceAnswers;
752  }
753 
757  static
758  void setShowSearch( bool v )
759  {
760  if (!self()->isImmutable( QString::fromLatin1( "ShowSearch" ) ))
761  self()->mShowSearch = v;
762  }
763 
767  static
768  bool showSearch()
769  {
770  return self()->mShowSearch;
771  }
772 
776  static
777  void setShowSublessonentries( bool v )
778  {
779  if (!self()->isImmutable( QString::fromLatin1( "ShowSublessonentries" ) ))
780  self()->mShowSublessonentries = v;
781  }
782 
786  static
787  bool showSublessonentries()
788  {
789  return self()->mShowSublessonentries;
790  }
791 
795  static
796  void setTableLessonColumnVisible( bool v )
797  {
798  if (!self()->isImmutable( QString::fromLatin1( "TableLessonColumnVisible" ) ))
799  self()->mTableLessonColumnVisible = v;
800  }
801 
805  static
806  bool tableLessonColumnVisible()
807  {
808  return self()->mTableLessonColumnVisible;
809  }
810 
814  static
815  void setTableActiveColumnVisible( bool v )
816  {
817  if (!self()->isImmutable( QString::fromLatin1( "TableActiveColumnVisible" ) ))
818  self()->mTableActiveColumnVisible = v;
819  }
820 
824  static
825  bool tableActiveColumnVisible()
826  {
827  return self()->mTableActiveColumnVisible;
828  }
829 
833  static
834  void setLessonEditingSelection( EnumLessonEditingSelection::type v )
835  {
836  if (!self()->isImmutable( QString::fromLatin1( "LessonEditingSelection" ) ))
837  self()->mLessonEditingSelection = v;
838  }
839 
843  static
844  EnumLessonEditingSelection::type lessonEditingSelection()
845  {
846  return static_cast<EnumLessonEditingSelection::type>(self()->mLessonEditingSelection);
847  }
848 
852  static
853  void setMainWindowSplitter( const QList<int> & v )
854  {
855  if (!self()->isImmutable( QString::fromLatin1( "MainWindowSplitter" ) ))
856  self()->mMainWindowSplitter = v;
857  }
858 
862  static
863  QList<int> mainWindowSplitter()
864  {
865  return self()->mMainWindowSplitter;
866  }
867 
871  static
872  void setPracticeFont( const QFont & v )
873  {
874  if (!self()->isImmutable( QString::fromLatin1( "PracticeFont" ) ))
875  self()->mPracticeFont = v;
876  }
877 
881  static
882  QFont practiceFont()
883  {
884  return self()->mPracticeFont;
885  }
886 
890  static
891  void setIPAFont( const QFont & v )
892  {
893  if (!self()->isImmutable( QString::fromLatin1( "IPAFont" ) ))
894  self()->mIPAFont = v;
895  }
896 
900  static
901  QFont iPAFont()
902  {
903  return self()->mIPAFont;
904  }
905 
909  static
910  void setCurrentCol( int v )
911  {
912  if (!self()->isImmutable( QString::fromLatin1( "CurrentCol" ) ))
913  self()->mCurrentCol = v;
914  }
915 
919  static
920  int currentCol()
921  {
922  return self()->mCurrentCol;
923  }
924 
928  static
929  void setCurrentRow( int v )
930  {
931  if (!self()->isImmutable( QString::fromLatin1( "CurrentRow" ) ))
932  self()->mCurrentRow = v;
933  }
934 
938  static
939  int currentRow()
940  {
941  return self()->mCurrentRow;
942  }
943 
947  static
948  void setUseGradeColors( bool v )
949  {
950  if (!self()->isImmutable( QString::fromLatin1( "UseGradeColors" ) ))
951  self()->mUseGradeColors = v;
952  }
953 
957  static
958  bool useGradeColors()
959  {
960  return self()->mUseGradeColors;
961  }
962 
966  static
967  void setGradeColor( int i, const QColor & v )
968  {
969  if (!self()->isImmutable( QString::fromLatin1( "GradeColor%1" ).arg( i ) ))
970  self()->mGradeColor[i] = v;
971  }
972 
976  static
977  QColor gradeColor( int i )
978  {
979  return self()->mGradeColor[i];
980  }
981 
985  static
986  void setPracticeMinimumTimesAsked( int v )
987  {
988  if (!self()->isImmutable( QString::fromLatin1( "PracticeMinimumTimesAsked" ) ))
989  self()->mPracticeMinimumTimesAsked = v;
990  }
991 
995  static
996  int practiceMinimumTimesAsked()
997  {
998  return self()->mPracticeMinimumTimesAsked;
999  }
1000 
1004  static
1005  void setPracticeMaximumTimesAsked( int v )
1006  {
1007  if (!self()->isImmutable( QString::fromLatin1( "PracticeMaximumTimesAsked" ) ))
1008  self()->mPracticeMaximumTimesAsked = v;
1009  }
1010 
1014  static
1015  int practiceMaximumTimesAsked()
1016  {
1017  return self()->mPracticeMaximumTimesAsked;
1018  }
1019 
1023  static
1024  void setPracticeMinimumWrongCount( int v )
1025  {
1026  if (!self()->isImmutable( QString::fromLatin1( "PracticeMinimumWrongCount" ) ))
1027  self()->mPracticeMinimumWrongCount = v;
1028  }
1029 
1033  static
1034  int practiceMinimumWrongCount()
1035  {
1036  return self()->mPracticeMinimumWrongCount;
1037  }
1038 
1042  static
1043  void setPracticeMaximumWrongCount( int v )
1044  {
1045  if (!self()->isImmutable( QString::fromLatin1( "PracticeMaximumWrongCount" ) ))
1046  self()->mPracticeMaximumWrongCount = v;
1047  }
1048 
1052  static
1053  int practiceMaximumWrongCount()
1054  {
1055  return self()->mPracticeMaximumWrongCount;
1056  }
1057 
1061  static
1062  void setPracticeMinimumGrade( int v )
1063  {
1064  if (!self()->isImmutable( QString::fromLatin1( "PracticeMinimumGrade" ) ))
1065  self()->mPracticeMinimumGrade = v;
1066  }
1067 
1071  static
1072  int practiceMinimumGrade()
1073  {
1074  return self()->mPracticeMinimumGrade;
1075  }
1076 
1080  static
1081  void setPracticeMaximumGrade( int v )
1082  {
1083  if (!self()->isImmutable( QString::fromLatin1( "PracticeMaximumGrade" ) ))
1084  self()->mPracticeMaximumGrade = v;
1085  }
1086 
1090  static
1091  int practiceMaximumGrade()
1092  {
1093  return self()->mPracticeMaximumGrade;
1094  }
1095 
1099  static
1100  void setWordTypesInPracticeEnabled( bool v )
1101  {
1102  if (!self()->isImmutable( QString::fromLatin1( "WordTypesInPracticeEnabled" ) ))
1103  self()->mWordTypesInPracticeEnabled = v;
1104  }
1105 
1109  static
1110  bool wordTypesInPracticeEnabled()
1111  {
1112  return self()->mWordTypesInPracticeEnabled;
1113  }
1114 
1118  static
1119  void setWordTypesInPractice( const QStringList & v )
1120  {
1121  if (!self()->isImmutable( QString::fromLatin1( "WordTypesInPractice" ) ))
1122  self()->mWordTypesInPractice = v;
1123  }
1124 
1128  static
1129  QStringList wordTypesInPractice()
1130  {
1131  return self()->mWordTypesInPractice;
1132  }
1133 
1137  static
1138  void setSubWordTypesInPractice( const QStringList & v )
1139  {
1140  if (!self()->isImmutable( QString::fromLatin1( "SubWordTypesInPractice" ) ))
1141  self()->mSubWordTypesInPractice = v;
1142  }
1143 
1147  static
1148  QStringList subWordTypesInPractice()
1149  {
1150  return self()->mSubWordTypesInPractice;
1151  }
1152 
1156  static
1157  void setQuestionLanguage( int v )
1158  {
1159  if (!self()->isImmutable( QString::fromLatin1( "QuestionLanguage" ) ))
1160  self()->mQuestionLanguage = v;
1161  }
1162 
1166  static
1167  int questionLanguage()
1168  {
1169  return self()->mQuestionLanguage;
1170  }
1171 
1175  static
1176  void setSolutionLanguage( int v )
1177  {
1178  if (!self()->isImmutable( QString::fromLatin1( "SolutionLanguage" ) ))
1179  self()->mSolutionLanguage = v;
1180  }
1181 
1185  static
1186  int solutionLanguage()
1187  {
1188  return self()->mSolutionLanguage;
1189  }
1190 
1194  static
1195  void setShowSolutionAfterAnswer( bool v )
1196  {
1197  if (!self()->isImmutable( QString::fromLatin1( "ShowSolutionAfterAnswer" ) ))
1198  self()->mShowSolutionAfterAnswer = v;
1199  }
1200 
1204  static
1205  bool showSolutionAfterAnswer()
1206  {
1207  return self()->mShowSolutionAfterAnswer;
1208  }
1209 
1213  static
1214  void setShowSolutionAfterAnswerTime( int v )
1215  {
1216  if (!self()->isImmutable( QString::fromLatin1( "ShowSolutionAfterAnswerTime" ) ))
1217  self()->mShowSolutionAfterAnswerTime = v;
1218  }
1219 
1223  static
1224  int showSolutionAfterAnswerTime()
1225  {
1226  return self()->mShowSolutionAfterAnswerTime;
1227  }
1228 
1232  static
1233  void setPracticeMode( EnumPracticeMode::type v )
1234  {
1235  if (!self()->isImmutable( QString::fromLatin1( "PracticeMode" ) ))
1236  self()->mPracticeMode = v;
1237  }
1238 
1242  static
1243  EnumPracticeMode::type practiceMode()
1244  {
1245  return static_cast<EnumPracticeMode::type>(self()->mPracticeMode);
1246  }
1247 
1251  static
1252  void setBlockItem( int i, int v )
1253  {
1254  if (!self()->isImmutable( QString::fromLatin1( "BlockItem%1" ).arg( i ) ))
1255  self()->mBlockItem[i] = v;
1256  }
1257 
1261  static
1262  int blockItem( int i )
1263  {
1264  return self()->mBlockItem[i];
1265  }
1266 
1270  static
1271  void setExpireItem( int i, int v )
1272  {
1273  if (!self()->isImmutable( QString::fromLatin1( "ExpireItem%1" ).arg( i ) ))
1274  self()->mExpireItem[i] = v;
1275  }
1276 
1280  static
1281  int expireItem( int i )
1282  {
1283  return self()->mExpireItem[i];
1284  }
1285 
1289  static
1290  void setProvidersUrl( const QString & v )
1291  {
1292  if (!self()->isImmutable( QString::fromLatin1( "ProvidersUrl" ) ))
1293  self()->mProvidersUrl = v;
1294  }
1295 
1299  static
1300  QString providersUrl()
1301  {
1302  return self()->mProvidersUrl;
1303  }
1304 
1308  static
1309  void setInstallationCommand( const QString & v )
1310  {
1311  if (!self()->isImmutable( QString::fromLatin1( "InstallationCommand" ) ))
1312  self()->mInstallationCommand = v;
1313  }
1314 
1318  static
1319  QString installationCommand()
1320  {
1321  return self()->mInstallationCommand;
1322  }
1323 
1327  static
1328  void setInstallPath( const QString & v )
1329  {
1330  if (!self()->isImmutable( QString::fromLatin1( "InstallPath" ) ))
1331  self()->mInstallPath = v;
1332  }
1333 
1337  static
1338  QString installPath()
1339  {
1340  return self()->mInstallPath;
1341  }
1342 
1343  protected:
1344  Prefs();
1345  friend class PrefsHelper;
1346 
1347 
1348  // General
1349  QString mTheme;
1350  int mNumPreSetting;
1351  bool mSmartAppend;
1352  QString mSeparator;
1353  int mEntriesPerLesson;
1354  bool mAutoOpenLast;
1355  bool mAutoSave;
1356  int mSeparatorCombo;
1357  bool mAutoBackup;
1358  int mBackupTime;
1359  bool mAutomaticTranslation;
1360 
1361  // PracticeOptions
1362  bool mFlashcardsFrontImage;
1363  bool mFlashcardsBackImage;
1364  bool mBlock;
1365  bool mExpire;
1366  bool mAltLearn;
1367  bool mTestOrderLesson;
1368  int mTestNumberOfEntries;
1369  bool mSwapDirection;
1370  bool mPracticeTimeout;
1371  int mPracticeTimeoutMode;
1372  int mPracticeTimeoutTimePerAnswer;
1373  bool mSuggestions;
1374  bool mShowHints;
1375  bool mIgnoreAccentMistakes;
1376  bool mIgnoreCapitalizationMistakes;
1377  bool mSplitTranslations;
1378  bool mPeriods;
1379  bool mColons;
1380  bool mSemicolons;
1381  bool mCommas;
1382  bool mShowMore;
1383  bool mSkipKnownEnabled;
1384  bool mCountSynonymsAsCorrect;
1385  bool mPracticeImagesEnabled;
1386  bool mPracticeSoundEnabled;
1387  bool mMultipleChoiceWordTypeConsistancy;
1388  int mNumberMultipleChoiceAnswers;
1389 
1390  // Appearance
1391  bool mShowSearch;
1392  bool mShowSublessonentries;
1393  bool mTableLessonColumnVisible;
1394  bool mTableActiveColumnVisible;
1395  int mLessonEditingSelection;
1396  QList<int> mMainWindowSplitter;
1397  QFont mPracticeFont;
1398  QFont mIPAFont;
1399  int mCurrentCol;
1400  int mCurrentRow;
1401  bool mUseGradeColors;
1402  QColor mGradeColor[8];
1403 
1404  // Thresholds
1405  int mPracticeMinimumTimesAsked;
1406  int mPracticeMaximumTimesAsked;
1407  int mPracticeMinimumWrongCount;
1408  int mPracticeMaximumWrongCount;
1409  int mPracticeMinimumGrade;
1410  int mPracticeMaximumGrade;
1411  bool mWordTypesInPracticeEnabled;
1412  QStringList mWordTypesInPractice;
1413  QStringList mSubWordTypesInPractice;
1414 
1415  // PracticeManager
1416  int mQuestionLanguage;
1417  int mSolutionLanguage;
1418  bool mShowSolutionAfterAnswer;
1419  int mShowSolutionAfterAnswerTime;
1420  int mPracticeMode;
1421  int mBlockItem[8];
1422  int mExpireItem[8];
1423 
1424  // KNewStuff
1425  QString mProvidersUrl;
1426  QString mInstallationCommand;
1427  QString mInstallPath;
1428 
1429  private:
1430 };
1431 
1432 #endif
1433 
Prefs::currentCol
static int currentCol()
Get Currently selected column.
Definition: prefs.h:920
Prefs::mSolutionLanguage
int mSolutionLanguage
Definition: prefs.h:1417
Prefs::mSemicolons
bool mSemicolons
Definition: prefs.h:1380
Prefs::setExpireItem
static void setExpireItem(int i, int v)
Set Amount of time after which different grades should expire.
Definition: prefs.h:1271
Prefs::mPracticeTimeout
bool mPracticeTimeout
Definition: prefs.h:1370
Prefs::wordTypesInPracticeEnabled
static bool wordTypesInPracticeEnabled()
Get Only selected word types will be included in practice.
Definition: prefs.h:1110
Prefs::setSmartAppend
static void setSmartAppend(bool v)
Set If true, when using the entry dialog, new rows will be appended as needed.
Definition: prefs.h:74
Prefs::setPracticeMaximumWrongCount
static void setPracticeMaximumWrongCount(int v)
Set The entry must have been answered incorrectly at most this often to be included in the practice...
Definition: prefs.h:1043
Prefs::showSolutionAfterAnswerTime
static int showSolutionAfterAnswerTime()
Get The time the solution is shown (seconds).
Definition: prefs.h:1224
Prefs::mInstallationCommand
QString mInstallationCommand
Definition: prefs.h:1426
Prefs::altLearn
static bool altLearn()
Get Use the Leitner learning method.
Definition: prefs.h:331
Prefs::EnumPracticeMode::MultipleChoicePractice
Definition: prefs.h:26
Prefs::mShowMore
bool mShowMore
Definition: prefs.h:1382
Prefs::practiceTimeoutTimePerAnswer
static int practiceTimeoutTimePerAnswer()
Get Maximum time allowed to answer.
Definition: prefs.h:445
Prefs::colons
static bool colons()
Get Split translations at colons.
Definition: prefs.h:578
Prefs::setAutoSave
static void setAutoSave(bool v)
Set If true, vocabularies are automatically saved on close and exit.
Definition: prefs.h:150
Prefs::tableLessonColumnVisible
static bool tableLessonColumnVisible()
Get Show/hide the lesson column.
Definition: prefs.h:806
Prefs::EnumPracticeMode::ComparisonPractice
Definition: prefs.h:26
Prefs::EnumPracticeMode::ConjugationPractice
Definition: prefs.h:26
Prefs::mMainWindowSplitter
QList< int > mMainWindowSplitter
Definition: prefs.h:1396
Prefs::mIgnoreAccentMistakes
bool mIgnoreAccentMistakes
Definition: prefs.h:1375
Prefs::mExpireItem
int mExpireItem[8]
Definition: prefs.h:1422
Prefs::setCurrentRow
static void setCurrentRow(int v)
Set Currently selected row.
Definition: prefs.h:929
Prefs::mBlock
bool mBlock
Definition: prefs.h:1364
Prefs::mAutomaticTranslation
bool mAutomaticTranslation
Definition: prefs.h:1359
Prefs::useGradeColors
static bool useGradeColors()
Get Use your own colors.
Definition: prefs.h:958
Prefs::practiceMode
static EnumPracticeMode::type practiceMode()
Get The practice mode that is currently selected.
Definition: prefs.h:1243
Prefs::autoSave
static bool autoSave()
Get If true, vocabularies are automatically saved on close and exit.
Definition: prefs.h:160
Prefs::setBlock
static void setBlock(bool v)
Set In Blocking Query Tab Dialog, if checked then the Query is blocked.
Definition: prefs.h:283
Prefs::setShowSolutionAfterAnswer
static void setShowSolutionAfterAnswer(bool v)
Set Show the solution after an answer was given.
Definition: prefs.h:1195
Prefs::practiceSoundEnabled
static bool practiceSoundEnabled()
Get Enable sound playback in the practice dialogs.
Definition: prefs.h:711
Prefs::setPeriods
static void setPeriods(bool v)
Set Split translations at periods.
Definition: prefs.h:549
Prefs::setPracticeFont
static void setPracticeFont(const QFont &v)
Set The font used in the vocabulary table.
Definition: prefs.h:872
Prefs::EnumLessonEditingSelection
Definition: prefs.h:18
Prefs::practiceMinimumGrade
static int practiceMinimumGrade()
Get The entry must have at least this grade to be included in the practice (0..7).
Definition: prefs.h:1072
Prefs::installationCommand
static QString installationCommand()
Get The command used to start a downloaded vocabulary.
Definition: prefs.h:1319
Prefs::setSeparator
static void setSeparator(const QString &v)
Set This sets the separator used when copying/pasting text, default is Tab.
Definition: prefs.h:93
Prefs::setPracticeImagesEnabled
static void setPracticeImagesEnabled(bool v)
Set Enable image display in the practice dialogs.
Definition: prefs.h:682
Prefs::flashcardsFrontImage
static bool flashcardsFrontImage()
Get Show images on the front of the flashcard.
Definition: prefs.h:255
Prefs::EnumLessonEditingSelection::CurrentLesson
Definition: prefs.h:21
Prefs::setEntriesPerLesson
static void setEntriesPerLesson(int v)
Set The number of entries per lesson.
Definition: prefs.h:112
Prefs::setAutoOpenLast
static void setAutoOpenLast(bool v)
Set If true, on each application start the last opened file will be loaded.
Definition: prefs.h:131
Prefs::practiceMaximumTimesAsked
static int practiceMaximumTimesAsked()
Get The entry must have been asked at most this often to be included in the practice.
Definition: prefs.h:1015
Prefs::mSubWordTypesInPractice
QStringList mSubWordTypesInPractice
Definition: prefs.h:1413
Prefs::mMultipleChoiceWordTypeConsistancy
bool mMultipleChoiceWordTypeConsistancy
Definition: prefs.h:1387
Prefs::mIgnoreCapitalizationMistakes
bool mIgnoreCapitalizationMistakes
Definition: prefs.h:1376
Prefs::setSeparatorCombo
static void setSeparatorCombo(int v)
Set SeparatorCombo.
Definition: prefs.h:169
Prefs::setAutomaticTranslation
static void setAutomaticTranslation(bool v)
Set Enable automatic translation of the lesson entries.
Definition: prefs.h:226
Prefs::setInstallationCommand
static void setInstallationCommand(const QString &v)
Set The command used to start a downloaded vocabulary.
Definition: prefs.h:1309
Prefs::EnumPracticeMode::type
type
Definition: prefs.h:26
Prefs::separatorCombo
static int separatorCombo()
Get SeparatorCombo.
Definition: prefs.h:179
Prefs
Definition: prefs.h:10
Prefs::mPracticeMaximumTimesAsked
int mPracticeMaximumTimesAsked
Definition: prefs.h:1406
Prefs::setPracticeTimeout
static void setPracticeTimeout(bool v)
Set Limit the time for the user to answer in a test.
Definition: prefs.h:397
Prefs::setTableLessonColumnVisible
static void setTableLessonColumnVisible(bool v)
Set Show/hide the lesson column.
Definition: prefs.h:796
Prefs::mPeriods
bool mPeriods
Definition: prefs.h:1378
Prefs::setSkipKnownEnabled
static void setSkipKnownEnabled(bool v)
Set Enable Skip (I Know It) button in written practice.
Definition: prefs.h:644
Prefs::EnumPracticeMode::COUNT
Definition: prefs.h:26
Prefs::questionLanguage
static int questionLanguage()
Get The language that is displayed in a test.
Definition: prefs.h:1167
Prefs::expireItem
static int expireItem(int i)
Get Amount of time after which different grades should expire.
Definition: prefs.h:1281
Prefs::mColons
bool mColons
Definition: prefs.h:1379
Prefs::numPreSetting
static int numPreSetting()
Get Number of stored setting profiles.
Definition: prefs.h:65
Prefs::mainWindowSplitter
static QList< int > mainWindowSplitter()
Get How the main window is divided.
Definition: prefs.h:863
KConfigSkeleton
Prefs::mPracticeTimeoutMode
int mPracticeTimeoutMode
Definition: prefs.h:1371
Prefs::setPracticeMode
static void setPracticeMode(EnumPracticeMode::type v)
Set The practice mode that is currently selected.
Definition: prefs.h:1233
Prefs::numberMultipleChoiceAnswers
static int numberMultipleChoiceAnswers()
Get How many answers are provided for a multiple choice question, including the correct answer...
Definition: prefs.h:749
Prefs::mPracticeTimeoutTimePerAnswer
int mPracticeTimeoutTimePerAnswer
Definition: prefs.h:1372
Prefs::mTheme
QString mTheme
Definition: prefs.h:1349
Prefs::setProvidersUrl
static void setProvidersUrl(const QString &v)
Set The Providers path for Parley.
Definition: prefs.h:1290
Prefs::theme
static QString theme()
Get Theme to use for practice and welcome screen.
Definition: prefs.h:46
Prefs::practiceImagesEnabled
static bool practiceImagesEnabled()
Get Enable image display in the practice dialogs.
Definition: prefs.h:692
Prefs::mLessonEditingSelection
int mLessonEditingSelection
Definition: prefs.h:1395
Prefs::EnumPracticeMode
Definition: prefs.h:23
Prefs::mEntriesPerLesson
int mEntriesPerLesson
Definition: prefs.h:1353
Prefs::setIPAFont
static void setIPAFont(const QFont &v)
Set The font used for phonetics.
Definition: prefs.h:891
Prefs::commas
static bool commas()
Get Split translations at commas.
Definition: prefs.h:616
Prefs::mPracticeImagesEnabled
bool mPracticeImagesEnabled
Definition: prefs.h:1385
Prefs::mNumPreSetting
int mNumPreSetting
Definition: prefs.h:1350
Prefs::mQuestionLanguage
int mQuestionLanguage
Definition: prefs.h:1416
Prefs::mTestNumberOfEntries
int mTestNumberOfEntries
Definition: prefs.h:1368
Prefs::testNumberOfEntries
static int testNumberOfEntries()
Get The number of entries that are practiced at the same time.
Definition: prefs.h:369
Prefs::mWordTypesInPracticeEnabled
bool mWordTypesInPracticeEnabled
Definition: prefs.h:1411
Prefs::mSuggestions
bool mSuggestions
Definition: prefs.h:1373
Prefs::subWordTypesInPractice
static QStringList subWordTypesInPractice()
Get Selected sub word types for practices.
Definition: prefs.h:1148
Prefs::semicolons
static bool semicolons()
Get Split translations at semicolons.
Definition: prefs.h:597
Prefs::currentRow
static int currentRow()
Get Currently selected row.
Definition: prefs.h:939
Prefs::mBlockItem
int mBlockItem[8]
Definition: prefs.h:1421
Prefs::setNumPreSetting
static void setNumPreSetting(int v)
Set Number of stored setting profiles.
Definition: prefs.h:55
Prefs::periods
static bool periods()
Get Split translations at periods.
Definition: prefs.h:559
Prefs::setNumberMultipleChoiceAnswers
static void setNumberMultipleChoiceAnswers(int v)
Set How many answers are provided for a multiple choice question, including the correct answer...
Definition: prefs.h:739
Prefs::setSubWordTypesInPractice
static void setSubWordTypesInPractice(const QStringList &v)
Set Selected sub word types for practices.
Definition: prefs.h:1138
Prefs::blockItem
static int blockItem(int i)
Get Amount of time different grades should be blocked.
Definition: prefs.h:1262
Prefs::EnumLessonEditingSelection::LessonsInQuery
Definition: prefs.h:21
Prefs::showSearch
static bool showSearch()
Get Toggle display of the search bar.
Definition: prefs.h:768
Prefs::practiceTimeoutMode
static EnumPracticeTimeoutMode::type practiceTimeoutMode()
Get Show - show the solution after the given time; Continue - go to the next question after the given...
Definition: prefs.h:426
Prefs::setBlockItem
static void setBlockItem(int i, int v)
Set Amount of time different grades should be blocked.
Definition: prefs.h:1252
Prefs::autoOpenLast
static bool autoOpenLast()
Get If true, on each application start the last opened file will be loaded.
Definition: prefs.h:141
Prefs::setIgnoreCapitalizationMistakes
static void setIgnoreCapitalizationMistakes(bool v)
Set Count answers as right when only the capitalization is wrong.
Definition: prefs.h:511
Prefs::mGradeColor
QColor mGradeColor[8]
Definition: prefs.h:1402
Prefs::EnumLessonEditingSelection::COUNT
Definition: prefs.h:21
Prefs::mWordTypesInPractice
QStringList mWordTypesInPractice
Definition: prefs.h:1412
Prefs::suggestions
static bool suggestions()
Get Enable suggestion lists in written practice.
Definition: prefs.h:464
Prefs::practiceMinimumTimesAsked
static int practiceMinimumTimesAsked()
Get The entry must have been asked at least this often to be included in the practice.
Definition: prefs.h:996
Prefs::mAutoBackup
bool mAutoBackup
Definition: prefs.h:1357
Prefs::mPracticeMinimumWrongCount
int mPracticeMinimumWrongCount
Definition: prefs.h:1407
Prefs::setMainWindowSplitter
static void setMainWindowSplitter(const QList< int > &v)
Set How the main window is divided.
Definition: prefs.h:853
Prefs::mShowSolutionAfterAnswerTime
int mShowSolutionAfterAnswerTime
Definition: prefs.h:1419
Prefs::setSwapDirection
static void setSwapDirection(bool v)
Set Swap direction randomly.
Definition: prefs.h:378
Prefs::setPracticeMinimumGrade
static void setPracticeMinimumGrade(int v)
Set The entry must have at least this grade to be included in the practice (0..7).
Definition: prefs.h:1062
Prefs::setSplitTranslations
static void setSplitTranslations(bool v)
Set Split translations in written practice.
Definition: prefs.h:530
Prefs::EnumPracticeMode::GenderPractice
Definition: prefs.h:26
Prefs::mBackupTime
int mBackupTime
Definition: prefs.h:1358
Prefs::setMultipleChoiceWordTypeConsistancy
static void setMultipleChoiceWordTypeConsistancy(bool v)
Set Use the same word type as the solution for the incorrect answers in a multiple choice practice...
Definition: prefs.h:720
Prefs::mShowSolutionAfterAnswer
bool mShowSolutionAfterAnswer
Definition: prefs.h:1418
Prefs::mTableLessonColumnVisible
bool mTableLessonColumnVisible
Definition: prefs.h:1393
Prefs::multipleChoiceWordTypeConsistancy
static bool multipleChoiceWordTypeConsistancy()
Get Use the same word type as the solution for the incorrect answers in a multiple choice practice...
Definition: prefs.h:730
Prefs::setGradeColor
static void setGradeColor(int i, const QColor &v)
Set Colors used to display different grades.
Definition: prefs.h:967
Prefs::mCountSynonymsAsCorrect
bool mCountSynonymsAsCorrect
Definition: prefs.h:1384
Prefs::expire
static bool expire()
Get In Blocking Query Tab Dialog, if checked then the Query accepts an expiring time.
Definition: prefs.h:312
Prefs::iPAFont
static QFont iPAFont()
Get The font used for phonetics.
Definition: prefs.h:901
Prefs::practiceMinimumWrongCount
static int practiceMinimumWrongCount()
Get The entry must have been answered incorrectly at least this often to be included in the practice...
Definition: prefs.h:1034
Prefs::mCommas
bool mCommas
Definition: prefs.h:1381
Prefs::mPracticeMaximumWrongCount
int mPracticeMaximumWrongCount
Definition: prefs.h:1408
Prefs::practiceMaximumWrongCount
static int practiceMaximumWrongCount()
Get The entry must have been answered incorrectly at most this often to be included in the practice...
Definition: prefs.h:1053
Prefs::EnumPracticeTimeoutMode::Show
Definition: prefs.h:16
Prefs::PrefsHelper
friend class PrefsHelper
Definition: prefs.h:1345
Prefs::setPracticeMinimumTimesAsked
static void setPracticeMinimumTimesAsked(int v)
Set The entry must have been asked at least this often to be included in the practice.
Definition: prefs.h:986
Prefs::EnumLessonEditingSelection::type
type
Definition: prefs.h:21
Prefs::mSmartAppend
bool mSmartAppend
Definition: prefs.h:1351
Prefs::mTestOrderLesson
bool mTestOrderLesson
Definition: prefs.h:1367
Prefs::mAutoSave
bool mAutoSave
Definition: prefs.h:1355
Prefs::mShowSublessonentries
bool mShowSublessonentries
Definition: prefs.h:1392
Prefs::setWordTypesInPractice
static void setWordTypesInPractice(const QStringList &v)
Set Selected word types for practices.
Definition: prefs.h:1119
Prefs::setShowSearch
static void setShowSearch(bool v)
Set Toggle display of the search bar.
Definition: prefs.h:758
Prefs::EnumPracticeTimeoutMode::Continue
Definition: prefs.h:16
Prefs::block
static bool block()
Get In Blocking Query Tab Dialog, if checked then the Query is blocked.
Definition: prefs.h:293
Prefs::testOrderLesson
static bool testOrderLesson()
Get Append new vocabulary in a test in order of their lessons.
Definition: prefs.h:350
Prefs::practiceMaximumGrade
static int practiceMaximumGrade()
Get The entry must have at most this grade to be included in the practice (0..7). ...
Definition: prefs.h:1091
Prefs::smartAppend
static bool smartAppend()
Get If true, when using the entry dialog, new rows will be appended as needed.
Definition: prefs.h:84
Prefs::setAutoBackup
static void setAutoBackup(bool v)
Set If true, a backup is saved every BackupTime minutes.
Definition: prefs.h:188
Prefs::swapDirection
static bool swapDirection()
Get Swap direction randomly.
Definition: prefs.h:388
Prefs::mCurrentCol
int mCurrentCol
Definition: prefs.h:1399
Prefs::mTableActiveColumnVisible
bool mTableActiveColumnVisible
Definition: prefs.h:1394
Prefs::setCurrentCol
static void setCurrentCol(int v)
Set Currently selected column.
Definition: prefs.h:910
Prefs::setPracticeSoundEnabled
static void setPracticeSoundEnabled(bool v)
Set Enable sound playback in the practice dialogs.
Definition: prefs.h:701
Prefs::setUseGradeColors
static void setUseGradeColors(bool v)
Set Use your own colors.
Definition: prefs.h:948
Prefs::setLessonEditingSelection
static void setLessonEditingSelection(EnumLessonEditingSelection::type v)
Set Select which lessons are displayed for editing.
Definition: prefs.h:834
Prefs::lessonEditingSelection
static EnumLessonEditingSelection::type lessonEditingSelection()
Get Select which lessons are displayed for editing.
Definition: prefs.h:844
Prefs::splitTranslations
static bool splitTranslations()
Get Split translations in written practice.
Definition: prefs.h:540
Prefs::setShowMore
static void setShowMore(bool v)
Set Enable Show More button to reveal parts of the solution in written practice.
Definition: prefs.h:625
Prefs::setTestNumberOfEntries
static void setTestNumberOfEntries(int v)
Set The number of entries that are practiced at the same time.
Definition: prefs.h:359
Prefs::EnumPracticeTimeoutMode::type
type
Definition: prefs.h:16
Prefs::tableActiveColumnVisible
static bool tableActiveColumnVisible()
Get Show/hide the active column.
Definition: prefs.h:825
Prefs::mPracticeMinimumTimesAsked
int mPracticeMinimumTimesAsked
Definition: prefs.h:1405
Prefs::entriesPerLesson
static int entriesPerLesson()
Get The number of entries per lesson.
Definition: prefs.h:122
Prefs::Prefs
Prefs()
Definition: prefs.cpp:27
Prefs::mSeparator
QString mSeparator
Definition: prefs.h:1352
Prefs::mNumberMultipleChoiceAnswers
int mNumberMultipleChoiceAnswers
Definition: prefs.h:1388
Prefs::mCurrentRow
int mCurrentRow
Definition: prefs.h:1400
Prefs::mFlashcardsFrontImage
bool mFlashcardsFrontImage
Definition: prefs.h:1362
Prefs::practiceFont
static QFont practiceFont()
Get The font used in the vocabulary table.
Definition: prefs.h:882
Prefs::showSublessonentries
static bool showSublessonentries()
Get When enabled a lesson also shows entries from its sublessons.
Definition: prefs.h:787
Prefs::EnumPracticeTimeoutMode
Definition: prefs.h:13
Prefs::setTheme
static void setTheme(const QString &v)
Set Theme to use for practice and welcome screen.
Definition: prefs.h:36
Prefs::mShowHints
bool mShowHints
Definition: prefs.h:1374
Prefs::mSeparatorCombo
int mSeparatorCombo
Definition: prefs.h:1356
Prefs::mShowSearch
bool mShowSearch
Definition: prefs.h:1391
Prefs::backupTime
static int backupTime()
Get Time interval between two automatic backups.
Definition: prefs.h:217
Prefs::setFlashcardsBackImage
static void setFlashcardsBackImage(bool v)
Set Show images on the back of the flashcard.
Definition: prefs.h:264
Prefs::mPracticeMaximumGrade
int mPracticeMaximumGrade
Definition: prefs.h:1410
Prefs::setPracticeMaximumTimesAsked
static void setPracticeMaximumTimesAsked(int v)
Set The entry must have been asked at most this often to be included in the practice.
Definition: prefs.h:1005
Prefs::countSynonymsAsCorrect
static bool countSynonymsAsCorrect()
Get When the synonym instead of the word was entered, does it count as correct?
Definition: prefs.h:673
Prefs::gradeColor
static QColor gradeColor(int i)
Get Colors used to display different grades.
Definition: prefs.h:977
Prefs::setSuggestions
static void setSuggestions(bool v)
Set Enable suggestion lists in written practice.
Definition: prefs.h:454
Prefs::setTestOrderLesson
static void setTestOrderLesson(bool v)
Set Append new vocabulary in a test in order of their lessons.
Definition: prefs.h:340
Prefs::ignoreAccentMistakes
static bool ignoreAccentMistakes()
Get Count answers as right when only the accentuation is wrong.
Definition: prefs.h:502
Prefs::~Prefs
~Prefs()
Definition: prefs.cpp:377
Prefs::mIPAFont
QFont mIPAFont
Definition: prefs.h:1398
Prefs::setPracticeTimeoutMode
static void setPracticeTimeoutMode(EnumPracticeTimeoutMode::type v)
Set Show - show the solution after the given time; Continue - go to the next question after the given...
Definition: prefs.h:416
Prefs::automaticTranslation
static bool automaticTranslation()
Get Enable automatic translation of the lesson entries.
Definition: prefs.h:236
Prefs::setSemicolons
static void setSemicolons(bool v)
Set Split translations at semicolons.
Definition: prefs.h:587
Prefs::setQuestionLanguage
static void setQuestionLanguage(int v)
Set The language that is displayed in a test.
Definition: prefs.h:1157
Prefs::setCommas
static void setCommas(bool v)
Set Split translations at commas.
Definition: prefs.h:606
Prefs::autoBackup
static bool autoBackup()
Get If true, a backup is saved every BackupTime minutes.
Definition: prefs.h:198
Prefs::mPracticeMode
int mPracticeMode
Definition: prefs.h:1420
Prefs::EnumPracticeMode::ExampleSentencesPractice
Definition: prefs.h:26
Prefs::setPracticeMinimumWrongCount
static void setPracticeMinimumWrongCount(int v)
Set The entry must have been answered incorrectly at least this often to be included in the practice...
Definition: prefs.h:1024
Prefs::practiceTimeout
static bool practiceTimeout()
Get Limit the time for the user to answer in a test.
Definition: prefs.h:407
Prefs::EnumPracticeTimeoutMode::COUNT
Definition: prefs.h:16
Prefs::setPracticeMaximumGrade
static void setPracticeMaximumGrade(int v)
Set The entry must have at most this grade to be included in the practice (0..7). ...
Definition: prefs.h:1081
Prefs::providersUrl
static QString providersUrl()
Get The Providers path for Parley.
Definition: prefs.h:1300
Prefs::setAltLearn
static void setAltLearn(bool v)
Set Use the Leitner learning method.
Definition: prefs.h:321
Prefs::showSolutionAfterAnswer
static bool showSolutionAfterAnswer()
Get Show the solution after an answer was given.
Definition: prefs.h:1205
Prefs::mAutoOpenLast
bool mAutoOpenLast
Definition: prefs.h:1354
Prefs::setBackupTime
static void setBackupTime(int v)
Set Time interval between two automatic backups.
Definition: prefs.h:207
Prefs::setSolutionLanguage
static void setSolutionLanguage(int v)
Set The language in which the user has to answer.
Definition: prefs.h:1176
Prefs::setPracticeTimeoutTimePerAnswer
static void setPracticeTimeoutTimePerAnswer(int v)
Set Maximum time allowed to answer.
Definition: prefs.h:435
Prefs::EnumPracticeMode::MixedLettersPractice
Definition: prefs.h:26
Prefs::mExpire
bool mExpire
Definition: prefs.h:1365
Prefs::mUseGradeColors
bool mUseGradeColors
Definition: prefs.h:1401
Prefs::mSkipKnownEnabled
bool mSkipKnownEnabled
Definition: prefs.h:1383
Prefs::mProvidersUrl
QString mProvidersUrl
Definition: prefs.h:1425
Prefs::skipKnownEnabled
static bool skipKnownEnabled()
Get Enable Skip (I Know It) button in written practice.
Definition: prefs.h:654
Prefs::showHints
static bool showHints()
Get Enable the showing of hints.
Definition: prefs.h:483
Prefs::setTableActiveColumnVisible
static void setTableActiveColumnVisible(bool v)
Set Show/hide the active column.
Definition: prefs.h:815
Prefs::wordTypesInPractice
static QStringList wordTypesInPractice()
Get Selected word types for practices.
Definition: prefs.h:1129
Prefs::ignoreCapitalizationMistakes
static bool ignoreCapitalizationMistakes()
Get Count answers as right when only the capitalization is wrong.
Definition: prefs.h:521
Prefs::setWordTypesInPracticeEnabled
static void setWordTypesInPracticeEnabled(bool v)
Set Only selected word types will be included in practice.
Definition: prefs.h:1100
Prefs::setExpire
static void setExpire(bool v)
Set In Blocking Query Tab Dialog, if checked then the Query accepts an expiring time.
Definition: prefs.h:302
Prefs::EnumLessonEditingSelection::AllLessons
Definition: prefs.h:21
Prefs::setColons
static void setColons(bool v)
Set Split translations at colons.
Definition: prefs.h:568
Prefs::setInstallPath
static void setInstallPath(const QString &v)
Set The folder where downloaded vocabularies are saved by default.
Definition: prefs.h:1328
Prefs::mPracticeSoundEnabled
bool mPracticeSoundEnabled
Definition: prefs.h:1386
Prefs::showMore
static bool showMore()
Get Enable Show More button to reveal parts of the solution in written practice.
Definition: prefs.h:635
Prefs::mPracticeFont
QFont mPracticeFont
Definition: prefs.h:1397
Prefs::mInstallPath
QString mInstallPath
Definition: prefs.h:1427
Prefs::mPracticeMinimumGrade
int mPracticeMinimumGrade
Definition: prefs.h:1409
Prefs::setShowSolutionAfterAnswerTime
static void setShowSolutionAfterAnswerTime(int v)
Set The time the solution is shown (seconds).
Definition: prefs.h:1214
Prefs::setShowHints
static void setShowHints(bool v)
Set Enable the showing of hints.
Definition: prefs.h:473
Prefs::setCountSynonymsAsCorrect
static void setCountSynonymsAsCorrect(bool v)
Set When the synonym instead of the word was entered, does it count as correct?
Definition: prefs.h:663
Prefs::EnumPracticeMode::FlashCardsPractice
Definition: prefs.h:26
Prefs::flashcardsBackImage
static bool flashcardsBackImage()
Get Show images on the back of the flashcard.
Definition: prefs.h:274
Prefs::mAltLearn
bool mAltLearn
Definition: prefs.h:1366
Prefs::EnumLessonEditingSelection::UserFiltered
Definition: prefs.h:21
Prefs::mSplitTranslations
bool mSplitTranslations
Definition: prefs.h:1377
Prefs::installPath
static QString installPath()
Get The folder where downloaded vocabularies are saved by default.
Definition: prefs.h:1338
Prefs::solutionLanguage
static int solutionLanguage()
Get The language in which the user has to answer.
Definition: prefs.h:1186
Prefs::mSwapDirection
bool mSwapDirection
Definition: prefs.h:1369
Prefs::setIgnoreAccentMistakes
static void setIgnoreAccentMistakes(bool v)
Set Count answers as right when only the accentuation is wrong.
Definition: prefs.h:492
Prefs::setShowSublessonentries
static void setShowSublessonentries(bool v)
Set When enabled a lesson also shows entries from its sublessons.
Definition: prefs.h:777
Prefs::separator
static QString separator()
Get This sets the separator used when copying/pasting text, default is Tab.
Definition: prefs.h:103
Prefs::EnumPracticeMode::WrittenPractice
Definition: prefs.h:26
Prefs::setFlashcardsFrontImage
static void setFlashcardsFrontImage(bool v)
Set Show images on the front of the flashcard.
Definition: prefs.h:245
Prefs::mFlashcardsBackImage
bool mFlashcardsBackImage
Definition: prefs.h:1363
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