diff options
Diffstat (limited to 'klatin/klatin/klatinvocab.h')
-rw-r--r-- | klatin/klatin/klatinvocab.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/klatin/klatin/klatinvocab.h b/klatin/klatin/klatinvocab.h index 6980fe24..83ada419 100644 --- a/klatin/klatin/klatinvocab.h +++ b/klatin/klatin/klatinvocab.h @@ -31,12 +31,13 @@ class KLatinVocab : public KLatinVocabWidget { Q_OBJECT + TQ_OBJECT public: - KLatinVocab(TQWidget* parent=0, const char *name=0); + KLatinVocab(TQWidget* tqparent=0, const char *name=0); ~KLatinVocab(); /// Load vocabulary from file @p customFile - void parseVocab(TQString customFile = TQString::null); + void parseVocab(TQString customFile = TQString()); /// Generate a new question void newQuestion(); /// Update the scores of the test so far @@ -66,8 +67,8 @@ signals: void exited(); private: /// The list in which the native language and Latin words are assigned - typedef QPair<TQString, TQString> QStringPair; - TQValueList<QStringPair> m_texts; + typedef TQPair<TQString, TQString> TQStringPair; + TQValueList<TQStringPair> m_texts; TQString m_fileDir; /// The filename of the vocabulary file being tested on |