From 2e0398f755ab6af9557cc805e4f484bbf0c150f6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:33 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- tdehtml/tdehtmlview.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tdehtml/tdehtmlview.cpp') diff --git a/tdehtml/tdehtmlview.cpp b/tdehtml/tdehtmlview.cpp index 901c02321..b3679c6cc 100644 --- a/tdehtml/tdehtmlview.cpp +++ b/tdehtml/tdehtmlview.cpp @@ -112,7 +112,7 @@ using namespace tdehtml; class TDEHTMLToolTip; -#ifndef QT_NO_TOOLTIP +#ifndef TQT_NO_TOOLTIP class TDEHTMLToolTip : public TQToolTip { @@ -412,7 +412,7 @@ public: #endif }; -#ifndef QT_NO_TOOLTIP +#ifndef TQT_NO_TOOLTIP /** calculates the client-side image map rectangle for the given image element * @param img image element @@ -507,7 +507,7 @@ TDEHTMLView::TDEHTMLView( TDEHTMLPart *part, TQWidget *parent, const char *name) KImageIO::registerFormats(); -#ifndef QT_NO_TOOLTIP +#ifndef TQT_NO_TOOLTIP d->tooltip = new TDEHTMLToolTip( this, d ); #endif @@ -2866,7 +2866,7 @@ void TDEHTMLView::print(bool quick) bool scalePage = false; double scale = 0.0; -#ifndef QT_NO_TRANSFORMATIONS +#ifndef TQT_NO_TRANSFORMATIONS if(root->docWidth() > metrics.width()) { scalePage = true; scale = ((double) metrics.width())/((double) root->docWidth()); @@ -2921,7 +2921,7 @@ void TDEHTMLView::print(bool quick) } -#ifndef QT_NO_TRANSFORMATIONS +#ifndef TQT_NO_TRANSFORMATIONS if (scalePage) p->scale(scale, scale); #endif @@ -2993,7 +2993,7 @@ void TDEHTMLView::paint(TQPainter *p, const TQRect &rc, int yOff, bool *more) p->translate(rc.left(), rc.top()); double scale = ((double) rc.width()/(double) root->docWidth()); int height = (int) ((double) rc.height() / scale); -#ifndef QT_NO_TRANSFORMATIONS +#ifndef TQT_NO_TRANSFORMATIONS p->scale(scale, scale); #endif root->setPageTop(yOff); @@ -3267,7 +3267,7 @@ void TDEHTMLView::setIgnoreWheelEvents( bool e ) d->ignoreWheelEvents = e; } -#ifndef QT_NO_WHEELEVENT +#ifndef TQT_NO_WHEELEVENT void TDEHTMLView::viewportWheelEvent(TQWheelEvent* e) { -- cgit v1.2.1