diff options
Diffstat (limited to 'kshisen/board.cpp')
-rw-r--r-- | kshisen/board.cpp | 6 |
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) |