From 838baf3f99ec5ab81b063eb5449a3381d860f377 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:58:26 +0000 Subject: 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 --- kspaceduel/playerinfo.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kspaceduel/playerinfo.cpp') 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 -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)); } -- cgit v1.2.1