From 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:31:10 -0600 Subject: Rename old tq methods that no longer need a unique name --- kspaceduel/general.ui | 2 +- kspaceduel/mainview.cpp | 2 +- kspaceduel/playerinfo.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kspaceduel') diff --git a/kspaceduel/general.ui b/kspaceduel/general.ui index 05d5ba83..db120dd0 100644 --- a/kspaceduel/general.ui +++ b/kspaceduel/general.ui @@ -154,7 +154,7 @@ Expanding - + 20 91 diff --git a/kspaceduel/mainview.cpp b/kspaceduel/mainview.cpp index 3f17605a..63d1c666 100644 --- a/kspaceduel/mainview.cpp +++ b/kspaceduel/mainview.cpp @@ -27,7 +27,7 @@ MyMainView::MyMainView(TQWidget *parent) setMinimumSize(600,400); random.setSeed(0); TQPixmap backgr(locate("appdata", MV_BACKGROUND)); - field.tqsetBackgroundPixmap(backgr); + field.setBackgroundPixmap(backgr); view.setResizePolicy(TQScrollView::AutoOne); view.setHScrollBarMode(TQScrollView::AlwaysOff); diff --git a/kspaceduel/playerinfo.cpp b/kspaceduel/playerinfo.cpp index dbb5728d..38d9a68e 100644 --- a/kspaceduel/playerinfo.cpp +++ b/kspaceduel/playerinfo.cpp @@ -34,7 +34,7 @@ PlayerInfo::PlayerInfo(int pnr,TQWidget *parent,const char *name) for(i=0;i<4;i++) { - str = TQString::tqfromLatin1("sprites/playerinfo/ship%1%2.pnm") + str = TQString::fromLatin1("sprites/playerinfo/ship%1%2.pnm") .tqarg(pnr+1) .tqarg(i); pix[i]=new TQPixmap(locate("appdata", str)); -- cgit v1.2.1