From f24ac211b8e67f545e757a50da4a00252d092869 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/kcolorcombo2.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/kcolorcombo2.cpp') diff --git a/src/kcolorcombo2.cpp b/src/kcolorcombo2.cpp index e898e46..5db3178 100644 --- a/src/kcolorcombo2.cpp +++ b/src/kcolorcombo2.cpp @@ -520,22 +520,22 @@ TQPixmap KColorCombo2::colorRectPixmap(const TQColor &color, bool isDefault, int TQPixmap pixmap(width, height); TQBitmap tqmask(width, height); TQPainter painter(&pixmap); - TQPainter tqmaskPainter(&tqmask); + TQPainter maskPainter(&tqmask); // Draw pixmap: drawColorRect(painter, 0, 0, color, isDefault, width, height); // Draw tqmask (make the four corners transparent): - tqmaskPainter.fillRect(0, 0, width, height, TQt::color1); // opaque - tqmaskPainter.setPen(TQt::color0); // transparent - tqmaskPainter.drawPoint(0, 0); - tqmaskPainter.drawPoint(0, height - 1); - tqmaskPainter.drawPoint(width - 1, height - 1); - tqmaskPainter.drawPoint(width - 1, 0); + maskPainter.fillRect(0, 0, width, height, TQt::color1); // opaque + maskPainter.setPen(TQt::color0); // transparent + maskPainter.drawPoint(0, 0); + maskPainter.drawPoint(0, height - 1); + maskPainter.drawPoint(width - 1, height - 1); + maskPainter.drawPoint(width - 1, 0); // Finish: painter.end(); - tqmaskPainter.end(); + maskPainter.end(); pixmap.setMask(tqmask); return pixmap; } -- cgit v1.2.1