summaryrefslogtreecommitdiffstats
path: root/kspaceduel/playerinfo.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /kspaceduel/playerinfo.cpp
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspaceduel/playerinfo.cpp')
-rw-r--r--kspaceduel/playerinfo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kspaceduel/playerinfo.cpp b/kspaceduel/playerinfo.cpp
index 2e1ef91d..07020fb3 100644
--- a/kspaceduel/playerinfo.cpp
+++ b/kspaceduel/playerinfo.cpp
@@ -5,8 +5,8 @@
#include <kstandarddirs.h>
-PlayerInfo::PlayerInfo(int pnr,TQWidget *parent,const char *name)
- :TQFrame(parent,name),
+PlayerInfo::PlayerInfo(int pnr,TQWidget *tqparent,const char *name)
+ :TQFrame(tqparent,name),
lplayer(this),lenergy(this),lwins(this),
hitpoints(2,this),energy(2,this),wins(2,this)
{
@@ -34,9 +34,9 @@ PlayerInfo::PlayerInfo(int pnr,TQWidget *parent,const char *name)
for(i=0;i<4;i++)
{
- str = TQString::fromLatin1("sprites/playerinfo/ship%1%2.pnm")
- .arg(pnr+1)
- .arg(i);
+ str = TQString::tqfromLatin1("sprites/playerinfo/ship%1%2.pnm")
+ .tqarg(pnr+1)
+ .tqarg(i);
pix[i]=new TQPixmap(locate("appdata", str));
}