diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:10 -0600 |
commit | 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 (patch) | |
tree | cd20202507f54f61a4e58ae64fcd7cdb894abe19 /kspaceduel | |
parent | 84ace1135cac57993b72fee7105b92def1638d32 (diff) | |
download | tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.tar.gz tdegames-0e2b76239f354a9eead0b4e37d86d390ec57ffa9.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kspaceduel')
-rw-r--r-- | kspaceduel/general.ui | 2 | ||||
-rw-r--r-- | kspaceduel/mainview.cpp | 2 | ||||
-rw-r--r-- | kspaceduel/playerinfo.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
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 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>20</width> <height>91</height> 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)); |