From bab40890696ec68c337dc290880423a0602b83c7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 16 Jan 2011 02:40:35 +0000 Subject: Finished remaining porting to new TQt API git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/cups/imageposition.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kdeprint/cups/imageposition.cpp') 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 -- cgit v1.2.1