summaryrefslogtreecommitdiffstats
path: root/kspaceduel/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kspaceduel/mainview.cpp')
-rw-r--r--kspaceduel/mainview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kspaceduel/mainview.cpp b/kspaceduel/mainview.cpp
index 3f17605a..5b02fc75 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);
@@ -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( );
}