From e47aaa9b34ffc363d268aca989aab28fdfaf9821 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/itemlibrary.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/itemlibrary.cpp') diff --git a/src/itemlibrary.cpp b/src/itemlibrary.cpp index 67a1a86..4d955d2 100644 --- a/src/itemlibrary.cpp +++ b/src/itemlibrary.cpp @@ -367,10 +367,10 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize ) TQPixmap pm( bound.size() ); - TQBitmap tqmask( bound.size() ); - tqmask.fill( TQt::color0 ); + TQBitmap mask( bound.size() ); + mask.fill( TQt::color0 ); - TQPainter maskPainter(&tqmask); + TQPainter maskPainter(&mask); maskPainter.translate( -bound.x(), -bound.y() ); maskPainter.setPen( TQt::color1 ); maskPainter.setBrush( TQt::color1 ); @@ -449,7 +449,7 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize ) transMatrix = Component::transMatrix( component->angleDegrees(), component->flipped(), bound.width()/2, bound.height()/2, true ); } - pm.setMask(tqmask); + pm.setMask(mask); // Now, rotate the image so that it's the right way up, and scale it to size TQImage im = pm.convertToImage(); -- cgit v1.2.1