summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpview.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/kpview.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/kpview.cpp')
-rw-r--r--kolourpaint/kpview.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/kolourpaint/kpview.cpp b/kolourpaint/kpview.cpp
index 3f64bbb9..341a6790 100644
--- a/kolourpaint/kpview.cpp
+++ b/kolourpaint/kpview.cpp
@@ -590,10 +590,10 @@ void kpView::addToQueuedArea (const TQRect &rect)
}
// public
-void kpView::tqinvalidateQueuedArea ()
+void kpView::invalidateQueuedArea ()
{
#if DEBUG_KP_VIEW && 0
- kdDebug () << "kpView::tqinvalidateQueuedArea()" << endl;
+ kdDebug () << "kpView::invalidateQueuedArea()" << endl;
#endif
d->m_queuedUpdateArea = TQRegion ();
@@ -621,7 +621,7 @@ void kpView::updateQueuedArea ()
if (!d->m_queuedUpdateArea.isNull ())
vm->updateView (this, d->m_queuedUpdateArea);
- tqinvalidateQueuedArea ();
+ invalidateQueuedArea ();
}
// public
@@ -1346,21 +1346,21 @@ void kpView::paintEventDrawSelection (TQPixmap *destPixmap, const TQRect &docRec
destPixmapPainter.setBackgroundMode (Qt::OpaqueMode);
destPixmapPainter.setBackgroundColor (TQt::blue);
- TQBitmap tqmaskBitmap;
- TQPainter tqmaskBitmapPainter;
+ TQBitmap maskBitmap;
+ TQPainter maskBitmapPainter;
if (destPixmap->tqmask ())
{
- tqmaskBitmap = *destPixmap->tqmask ();
- tqmaskBitmapPainter.begin (&tqmaskBitmap);
- tqmaskBitmapPainter.setPen (TQt::color1/*opaque*/);
+ maskBitmap = *destPixmap->tqmask ();
+ maskBitmapPainter.begin (&maskBitmap);
+ maskBitmapPainter.setPen (TQt::color1/*opaque*/);
}
#define PAINTER_CMD(cmd) \
{ \
destPixmapPainter . cmd; \
- if (tqmaskBitmapPainter.isActive ()) \
- tqmaskBitmapPainter . cmd; \
+ if (maskBitmapPainter.isActive ()) \
+ maskBitmapPainter . cmd; \
}
TQRect boundingRect = sel->boundingRect ();
@@ -1450,10 +1450,10 @@ void kpView::paintEventDrawSelection (TQPixmap *destPixmap, const TQRect &docRec
#undef PAINTER_CMD
destPixmapPainter.end ();
- if (tqmaskBitmapPainter.isActive ())
- tqmaskBitmapPainter.end ();
+ if (maskBitmapPainter.isActive ())
+ maskBitmapPainter.end ();
- destPixmap->setMask (tqmaskBitmap);
+ destPixmap->setMask (maskBitmap);
}
@@ -1480,15 +1480,15 @@ void kpView::paintEventDrawSelection (TQPixmap *destPixmap, const TQRect &docRec
{
rect.moveBy (-docRect.x (), -docRect.y ());
- TQBitmap tqmaskBitmap;
- TQPainter destPixmapPainter, tqmaskBitmapPainter;
+ TQBitmap maskBitmap;
+ TQPainter destPixmapPainter, maskBitmapPainter;
if (destPixmap->tqmask ())
{
- tqmaskBitmap = *destPixmap->tqmask ();
- tqmaskBitmapPainter.begin (&tqmaskBitmap);
- tqmaskBitmapPainter.fillRect (rect, TQt::color1/*opaque*/);
- tqmaskBitmapPainter.end ();
+ maskBitmap = *destPixmap->tqmask ();
+ maskBitmapPainter.begin (&maskBitmap);
+ maskBitmapPainter.fillRect (rect, TQt::color1/*opaque*/);
+ maskBitmapPainter.end ();
}
destPixmapPainter.begin (destPixmap);
@@ -1496,8 +1496,8 @@ void kpView::paintEventDrawSelection (TQPixmap *destPixmap, const TQRect &docRec
destPixmapPainter.fillRect (rect, TQt::white);
destPixmapPainter.end ();
- if (!tqmaskBitmap.isNull ())
- destPixmap->setMask (tqmaskBitmap);
+ if (!maskBitmap.isNull ())
+ destPixmap->setMask (maskBitmap);
}
}
}