summaryrefslogtreecommitdiffstats
path: root/kolourpaint/widgets/kptoolwidgeterasersize.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
commitbce8199ddac4feecdee9c094fb8f75863cfa9652 (patch)
treeb0521e39686b4b24960a9d83e72a9c09937a810c /kolourpaint/widgets/kptoolwidgeterasersize.cpp
parent03d51915bf86a00c5953817c89976b62785bb5a1 (diff)
downloadtdegraphics-bce8199ddac4feecdee9c094fb8f75863cfa9652.tar.gz
tdegraphics-bce8199ddac4feecdee9c094fb8f75863cfa9652.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/kdegraphics@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/widgets/kptoolwidgeterasersize.cpp')
-rw-r--r--kolourpaint/widgets/kptoolwidgeterasersize.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kolourpaint/widgets/kptoolwidgeterasersize.cpp b/kolourpaint/widgets/kptoolwidgeterasersize.cpp
index effd631f..c4354dea 100644
--- a/kolourpaint/widgets/kptoolwidgeterasersize.cpp
+++ b/kolourpaint/widgets/kptoolwidgeterasersize.cpp
@@ -78,9 +78,9 @@ kpToolWidgetEraserSize::kpToolWidgetEraserSize (TQWidget *tqparent, const char *
TQBitmap tqmask (previewPixmap.width (), previewPixmap.height ());
tqmask.fill (TQt::color0/*transparent*/);
- TQPainter tqmaskPainter (&tqmask);
- tqmaskPainter.fillRect (rect, TQt::color1/*opaque*/);
- tqmaskPainter.end ();
+ TQPainter maskPainter (&tqmask);
+ maskPainter.fillRect (rect, TQt::color1/*opaque*/);
+ maskPainter.end ();
previewPixmap.setMask (tqmask);
@@ -130,19 +130,19 @@ TQPixmap kpToolWidgetEraserSize::cursorPixmap (const kpColor &color) const
if (color.isTransparent ())
{
- TQBitmap tqmaskBitmap (pixmap.width (), pixmap.height ());
- tqmaskBitmap.fill (TQt::color0/*transparent*/);
+ TQBitmap maskBitmap (pixmap.width (), pixmap.height ());
+ maskBitmap.fill (TQt::color0/*transparent*/);
if (showBorder)
{
- TQPainter tqmaskBitmapPainter (&tqmaskBitmap);
- tqmaskBitmapPainter.setPen (TQt::color1/*opaque*/);
- tqmaskBitmapPainter.drawRect (tqmaskBitmap.rect ());
+ TQPainter maskBitmapPainter (&maskBitmap);
+ maskBitmapPainter.setPen (TQt::color1/*opaque*/);
+ maskBitmapPainter.drawRect (maskBitmap.rect ());
}
- pixmap.setMask (tqmaskBitmap);
+ pixmap.setMask (maskBitmap);
}