diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:33 +0900 |
commit | 2e0398f755ab6af9557cc805e4f484bbf0c150f6 (patch) | |
tree | 712a40baf33c3b3488ab74f0a7240cfd87cef532 /tdehtml/tdehtmlview.cpp | |
parent | 8d88f31f74735c9580b7d374f709a22206d14982 (diff) | |
download | tdelibs-2e0398f755ab6af9557cc805e4f484bbf0c150f6.tar.gz tdelibs-2e0398f755ab6af9557cc805e4f484bbf0c150f6.zip |
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdehtml/tdehtmlview.cpp')
-rw-r--r-- | tdehtml/tdehtmlview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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) { |