summaryrefslogtreecommitdiffstats
path: root/ksame/StoneWidget.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
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /ksame/StoneWidget.cpp
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz
tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksame/StoneWidget.cpp')
-rw-r--r--ksame/StoneWidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksame/StoneWidget.cpp b/ksame/StoneWidget.cpp
index 3109c33e..586aeefd 100644
--- a/ksame/StoneWidget.cpp
+++ b/ksame/StoneWidget.cpp
@@ -46,8 +46,8 @@ struct StoneSlice {
};
-StoneWidget::StoneWidget( TQWidget *tqparent, int x, int y )
- : TQWidget(tqparent,"StoneWidget"), stonefield(x,y)
+StoneWidget::StoneWidget( TQWidget *parent, int x, int y )
+ : TQWidget(parent,"StoneWidget"), stonefield(x,y)
{
setBackgroundPixmap(TQPixmap(locate("wallpaper", "Time-For-Lunch-2.jpg")));
TQPixmap stonemap(locate("appdata", "stones.png"));
@@ -65,7 +65,7 @@ StoneWidget::StoneWidget( TQWidget *tqparent, int x, int y )
stone_height=stonemap.height()/maxcolors;
map = new StoneSlice*[maxcolors];
- TQBitmap tqmask;
+ TQBitmap mask;
for (int c = 0; c < maxcolors; c++) {
map[c] = new StoneSlice[maxslices];
@@ -77,8 +77,8 @@ StoneWidget::StoneWidget( TQWidget *tqparent, int x, int y )
c*stone_height,
stone_width,stone_height,CopyROP,false);
TQImage im = map[c][s].stone.convertToImage();
- tqmask.convertFromImage(im.createHeuristicMask());
- map[c][s].stone.setMask(tqmask);
+ mask.convertFromImage(im.createHeuristicMask());
+ map[c][s].stone.setMask(mask);
}
}