summaryrefslogtreecommitdiffstats
path: root/kspaceduel
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:55:35 -0600
committerSlávek Banko <[email protected]>2012-06-04 01:10:53 +0200
commit00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (patch)
tree33b3465e8515be992049db8cc3fd529660f9731a /kspaceduel
parent9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (diff)
downloadtdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.tar.gz
tdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.zip
Remove additional unneeded tq method conversions
(cherry picked from commit c0f375feba0103bed2bac1b1f05e76e9ae28fa89)
Diffstat (limited to 'kspaceduel')
-rw-r--r--kspaceduel/mainview.cpp4
-rw-r--r--kspaceduel/playerinfo.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/kspaceduel/mainview.cpp b/kspaceduel/mainview.cpp
index 63d1c666..5b02fc75 100644
--- a/kspaceduel/mainview.cpp
+++ b/kspaceduel/mainview.cpp
@@ -492,7 +492,7 @@ void MyMainView::newRound()
field.update();
TQString str = i18n("Press %1 to start")
- .tqarg(KShortcut(GAME_START_SHORTCUT).toString());
+ .arg(KShortcut(GAME_START_SHORTCUT).toString());
emit(setStatusText(str,IDS_MAIN));
emit( setStatusText( "", IDS_PAUSE ) );
stop( );
@@ -557,7 +557,7 @@ void MyMainView::timerEvent(TQTimerEvent *event)
emit(wins(0,w));
}
TQString str = i18n("Press %1 for new round")
- .tqarg(KShortcut(GAME_START_SHORTCUT).toString());
+ .arg(KShortcut(GAME_START_SHORTCUT).toString());
emit(setStatusText(str,IDS_MAIN));
stop( );
}
diff --git a/kspaceduel/playerinfo.cpp b/kspaceduel/playerinfo.cpp
index 38d9a68e..2e1ef91d 100644
--- a/kspaceduel/playerinfo.cpp
+++ b/kspaceduel/playerinfo.cpp
@@ -35,8 +35,8 @@ PlayerInfo::PlayerInfo(int pnr,TQWidget *parent,const char *name)
for(i=0;i<4;i++)
{
str = TQString::fromLatin1("sprites/playerinfo/ship%1%2.pnm")
- .tqarg(pnr+1)
- .tqarg(i);
+ .arg(pnr+1)
+ .arg(i);
pix[i]=new TQPixmap(locate("appdata", str));
}