summaryrefslogtreecommitdiffstats
path: root/src/itemlibrary.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commite47aaa9b34ffc363d268aca989aab28fdfaf9821 (patch)
tree369b56d21949c574d30f71bdf24bf1e04f5e1877 /src/itemlibrary.cpp
parente05894553004a47b1e2f276bedcf5963b57a3932 (diff)
downloadktechlab-e47aaa9b34ffc363d268aca989aab28fdfaf9821.tar.gz
ktechlab-e47aaa9b34ffc363d268aca989aab28fdfaf9821.zip
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
Diffstat (limited to 'src/itemlibrary.cpp')
-rw-r--r--src/itemlibrary.cpp8
1 files changed, 4 insertions, 4 deletions
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();