summaryrefslogtreecommitdiffstats
path: root/tdehtml/tdehtmlview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml/tdehtmlview.cpp')
-rw-r--r--tdehtml/tdehtmlview.cpp14
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)
{