From 4d6acadb4557b3dc9db23fe80e361f4f65289ccd Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 20 Dec 2023 22:30:18 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 7909152750670148360093b2519955fbfa555154) --- kspaceduel/mainview.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kspaceduel/mainview.cpp') diff --git a/kspaceduel/mainview.cpp b/kspaceduel/mainview.cpp index a2645087..9fabcf3c 100644 --- a/kspaceduel/mainview.cpp +++ b/kspaceduel/mainview.cpp @@ -99,7 +99,7 @@ MyMainView::MyMainView(TQWidget *parent) MyMainView::~MyMainView() { - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); writeConfig(); } @@ -340,7 +340,7 @@ void MyMainView::pause() pauseAction->setChecked( true ); waitForStart=true; - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); emit setStatusText(i18n(" paused "), IDS_PAUSE); } } @@ -375,7 +375,7 @@ void MyMainView::stop() pauseAction->setEnabled( false ); pauseAction->setChecked( false ); - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); waitForStart = true; } @@ -444,7 +444,7 @@ void MyMainView::newRound() timeToNextPowerup=random.getDouble() * config.powerupRefreshTime; powerups.clear(); - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); mx=width()/2.0; my=height()/2.0; ship[0]->move(mx+config.startPosX,my+config.startPosY); @@ -517,7 +517,7 @@ void MyMainView::timerEvent(TQTimerEvent *event) if(event->timerId()==timerID) { - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); if(gameEnd>0.0) { gameEnd-=1.0; -- cgit v1.2.3