summaryrefslogtreecommitdiffstats
path: root/src/xml/qsvgdevice.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
committerMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /src/xml/qsvgdevice.cpp
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/xml/qsvgdevice.cpp')
-rw-r--r--src/xml/qsvgdevice.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xml/qsvgdevice.cpp b/src/xml/qsvgdevice.cpp
index 9acaf4f97..c4e710ea4 100644
--- a/src/xml/qsvgdevice.cpp
+++ b/src/xml/qsvgdevice.cpp
@@ -38,7 +38,7 @@
#include <private/qsvgdevice_p.h>
-#ifndef QT_NO_SVG
+#ifndef TQT_NO_SVG
#include "ntqpainter.h"
#include "ntqpaintdevicemetrics.h"
@@ -582,7 +582,7 @@ bool TQSvgDevice::cmd ( int c, TQPainter *painter, TQPDevCmdParam *p )
e.setAttribute( "points", str.stripWhiteSpace() );
}
break;
-#ifndef QT_NO_BEZIER
+#ifndef TQT_NO_BEZIER
case PdcDrawCubicBezier:
a = *p[0].ptarr;
e = doc.createElement( "path" );
@@ -1424,7 +1424,7 @@ void TQSvgDevice::drawPath( const TQString &data )
y = arg[ 0 ] + offsetY;
path.setPoint( pcount++, int(x), int(y) );
break;
-#ifndef QT_NO_BEZIER
+#ifndef TQT_NO_BEZIER
case 5: // 'C' cubic bezier curveto
case 6: // 'S' smooth shorthand
case 7: // 'Q' quadratic bezier curves
@@ -1467,7 +1467,7 @@ void TQSvgDevice::drawPath( const TQString &data )
path.setPoint( pcount++, bezier[ k ] );
break;
}
-#endif // QT_NO_BEZIER
+#endif // TQT_NO_BEZIER
case 9: // 'A' elliptical arc curve
// ### just a straight line
x = arg[ 5 ] + offsetX;
@@ -1588,4 +1588,4 @@ void TQSvgDevice::applyTransform( TQDomElement *e ) const
e->setAttribute( "transform", s );
}
-#endif // QT_NO_SVG
+#endif // TQT_NO_SVG