From bce8199ddac4feecdee9c094fb8f75863cfa9652 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: 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 --- kolourpaint/kpselection.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kolourpaint/kpselection.cpp') diff --git a/kolourpaint/kpselection.cpp b/kolourpaint/kpselection.cpp index 8947f8d0..97865852 100644 --- a/kolourpaint/kpselection.cpp +++ b/kolourpaint/kpselection.cpp @@ -337,11 +337,11 @@ int kpSelection::size () const // public -TQBitmap kpSelection::tqmaskForOwnType (bool nullForRectangular) const +TQBitmap kpSelection::maskForOwnType (bool nullForRectangular) const { if (!m_rect.isValid ()) { - kdError () << "kpSelection::tqmaskForOwnType() boundingRect invalid" << endl; + kdError () << "kpSelection::maskForOwnType() boundingRect invalid" << endl; return TQBitmap (); } @@ -351,17 +351,17 @@ TQBitmap kpSelection::tqmaskForOwnType (bool nullForRectangular) const if (nullForRectangular) return TQBitmap (); - TQBitmap tqmaskBitmap (m_rect.width (), m_rect.height ()); - tqmaskBitmap.fill (TQt::color1/*opaque*/); - return tqmaskBitmap; + TQBitmap maskBitmap (m_rect.width (), m_rect.height ()); + maskBitmap.fill (TQt::color1/*opaque*/); + return maskBitmap; } - TQBitmap tqmaskBitmap (m_rect.width (), m_rect.height ()); - tqmaskBitmap.fill (TQt::color0/*transparent*/); + TQBitmap maskBitmap (m_rect.width (), m_rect.height ()); + maskBitmap.fill (TQt::color0/*transparent*/); TQPainter painter; - painter.begin (&tqmaskBitmap); + painter.begin (&maskBitmap); painter.setPen (TQt::color1)/*opaque*/; painter.setBrush (TQt::color1/*opaque*/); @@ -379,7 +379,7 @@ TQBitmap kpSelection::tqmaskForOwnType (bool nullForRectangular) const painter.end (); - return tqmaskBitmap; + return maskBitmap; } @@ -615,11 +615,11 @@ static TQRgb mostContrastingRGB (TQRgb val) } // private -static void drawTextLines (TQPainter *painter, TQPainter *tqmaskPainter, +static void drawTextLines (TQPainter *painter, TQPainter *maskPainter, const TQRect &rect, const TQValueVector &textLines) { - if (!painter->clipRegion ().isEmpty () || !tqmaskPainter->clipRegion ().isEmpty ()) + if (!painter->clipRegion ().isEmpty () || !maskPainter->clipRegion ().isEmpty ()) { // TODO: fix esp. before making method public kdError () << "kpselection.cpp:drawTextLines() can't deal with existing painter clip regions" << endl; @@ -632,8 +632,8 @@ static void drawTextLines (TQPainter *painter, TQPainter *tqmaskPainter, if (painter->isActive ()) \ painter->cmd; \ \ - if (tqmaskPainter->isActive ()) \ - tqmaskPainter->cmd; \ + if (maskPainter->isActive ()) \ + maskPainter->cmd; \ } -- cgit v1.2.3