summaryrefslogtreecommitdiffstats
path: root/ktron/tron.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ktron/tron.cpp')
-rw-r--r--ktron/tron.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ktron/tron.cpp b/ktron/tron.cpp
index 40a384e4..9ed00d8c 100644
--- a/ktron/tron.cpp
+++ b/ktron/tron.cpp
@@ -81,7 +81,7 @@ void Tron::loadSettings(){
// Style
if(pixmap){
updatePixmap();
- repaint();
+ tqrepaint();
}
// Backgroundimage
@@ -96,7 +96,7 @@ void Tron::loadSettings(){
setBackgroundPix(pix);
} else {
TQString msg=i18n("Wasn't able to load wallpaper\n%1");
- msg=msg.arg(tmpFile);
+ msg=msg.tqarg(tmpFile);
KMessageBox::sorry(this, msg);
}
KIO::NetAccess::removeTempFile(tmpFile);
@@ -268,7 +268,7 @@ void Tron::showWinner(Player player)
updatePixmap();
}
- repaint();
+ tqrepaint();
emit gameEnds(player);
@@ -313,8 +313,8 @@ void Tron::updatePixmap()
}
// draw frame
- TQColor light=parentWidget()->colorGroup().midlight();
- TQColor dark=parentWidget()->colorGroup().mid();
+ TQColor light=parentWidget()->tqcolorGroup().midlight();
+ TQColor dark=parentWidget()->tqcolorGroup().mid();
p.setPen(NoPen);
p.setBrush(light);
@@ -810,7 +810,7 @@ void Tron::showBeginHint()
if(players[0].score==0 && players[1].score==0)
{
beginHint=true;
- repaint();
+ tqrepaint();
}
}
}