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/kptoolairspray.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/kptoolairspray.cpp')
-rw-r--r-- | kolourpaint/tools/kptoolairspray.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kolourpaint/tools/kptoolairspray.cpp b/kolourpaint/tools/kptoolairspray.cpp index f8aabce1..0bf50b12 100644 --- a/kolourpaint/tools/kptoolairspray.cpp +++ b/kolourpaint/tools/kptoolairspray.cpp @@ -312,7 +312,7 @@ void kpToolAirSprayCommand::addPoints (const TQPointArray &points) #endif TQPixmap pixmap = document ()->getPixmapAt (docRect); - TQBitmap tqmask; + TQBitmap mask; TQPainter painter, maskPainter; @@ -322,10 +322,10 @@ void kpToolAirSprayCommand::addPoints (const TQPointArray &points) painter.setPen (m_color.toTQColor ()); } - if (pixmap.tqmask () || m_color.isTransparent ()) + if (pixmap.mask () || m_color.isTransparent ()) { - tqmask = kpPixmapFX::getNonNullMask (pixmap); - maskPainter.begin (&tqmask); + mask = kpPixmapFX::getNonNullMask (pixmap); + maskPainter.begin (&mask); maskPainter.setPen (m_color.maskColor ()); } @@ -347,8 +347,8 @@ void kpToolAirSprayCommand::addPoints (const TQPointArray &points) if (painter.isActive ()) painter.end (); - if (!tqmask.isNull ()) - pixmap.setMask (tqmask); + if (!mask.isNull ()) + pixmap.setMask (mask); viewManager ()->setFastUpdates (); document ()->setPixmapAt (pixmap, docRect.topLeft ()); |