summaryrefslogtreecommitdiffstats
path: root/kolourpaint/widgets/kptoolwidgetlinewidth.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/kptoolwidgetlinewidth.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/kptoolwidgetlinewidth.cpp')
-rw-r--r--kolourpaint/widgets/kptoolwidgetlinewidth.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kolourpaint/widgets/kptoolwidgetlinewidth.cpp b/kolourpaint/widgets/kptoolwidgetlinewidth.cpp
index e7804149..0d419333 100644
--- a/kolourpaint/widgets/kptoolwidgetlinewidth.cpp
+++ b/kolourpaint/widgets/kptoolwidgetlinewidth.cpp
@@ -52,22 +52,22 @@ kpToolWidgetLineWidth::kpToolWidgetLineWidth (TQWidget *tqparent, const char *na
(h <= 0 ? height () : h));
pixmap.fill (TQt::white);
- TQBitmap tqmaskBitmap (pixmap.width (), pixmap.height ());
- tqmaskBitmap.fill (TQt::color0/*transparent*/);
+ TQBitmap maskBitmap (pixmap.width (), pixmap.height ());
+ maskBitmap.fill (TQt::color0/*transparent*/);
- TQPainter painter (&pixmap), tqmaskPainter (&tqmaskBitmap);
- painter.setPen (TQt::black), tqmaskPainter.setPen (TQt::color1/*opaque*/);
- painter.setBrush (TQt::black), tqmaskPainter.setBrush (TQt::color1/*opaque*/);
+ TQPainter painter (&pixmap), maskPainter (&maskBitmap);
+ painter.setPen (TQt::black), maskPainter.setPen (TQt::color1/*opaque*/);
+ painter.setBrush (TQt::black), maskPainter.setBrush (TQt::color1/*opaque*/);
TQRect rect = TQRect (0, (pixmap.height () - lineWidths [i]) / 2,
pixmap.width (), lineWidths [i]);
- painter.drawRect (rect), tqmaskPainter.drawRect (rect);
+ painter.drawRect (rect), maskPainter.drawRect (rect);
- painter.end (), tqmaskPainter.end ();
+ painter.end (), maskPainter.end ();
- pixmap.setMask (tqmaskBitmap);
+ pixmap.setMask (maskBitmap);
addOption (pixmap, TQString::number (lineWidths [i]));
startNewOptionRow ();