diff options
Diffstat (limited to 'kfouleggs/piece.cpp')
-rw-r--r-- | kfouleggs/piece.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kfouleggs/piece.cpp b/kfouleggs/piece.cpp index bb5aad42..c2e8a186 100644 --- a/kfouleggs/piece.cpp +++ b/kfouleggs/piece.cpp @@ -28,7 +28,7 @@ TQColor FEPieceInfo::defaultColor(uint i) const TQString FEPieceInfo::colorLabel(uint i) const { return (i==NB_NORM_BLOCK_TYPES ? i18n("Garbage color:") - : i18n("Color #%1:").arg(i+1)); + : i18n("Color #%1:").tqarg(i+1)); } void FEPieceInfo::draw(TQPixmap *pixmap, uint blockType, uint, @@ -44,8 +44,8 @@ void FEPieceInfo::setMask(TQPixmap *pixmap, uint blockMode) const Q_ASSERT( pixmap->width()==pixmap->height() ); // drawing code assumes that TQBitmap bitmap(pixmap->size(), true); TQPainter p(&bitmap); - p.setBrush(Qt::color1); - p.setPen( TQPen(Qt::NoPen) ); + p.setBrush(TQt::color1); + p.setPen( TQPen(TQt::NoPen) ); // base circle int w = pixmap->width(); @@ -66,7 +66,7 @@ void FEPieceInfo::setMask(TQPixmap *pixmap, uint blockMode) const if ( blockMode & BaseBoard::Left ) p.drawRect( 0, 0, a, w); // second drawing with color0 - p.setBrush(Qt::color0); + p.setBrush(TQt::color0); if ( (blockMode & BaseBoard::Up) || (blockMode & BaseBoard::Left) ) { cr.moveCenter(TQPoint(0, 0)); p.drawEllipse(cr); |