summaryrefslogtreecommitdiffstats
path: root/src/itemlibrary.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
commit6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9 (patch)
tree31d759580e3bf977fd7fea7a451b535f3c0741a6 /src/itemlibrary.cpp
parent87a016680e3677da3993f333561e79eb0cead7d5 (diff)
downloadktechlab-6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9.tar.gz
ktechlab-6c86748feda6b6fb15ec2ce73b18838aa6a9a7f9.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/applications/ktechlab@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/itemlibrary.cpp')
-rw-r--r--src/itemlibrary.cpp26
1 files changed, 13 insertions, 13 deletions
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 );
}