summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/imageposition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/cups/imageposition.cpp')
-rw-r--r--kdeprint/cups/imageposition.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/cups/imageposition.cpp b/kdeprint/cups/imageposition.cpp
index 9e0ab4941..5f08fcd61 100644
--- a/kdeprint/cups/imageposition.cpp
+++ b/kdeprint/cups/imageposition.cpp
@@ -114,7 +114,7 @@ void ImagePosition::paintEvent(TQPaintEvent*)
ph = (pw * 4) / 3;
py = (height() - ph) / 2;
}
- QRect page(px, py, pw, ph), img(0, 0, pix_.width(), pix_.height());
+ TQRect page(px, py, pw, ph), img(0, 0, pix_.width(), pix_.height());
// compute img position
horiz = position_%3;
@@ -134,7 +134,7 @@ void ImagePosition::paintEvent(TQPaintEvent*)
img.moveTopLeft(TQPoint(x,y));
// draw page
- QPainter p(this);
+ TQPainter p(this);
draw3DPage(&p,page);
// draw img