summaryrefslogtreecommitdiffstats
path: root/kshisen/board.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:47:36 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:47:36 -0600
commit97d1732e257f8700488d7ca1660ae7eba8fc6065 (patch)
tree4c6397ed2c1dd6f7c3354b5b87f313547d92a35f /kshisen/board.cpp
parent9c27a1a03e02fd53aedc1a182444b35fd8e14967 (diff)
downloadtdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.tar.gz
tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kshisen/board.cpp')
-rw-r--r--kshisen/board.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kshisen/board.cpp b/kshisen/board.cpp
index 4173ad4e..ae2fd750 100644
--- a/kshisen/board.cpp
+++ b/kshisen/board.cpp
@@ -444,7 +444,7 @@ void Board::updateField(int x, int y, bool erase)
tiles.tileWidth(),
tiles.tileHeight());
- tqrepaint(r, erase);
+ repaint(r, erase);
}
void Board::paintEvent(TQPaintEvent *e)
@@ -900,7 +900,7 @@ void Board::dumpBoard() const
if(tile == EMPTY)
row += " --";
else
- row += TQString("%1").tqarg(getField(x, y), 3);
+ row += TQString("%1").arg(getField(x, y), 3);
}
kdDebug() << row << endl;
}
@@ -1071,7 +1071,7 @@ bool Board::pause()
return paused;
}
-TQSize Board::tqsizeHint() const
+TQSize Board::sizeHint() const
{
int dpi = TQPaintDeviceMetrics(this).logicalDpiX();
if (dpi < 75)