diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | e7366c97c998679efa80cf61c88e64a11a3d3c33 (patch) | |
tree | a161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /kolourpaint/tools/kptoolpen.cpp | |
parent | da4be7880ff1de6415ab6256afd2514e64f5fa2e (diff) | |
download | tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/tools/kptoolpen.cpp')
-rw-r--r-- | kolourpaint/tools/kptoolpen.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kolourpaint/tools/kptoolpen.cpp b/kolourpaint/tools/kptoolpen.cpp index d87e3e39..5a601a83 100644 --- a/kolourpaint/tools/kptoolpen.cpp +++ b/kolourpaint/tools/kptoolpen.cpp @@ -398,7 +398,7 @@ void kpToolPen::globalDraw () } if (backgroundColor ().isTransparent () || - document ()->pixmap ()->tqmask ()) + document ()->pixmap ()->mask ()) { maskBitmap = kpPixmapFX::getNonNullMask (*document ()->pixmap ()); maskPainter.begin (&maskBitmap); @@ -475,10 +475,10 @@ void kpToolPen::draw (const TQPoint &thisPoint, const TQPoint &lastPoint, const } else { - TQBitmap tqmask (1, 1); - tqmask.fill (TQt::color0/*transparent*/); + TQBitmap mask (1, 1); + mask.fill (TQt::color0/*transparent*/); - pixmap.setMask (tqmask); + pixmap.setMask (mask); } // draw onto doc @@ -529,7 +529,7 @@ void kpToolPen::draw (const TQPoint &thisPoint, const TQPoint &lastPoint, const } if (color (m_mouseButton).isTransparent () || - pixmap.tqmask ()) + pixmap.mask ()) { maskBitmap = kpPixmapFX::getNonNullMask (pixmap); maskPainter.begin (&maskBitmap); @@ -606,7 +606,7 @@ void kpToolPen::draw (const TQPoint &thisPoint, const TQPoint &lastPoint, const painter.setPen (c.toTQColor ()); } - if (transparent || pixmap.tqmask ()) + if (transparent || pixmap.mask ()) { maskBitmap = kpPixmapFX::getNonNullMask (pixmap); maskPainter.begin (&maskBitmap); @@ -966,7 +966,7 @@ void kpToolPen::slotEraserSizeChanged (int size) for (int i = 0; i < 2; i++) { // Note: No matter what, the eraser's brush pixmap is never given - // a tqmask. + // a mask. // // With a transparent color, since we don't fill anything, the // resize by itself will leave us with garbage pixels. This |