diff options
Diffstat (limited to 'kanagram/src/kanagramgame.cpp')
-rw-r--r-- | kanagram/src/kanagramgame.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kanagram/src/kanagramgame.cpp b/kanagram/src/kanagramgame.cpp index 67212168..972c4c19 100644 --- a/kanagram/src/kanagramgame.cpp +++ b/kanagram/src/kanagramgame.cpp @@ -34,9 +34,9 @@ #include <stdlib.h> -KanagramGame::KanagramGame(TQWidget* parent) : m_index(0) +KanagramGame::KanagramGame(TQWidget* tqparent) : m_index(0) { - m_parent = parent; + m_parent = tqparent; loadDefaultVocab(); } @@ -48,7 +48,7 @@ void KanagramGame::checkFile() { if (!TQFile::exists(locate("appdata", m_filename))) { TQString msg = i18n("File %1 cannot be found.\n Please ensure that Kanagram is properly installed.") - .arg(m_filename); + .tqarg(m_filename); KMessageBox::sorry(m_parent, msg, i18n("Error")); exit(0); } @@ -138,7 +138,7 @@ void KanagramGame::nextAnagram() { m_answeredWords.clear(); } - while(m_answeredWords.findIndex(doc->getEntry(wordNumber)->getOriginal()) != -1) + while(m_answeredWords.tqfindIndex(doc->getEntry(wordNumber)->getOriginal()) != -1) { wordNumber = m_random.getLong(totalWords); } |