[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeedu/klatin/klatin
From: Anne-Marie Mahfouf <annma () kde ! org>
Date: 2004-07-10 13:14:43
Message-ID: 20040710131443.3D6DA16B1B () office ! kde ! org
[Download RAW message or body]
CVS commit by annma:
the number of questions being a settings should be used from config
M +2 -2 klatinvocab.cpp 1.31
M +2 -1 klatinvocab.h 1.17
--- kdeedu/klatin/klatin/klatinvocab.cpp #1.30:1.31
@@ -42,5 +42,5 @@ KLatinVocab::KLatinVocab(QWidget* parent
// Set default settings
- NumberOfQuestions = 10;
+ NumberOfQuestions = Settings::numOfQuestions();
Total = 0;
TotalCorrect = 0;
@@ -414,5 +414,5 @@ void KLatinVocab::changeVocab(QString fi
QuestionNumber = 0;
QuestionNumber2 = 0;
- NumberOfQuestions = 10;
+ NumberOfQuestions = Settings::numOfQuestions();
// Reset score labels
--- kdeedu/klatin/klatin/klatinvocab.h #1.16:1.17
@@ -48,5 +48,5 @@ public:
/// Shuffle the words into a random sequence
void CreateRandomSequence();
-public slots:
+private slots:
/// Destory the widget
void GoBack();
@@ -59,4 +59,5 @@ public slots:
/// Check if answer is correct if button 4 is pressed
void checkAnswer4();
+public slots:
/// Load a different vocabulary file in the standard install
void changeVocab(QString filename);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic