From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdvi/dviRenderer_draw.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kdvi/dviRenderer_draw.cpp') diff --git a/kdvi/dviRenderer_draw.cpp b/kdvi/dviRenderer_draw.cpp index d09caf6d..b65f240e 100644 --- a/kdvi/dviRenderer_draw.cpp +++ b/kdvi/dviRenderer_draw.cpp @@ -70,13 +70,13 @@ #include #include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include -extern QPainter *foreGroundPainter; +extern TQPainter *foreGroundPainter; /** Routine to print characters. */ @@ -97,7 +97,7 @@ void dviRenderer::set_char(unsigned int cmd, unsigned int ch) long dvi_h_sav = currinf.data.dvi_h; - QPixmap pix = g->shrunkenCharacter; + TQPixmap pix = g->shrunkenCharacter; int x = ((int) ((currinf.data.dvi_h) / (shrinkfactor * 65536))) - g->x2; int y = currinf.data.pxl_v - g->y2; @@ -117,7 +117,7 @@ void dviRenderer::set_char(unsigned int cmd, unsigned int ch) dhl.linkText = *HTML_href; currentlyDrawnPage->hyperLinkList.push_back(dhl); } else { - QRect dshunion = currentlyDrawnPage->hyperLinkList[currentlyDrawnPage->hyperLinkList.size()-1].box.unite(QRect(x, y, pix.width(), pix.height())) ; + TQRect dshunion = currentlyDrawnPage->hyperLinkList[currentlyDrawnPage->hyperLinkList.size()-1].box.unite(TQRect(x, y, pix.width(), pix.height())) ; currentlyDrawnPage->hyperLinkList[currentlyDrawnPage->hyperLinkList.size()-1].box = dshunion; } } @@ -141,7 +141,7 @@ void dviRenderer::set_char(unsigned int cmd, unsigned int ch) dhl.linkText = ""; currentDVIPage->sourceHyperLinkList.push_back(dhl); } else { - QRect dshunion = currentDVIPage->sourceHyperLinkList[currentDVIPage->sourceHyperLinkList.size()-1].box.unite(QRect(x, y, pix.width(), pix.height())) ; + TQRect dshunion = currentDVIPage->sourceHyperLinkList[currentDVIPage->sourceHyperLinkList.size()-1].box.unite(TQRect(x, y, pix.width(), pix.height())) ; currentDVIPage->sourceHyperLinkList[currentDVIPage->sourceHyperLinkList.size()-1].box = dshunion; } } @@ -188,7 +188,7 @@ void dviRenderer::set_char(unsigned int cmd, unsigned int ch) default: if ((ch >= 0x21) && (ch <= 0x7a)) - currentlyDrawnPage->textBoxList[currentlyDrawnPage->textBoxList.size()-1].text += QChar(ch); + currentlyDrawnPage->textBoxList[currentlyDrawnPage->textBoxList.size()-1].text += TQChar(ch); else currentlyDrawnPage->textBoxList[currentlyDrawnPage->textBoxList.size()-1].text += "?"; break; -- cgit v1.2.1