diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:58:53 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:58:53 -0600 |
commit | 84ace1135cac57993b72fee7105b92def1638d32 (patch) | |
tree | b8871eb76e3db4a062731b0ce7c99c24fac119e8 /ktron/tron.cpp | |
parent | 97d1732e257f8700488d7ca1660ae7eba8fc6065 (diff) | |
download | tdegames-84ace1135cac57993b72fee7105b92def1638d32.tar.gz tdegames-84ace1135cac57993b72fee7105b92def1638d32.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 97d1732e257f8700488d7ca1660ae7eba8fc6065.
Diffstat (limited to 'ktron/tron.cpp')
-rw-r--r-- | ktron/tron.cpp | 12 |
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(); } } } |