summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpointarray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qpointarray.cpp')
-rw-r--r--src/kernel/qpointarray.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kernel/qpointarray.cpp b/src/kernel/qpointarray.cpp
index 5da55e2d4..dcca3278e 100644
--- a/src/kernel/qpointarray.cpp
+++ b/src/kernel/qpointarray.cpp
@@ -488,7 +488,7 @@ static inline int fix_angle( int a )
void TQPointArray::makeArc( int x, int y, int w, int h, int a1, int a2 )
{
-#if !defined(QT_OLD_MAKEELLIPSE) && !defined(QT_NO_TRANSFORMATIONS)
+#if !defined(QT_OLD_MAKEELLIPSE) && !defined(TQT_NO_TRANSFORMATIONS)
TQWMatrix unit;
makeArc(x,y,w,h,a1,a2,unit);
#else
@@ -520,7 +520,7 @@ void TQPointArray::makeArc( int x, int y, int w, int h, int a1, int a2 )
#endif
}
-#ifndef QT_NO_TRANSFORMATIONS
+#ifndef TQT_NO_TRANSFORMATIONS
// Based upon:
// parelarc.c from Graphics Gems III
// VanAken / Simar, "A Parametric Elliptical Arc Algorithm"
@@ -670,7 +670,7 @@ void TQPointArray::makeArc( int x, int y, int w, int h,
#undef PIV2
}
-#endif // QT_NO_TRANSFORMATIONS
+#endif // TQT_NO_TRANSFORMATIONS
/*!
Sets the points of the array to those describing an ellipse with
@@ -680,7 +680,7 @@ void TQPointArray::makeArc( int x, int y, int w, int h,
*/
void TQPointArray::makeEllipse( int x, int y, int w, int h )
{ // midpoint, 1/4 ellipse
-#if !defined(QT_OLD_MAKEELLIPSE) && !defined(QT_NO_TRANSFORMATIONS)
+#if !defined(QT_OLD_MAKEELLIPSE) && !defined(TQT_NO_TRANSFORMATIONS)
TQWMatrix unit;
makeArc(x,y,w,h,0,360*16,unit);
return;
@@ -755,7 +755,7 @@ void TQPointArray::makeEllipse( int x, int y, int w, int h )
#endif
}
-#ifndef QT_NO_BEZIER
+#ifndef TQT_NO_BEZIER
// Work functions for TQPointArray::cubicBezier()
static
void split(const double *p, double *l, double *r)
@@ -1001,12 +1001,12 @@ TQPointArray TQPointArray::cubicBezier() const
#endif
}
-#endif //QT_NO_BEZIER
+#endif //TQT_NO_BEZIER
/*****************************************************************************
TQPointArray stream functions
*****************************************************************************/
-#ifndef QT_NO_DATASTREAM
+#ifndef TQT_NO_DATASTREAM
/*!
\relates TQPointArray
@@ -1049,7 +1049,7 @@ TQDataStream &operator>>( TQDataStream &s, TQPointArray &a )
}
return s;
}
-#endif //QT_NO_DATASTREAM
+#endif //TQT_NO_DATASTREAM