summaryrefslogtreecommitdiffstats
path: root/ksame/StoneWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksame/StoneWidget.cpp')
-rw-r--r--ksame/StoneWidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksame/StoneWidget.cpp b/ksame/StoneWidget.cpp
index c4fbb987..5097ac78 100644
--- a/ksame/StoneWidget.cpp
+++ b/ksame/StoneWidget.cpp
@@ -72,8 +72,8 @@ StoneWidget::StoneWidget( TQWidget *parent, int x, int y )
for (int s = 0; s < maxslices; s++) {
map[c][s].stone.resize(stone_width, stone_height);
assert(!map[c][s].stone.isNull());
- bitBlt(TQT_TQPAINTDEVICE(&map[c][s].stone), 0, 0,
- TQT_TQPAINTDEVICE(&stonemap), stone_width * s,
+ bitBlt(&map[c][s].stone, 0, 0,
+ &stonemap, stone_width * s,
c*stone_height,
stone_width,stone_height,CopyROP,false);
TQImage im = map[c][s].stone.convertToImage();
@@ -276,8 +276,8 @@ StoneWidget::paintEvent( TQPaintEvent *e ) {
if (stone->color) {
int tslice = stone->marked?slice:0;
- bitBlt(TQT_TQPAINTDEVICE(this),cx,cy,
- TQT_TQPAINTDEVICE(&map[stone->color-1][tslice].stone),
+ bitBlt(this,cx,cy,
+ &map[stone->color-1][tslice].stone,
0, 0,
stone_width,stone_height,CopyROP,FALSE);