summaryrefslogtreecommitdiffstats
path: root/src/kcolorcombo2.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitf24ac211b8e67f545e757a50da4a00252d092869 (patch)
tree113a9b3b91d929b658082587b6e10f647570f775 /src/kcolorcombo2.cpp
parent2ebe91d378b798914b9fd5e741f81bac4ab3ef08 (diff)
downloadbasket-f24ac211b8e67f545e757a50da4a00252d092869.tar.gz
basket-f24ac211b8e67f545e757a50da4a00252d092869.zip
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
Diffstat (limited to 'src/kcolorcombo2.cpp')
-rw-r--r--src/kcolorcombo2.cpp16
1 files changed, 8 insertions, 8 deletions
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;
}