diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:58:53 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:58:53 -0600 |
commit | 84ace1135cac57993b72fee7105b92def1638d32 (patch) | |
tree | b8871eb76e3db4a062731b0ce7c99c24fac119e8 /kbounce/kbounce.cpp | |
parent | 97d1732e257f8700488d7ca1660ae7eba8fc6065 (diff) | |
download | tdegames-84ace1135cac57993b72fee7105b92def1638d32.tar.gz tdegames-84ace1135cac57993b72fee7105b92def1638d32.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 97d1732e257f8700488d7ca1660ae7eba8fc6065.
Diffstat (limited to 'kbounce/kbounce.cpp')
-rw-r--r-- | kbounce/kbounce.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kbounce/kbounce.cpp b/kbounce/kbounce.cpp index 158786a4..2d4fe887 100644 --- a/kbounce/kbounce.cpp +++ b/kbounce/kbounce.cpp @@ -16,7 +16,7 @@ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include <layout.h> +#include <tqlayout.h> #include <klocale.h> #include <kapplication.h> #include <kaction.h> @@ -100,7 +100,7 @@ KJezzball::KJezzball() // create demo game createLevel( 1 ); statusBar()->message( i18n("Press %1 to start a game!") - .arg(m_newAction->shortcut().toString()) ); + .tqarg(m_newAction->shortcut().toString()) ); //m_gameWidget->display( i18n("Press <Space> to start a game!") ); setFocusPolicy(TQ_StrongFocus); @@ -228,7 +228,7 @@ void KJezzball::gameOverNow() TQString score; score.setNum( m_game.score ); - KMessageBox::information( this, i18n("Game Over! Score: %1").arg(score) ); + KMessageBox::information( this, i18n("Game Over! Score: %1").tqarg(score) ); statusBar()->message( i18n("Game over. Press <Space> for a new game") ); //m_gameWidget->display( i18n("Game over. Press <Space> for a new game!") ); highscore(); @@ -461,16 +461,16 @@ void KJezzball::switchLevel() TQString foo = TQString( i18n("You have successfully cleared more than 75% of the board.\n") + -i18n("%1 points: 15 points per remaining life\n").arg(m_level.lifes*15) + -i18n("%1 points: Bonus\n").arg((m_gameWidget->percent()-75)*2*(m_game.level+5)) + -i18n("%1 points: Total score for this level\n").arg(score) + -i18n("On to level %1. Remember you get %2 lives this time!")).arg(m_game.level+1).arg(m_game.level+2); +i18n("%1 points: 15 points per remaining life\n").tqarg(m_level.lifes*15) + +i18n("%1 points: Bonus\n").tqarg((m_gameWidget->percent()-75)*2*(m_game.level+5)) + +i18n("%1 points: Total score for this level\n").tqarg(score) + +i18n("On to level %1. Remember you get %2 lives this time!")).tqarg(m_game.level+1).tqarg(m_game.level+2); KMessageBox::information( this,foo ); // KMessageBox::information( this, i18n("You've completed level %1 with " - // "a score of %2.\nGet ready for the next one!").arg(level).arg(score)); + // "a score of %2.\nGet ready for the next one!").tqarg(level).tqarg(score)); m_game.level++; m_levelLCD->display( m_game.level ); |