summaryrefslogtreecommitdiffstats
path: root/klatin/klatin/klatinvocab.h
diff options
context:
space:
mode:
Diffstat (limited to 'klatin/klatin/klatinvocab.h')
-rw-r--r--klatin/klatin/klatinvocab.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/klatin/klatin/klatinvocab.h b/klatin/klatin/klatinvocab.h
index c33081df..6980fe24 100644
--- a/klatin/klatin/klatinvocab.h
+++ b/klatin/klatin/klatinvocab.h
@@ -21,8 +21,8 @@
#include <config.h>
#endif
-#include <qdir.h>
-#include <qpair.h>
+#include <tqdir.h>
+#include <tqpair.h>
#include "keduvocdata.h"
#include "klatinresultsdialog.h"
@@ -32,11 +32,11 @@ class KLatinVocab : public KLatinVocabWidget
{
Q_OBJECT
public:
- KLatinVocab(QWidget* parent=0, const char *name=0);
+ KLatinVocab(TQWidget* parent=0, const char *name=0);
~KLatinVocab();
/// Load vocabulary from file @p customFile
- void parseVocab(QString customFile = QString::null);
+ void parseVocab(TQString customFile = TQString::null);
/// Generate a new question
void newQuestion();
/// Update the scores of the test so far
@@ -60,28 +60,28 @@ private slots:
void checkAnswerFour();
public slots:
/// Load a different vocabulary file in the standard install
- void changeVocab(const QString &filename);
+ void changeVocab(const TQString &filename);
signals:
/// Emitted when goBack() is called
void exited();
private:
/// The list in which the native language and Latin words are assigned
- typedef QPair<QString, QString> QStringPair;
- QValueList<QStringPair> m_texts;
+ typedef QPair<TQString, TQString> QStringPair;
+ TQValueList<QStringPair> m_texts;
- QString m_fileDir;
+ TQString m_fileDir;
/// The filename of the vocabulary file being tested on
- QString m_vocabFile;
+ TQString m_vocabFile;
/// A list of the 4 words used for assigning to the 4 multiple choice buttons
- QStringList m_choiceWords;
+ TQStringList m_choiceWords;
/// The previous question's answer
- QStringList m_correctAnswer;
+ TQStringList m_correctAnswer;
/// The user's answer to the previous question
- QStringList m_previousAnswer;
+ TQStringList m_previousAnswer;
/// The previous question asked
- QStringList m_previousQuestion;
+ TQStringList m_previousQuestion;
- QDir m_vocabDirectory;
+ TQDir m_vocabDirectory;
/// The question number in this session
int m_questionNumber;