summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commite7366c97c998679efa80cf61c88e64a11a3d3c33 (patch)
treea161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /kolourpaint/kpview.cpp
parentda4be7880ff1de6415ab6256afd2514e64f5fa2e (diff)
downloadtdegraphics-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/kpview.cpp')
-rw-r--r--kolourpaint/kpview.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kolourpaint/kpview.cpp b/kolourpaint/kpview.cpp
index 12a39fb0..5b68a7b2 100644
--- a/kolourpaint/kpview.cpp
+++ b/kolourpaint/kpview.cpp
@@ -102,9 +102,9 @@ kpView::kpView (kpDocument *document,
kpViewManager *viewManager,
kpView *buddyView,
kpViewScrollableContainer *scrollableContainer,
- TQWidget *tqparent, const char *name)
+ TQWidget *parent, const char *name)
- : TQWidget (tqparent, name, TQt::WNoAutoErase/*no flicker*/),
+ : TQWidget (parent, name, TQt::WNoAutoErase/*no flicker*/),
d (new kpViewPrivate ())
{
d->m_document = document;
@@ -1348,9 +1348,9 @@ void kpView::paintEventDrawSelection (TQPixmap *destPixmap, const TQRect &docRec
TQBitmap maskBitmap;
TQPainter maskBitmapPainter;
- if (destPixmap->tqmask ())
+ if (destPixmap->mask ())
{
- maskBitmap = *destPixmap->tqmask ();
+ maskBitmap = *destPixmap->mask ();
maskBitmapPainter.begin (&maskBitmap);
maskBitmapPainter.setPen (TQt::color1/*opaque*/);
}
@@ -1483,9 +1483,9 @@ void kpView::paintEventDrawSelection (TQPixmap *destPixmap, const TQRect &docRec
TQBitmap maskBitmap;
TQPainter destPixmapPainter, maskBitmapPainter;
- if (destPixmap->tqmask ())
+ if (destPixmap->mask ())
{
- maskBitmap = *destPixmap->tqmask ();
+ maskBitmap = *destPixmap->mask ();
maskBitmapPainter.begin (&maskBitmap);
maskBitmapPainter.fillRect (rect, TQt::color1/*opaque*/);
maskBitmapPainter.end ();
@@ -1747,11 +1747,11 @@ void kpView::paintEventDrawRect (const TQRect &viewRect)
#endif
}
- if (docPixmap.tqmask () ||
+ if (docPixmap.mask () ||
(tempPixmapWillBeRendered && vm->tempPixmap ()->mayChangeDocumentMask ()))
{
#if DEBUG_KP_VIEW_RENDERER && 1
- kdDebug () << "\ttqmask=" << (bool) docPixmap.tqmask ()
+ kdDebug () << "\tmask=" << (bool) docPixmap.mask ()
<< endl;
#endif
paintEventDrawCheckerBoard (&backBufferPainter, viewRect);
@@ -1759,7 +1759,7 @@ void kpView::paintEventDrawRect (const TQRect &viewRect)
else
{
#if DEBUG_KP_VIEW_RENDERER && 1
- kdDebug () << "\tno tqmask" << endl;
+ kdDebug () << "\tno mask" << endl;
#endif
}