From 69d87202cb139ffe9e4b3ce92e434523b7b09b64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:30 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- src/kernel/qpointarray.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/kernel/qpointarray.cpp') 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 -- cgit v1.2.1