summaryrefslogtreecommitdiffstats
path: root/ktron/tron.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ktron/tron.cpp')
-rw-r--r--ktron/tron.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ktron/tron.cpp b/ktron/tron.cpp
index 5e83a874..c76cef5c 100644
--- a/ktron/tron.cpp
+++ b/ktron/tron.cpp
@@ -59,8 +59,8 @@ Tron::Tron(TQWidget *parent,const char *name)
timer = new TQTimer(this,"timer");
loadSettings();
- connect(timer, TQT_SIGNAL(timeout()), TQT_SLOT(doMove()));
- TQTimer::singleShot(15000, this,TQT_SLOT(showBeginHint()));
+ connect(timer, TQ_SIGNAL(timeout()), TQ_SLOT(doMove()));
+ TQTimer::singleShot(15000, this,TQ_SLOT(showBeginHint()));
}
void Tron::loadSettings(){
@@ -150,7 +150,7 @@ void Tron::newGame()
emit gameEnds(Nobody);
reset();
- TQTimer::singleShot(15000,this,TQT_SLOT(showBeginHint()));
+ TQTimer::singleShot(15000,this,TQ_SLOT(showBeginHint()));
}
void Tron::reset()
@@ -274,7 +274,7 @@ void Tron::showWinner(Player player)
if(isComputer(Both))
{
- TQTimer::singleShot(1000,this,TQT_SLOT(computerStart()));
+ TQTimer::singleShot(1000,this,TQ_SLOT(computerStart()));
}
}
@@ -453,7 +453,7 @@ void Tron::setComputerplayer(Player player, bool flag) {
players[1].setComputer(flag);
if(isComputer(Both))
- TQTimer::singleShot(1000,this,TQT_SLOT(computerStart()));
+ TQTimer::singleShot(1000,this,TQ_SLOT(computerStart()));
}
bool Tron::isComputer(Player player)
@@ -939,7 +939,7 @@ void Tron::doMove()
{
//this is for waiting 0,5s before starting next game
gameBlocked=true;
- TQTimer::singleShot(1000,this,TQT_SLOT(unblockGame()));
+ TQTimer::singleShot(1000,this,TQ_SLOT(unblockGame()));
return;
}
}
@@ -1056,7 +1056,7 @@ void Tron::doMove()
{
//this is for waiting 1s before starting next game
gameBlocked=true;
- TQTimer::singleShot(1000,this,TQT_SLOT(unblockGame()));
+ TQTimer::singleShot(1000,this,TQ_SLOT(unblockGame()));
}
}