From 3fa570c72df3bf358988b8ce3f019bb7224c380e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:55:10 -0600 Subject: Remove additional unneeded tq method conversions (cherry picked from commit 746abe84406ed1ec1a8dc68f29ce0ab8322ccc80) --- khangman/ChangeLog | 2 +- khangman/khangman/data/en/easy.kvtml | 4 ++-- khangman/khangman/khangman.cpp | 10 +++++----- khangman/khangman/khangmanview.cpp | 14 +++++++------- khangman/khangman/timerdlg.ui | 4 ++-- 5 files changed, 17 insertions(+), 17 deletions(-) (limited to 'khangman') diff --git a/khangman/ChangeLog b/khangman/ChangeLog index 93419a47..337a55d6 100644 --- a/khangman/ChangeLog +++ b/khangman/ChangeLog @@ -1,5 +1,5 @@ June 23, 2005 -- add timers for KPassivePopup (Hint and Already Guessed) to allow young tqchildren to read (young tqchildren need more time) +- add timers for KPassivePopup (Hint and Already Guessed) to allow young children to read (young children need more time) - fixed hint position - tooltip if no Win dialog to say the game is finished (is displayed for 4 seconds) diff --git a/khangman/khangman/data/en/easy.kvtml b/khangman/khangman/data/en/easy.kvtml index 58338d21..8e2521aa 100644 --- a/khangman/khangman/data/en/easy.kvtml +++ b/khangman/khangman/data/en/easy.kvtml @@ -3,7 +3,7 @@ playtime - time assigned for tqchildren to play + time assigned for children to play furniture @@ -134,7 +134,7 @@ large group of persons - tqchildren + children young humans diff --git a/khangman/khangman/khangman.cpp b/khangman/khangman/khangman.cpp index 2ef6b835..1432a6c6 100644 --- a/khangman/khangman/khangman.cpp +++ b/khangman/khangman/khangman.cpp @@ -420,22 +420,22 @@ void KHangMan::loadLangToolBar() m_allData.clear(); if (!m_noSpecialChars) { - TQString myString=TQString("khangman/%1.txt").tqarg(Prefs::selectedLanguage()); + TQString myString=TQString("khangman/%1.txt").arg(Prefs::selectedLanguage()); TQFile myFile; myFile.setName(locate("data", myString)); // Let's look in local KDEHOME dir then if (!myFile.exists()) { TQString myString=TQString("khangman/data/%1/%1.txt") - .tqarg(Prefs::selectedLanguage()) - .tqarg(Prefs::selectedLanguage()); + .arg(Prefs::selectedLanguage()) + .arg(Prefs::selectedLanguage()); myFile.setName(locate("data",myString)); kdDebug() << myString << endl; } if (!myFile.exists()) { TQString mString=i18n("File $KDEDIR/share/apps/khangman/%1.txt not found;\n" - "check your installation.").tqarg(Prefs::selectedLanguage()); + "check your installation.").arg(Prefs::selectedLanguage()); KMessageBox::sorry( this, mString, i18n("Error") ); kapp->quit(); @@ -457,7 +457,7 @@ void KHangMan::loadLangToolBar() secondToolbar->insertButton (charIcon(m_allData[i].at(0)), i, TQT_SIGNAL( clicked() ), TQT_TQOBJECT(this), TQT_SLOT( slotPasteChar()), true, - i18n("Inserts the character %1").tqarg(m_allData[i]), i+1 ); + i18n("Inserts the character %1").arg(m_allData[i]), i+1 ); } if (Prefs::showCharToolbar()) diff --git a/khangman/khangman/khangmanview.cpp b/khangman/khangman/khangmanview.cpp index 17e54e0a..16ac89de 100644 --- a/khangman/khangman/khangmanview.cpp +++ b/khangman/khangman/khangmanview.cpp @@ -467,7 +467,7 @@ void KHangManView::slotTry() TQLabel *popLabel = new TQLabel( vb); popLabel->setFont(TQFont("Sans Serif", 14, TQFont::Normal)); - popLabel->setText(i18n("You lost!\nThe word was\n%1").tqarg(m_word)); + popLabel->setText(i18n("You lost!\nThe word was\n%1").arg(m_word)); popup->setView( vb ); TQPoint abspos = popup->pos(); @@ -586,15 +586,15 @@ void KHangManView::game() // Check if the data files are installed in the correct dir. TQString myString = TQString("khangman/data/%1/%2") - .tqarg(Prefs::selectedLanguage()) - .tqarg(Prefs::levelFile()); + .arg(Prefs::selectedLanguage()) + .arg(Prefs::levelFile()); TQFile myFile; myFile.setName(locate("data", myString)); if (!myFile.exists()) { TQString mString = i18n("File $KDEDIR/share/apps/khangman/data/%1/%2 not found!\n" "Check your installation, please!") - .tqarg(Prefs::selectedLanguage()) - .tqarg(Prefs::levelFile()); + .arg(Prefs::selectedLanguage()) + .arg(Prefs::levelFile()); KMessageBox::sorry( this, mString, i18n("Error") ); kapp->quit(); } @@ -666,7 +666,7 @@ void KHangManView::game() void KHangManView::readFile() { kdDebug() << "in read kvtml file " << endl; - TQString myString=TQString("khangman/data/%1/%2").tqarg(Prefs::selectedLanguage()).tqarg(Prefs::levelFile()); + TQString myString=TQString("khangman/data/%1/%2").arg(Prefs::selectedLanguage()).arg(Prefs::levelFile()); myString= locate("data", myString); KEduVocDataItemList verbs = KEduVocData::parse(myString); @@ -728,7 +728,7 @@ void KHangManView::loadAnimation() for (uint i = 0; i < 11; i++) { m_animationPics[i].load(locate( "data", TQString("khangman/pics/%1/animation%2.png") - .tqarg(m_themeName).tqarg(i) )); + .arg(m_themeName).arg(i) )); } } diff --git a/khangman/khangman/timerdlg.ui b/khangman/khangman/timerdlg.ui index e296c955..8721f408 100644 --- a/khangman/khangman/timerdlg.ui +++ b/khangman/khangman/timerdlg.ui @@ -64,7 +64,7 @@ Time during which the Hint is displayed - You can set the time for displaying the Hint tooltip. Default is 3 seconds but younger tqchildren might need longer time to be able to read the Hint. + You can set the time for displaying the Hint tooltip. Default is 3 seconds but younger children might need longer time to be able to read the Hint. @@ -178,7 +178,7 @@ Time during which the Already Guessed tooltip is displayed - You can set the time for displaying the Already Guessed tooltip after you try a letter that was already guessed. Default is 3 seconds but younger tqchildren might need longer time to be able to understand they are trying a letter that was already guessed. + You can set the time for displaying the Already Guessed tooltip after you try a letter that was already guessed. Default is 3 seconds but younger children might need longer time to be able to understand they are trying a letter that was already guessed. -- cgit v1.2.1