From 6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9 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/applications/ktechlab@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/itemlibrary.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/itemlibrary.cpp') diff --git a/src/itemlibrary.cpp b/src/itemlibrary.cpp index 9905372..6451e6b 100644 --- a/src/itemlibrary.cpp +++ b/src/itemlibrary.cpp @@ -370,10 +370,10 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize ) TQBitmap tqmask( bound.size() ); tqmask.fill( TQt::color0 ); - TQPainter tqmaskPainter(&tqmask); - tqmaskPainter.translate( -bound.x(), -bound.y() ); - tqmaskPainter.setPen( TQt::color1 ); - tqmaskPainter.setBrush( TQt::color1 ); + TQPainter maskPainter(&tqmask); + maskPainter.translate( -bound.x(), -bound.y() ); + maskPainter.setPen( TQt::color1 ); + maskPainter.setBrush( TQt::color1 ); TQPainter p(&pm); @@ -391,7 +391,7 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize ) item->blockSignals(false); } item->drawShape(p); - item->drawShape(tqmaskPainter); + item->drawShape(maskPainter); if (sel) { item->blockSignals(true); @@ -399,8 +399,8 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize ) item->blockSignals(false); } - tqmaskPainter.setPen( TQt::color1 ); - tqmaskPainter.setBrush( TQt::color1 ); + maskPainter.setPen( TQt::color1 ); + maskPainter.setBrush( TQt::color1 ); TQWMatrix transMatrix; // Matrix to apply to the image @@ -420,13 +420,13 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize ) const bool showVB = ecnode->showVoltageBars(); ecnode->setShowVoltageBars(false); ecnode->drawShape(p); - ecnode->drawShape(tqmaskPainter); + ecnode->drawShape(maskPainter); ecnode->setShowVoltageBars(showVB); } else { node->drawShape(p); - node->drawShape(tqmaskPainter); + node->drawShape(maskPainter); } if (sel) node->setSelected(sel); @@ -438,13 +438,13 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize ) for ( TextMap::iterator it = text.begin(); it != textEnd; ++it ) { it.data()->drawShape(p); - it.data()->drawShape(tqmaskPainter); + it.data()->drawShape(maskPainter); } -// tqmaskPainter.setPen( TQt::color1 ); -// tqmaskPainter.setBrush( TQt::color1 ); +// maskPainter.setPen( TQt::color1 ); +// maskPainter.setBrush( TQt::color1 ); cnItem->drawWidgets(p); -// cnItem->drawWidgets(tqmaskPainter); +// cnItem->drawWidgets(maskPainter); transMatrix = Component::transMatrix( component->angleDegrees(), component->flipped(), bound.width()/2, bound.height()/2, true ); } -- cgit v1.2.1