summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqpainter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/ntqpainter.h')
-rw-r--r--src/kernel/ntqpainter.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kernel/ntqpainter.h b/src/kernel/ntqpainter.h
index a86dea4fb..2f95272f3 100644
--- a/src/kernel/ntqpainter.h
+++ b/src/kernel/ntqpainter.h
@@ -136,7 +136,7 @@ public:
bool hasViewXForm() const;
bool hasWorldXForm() const;
-#ifndef QT_NO_TRANSFORMATIONS
+#ifndef TQT_NO_TRANSFORMATIONS
void setViewXForm( bool ); // set xform on/off
TQRect window() const; // get window
void setWindow( const TQRect & ); // set window
@@ -217,7 +217,7 @@ public:
int index=0, int npoints=-1 );
void drawConvexPolygon( const TQPointArray &,
int index=0, int npoints=-1 );
-#ifndef QT_NO_BEZIER
+#ifndef TQT_NO_BEZIER
void drawCubicBezier( const TQPointArray &, int index=0 );
#endif
void drawPixmap( int x, int y, const TQPixmap &,
@@ -239,7 +239,7 @@ public:
void drawTiledPixmap( const TQRect &, const TQPixmap &,
const TQPoint & );
void drawTiledPixmap( const TQRect &, const TQPixmap & );
-#ifndef QT_NO_PICTURE
+#ifndef TQT_NO_PICTURE
void drawPicture( const TQPicture & );
void drawPicture( int x, int y, const TQPicture & );
void drawPicture( const TQPoint &, const TQPicture & );
@@ -302,7 +302,7 @@ private:
void updateFont();
void updatePen();
void updateBrush();
-#ifndef QT_NO_TRANSFORMATIONS
+#ifndef TQT_NO_TRANSFORMATIONS
void updateXForm();
void updateInvXForm();
#endif
@@ -344,7 +344,7 @@ private:
bool block_ext; // for temporary blocking of external devices
// Transformations
-#ifndef QT_NO_TRANSFORMATIONS
+#ifndef TQT_NO_TRANSFORMATIONS
TQCOORD wx, wy, ww, wh;
TQCOORD vx, vy, vw, vh;
TQWMatrix wxmat;
@@ -499,7 +499,7 @@ inline const TQPoint &TQPainter::brushOrigin() const
inline bool TQPainter::hasViewXForm() const
{
-#ifndef QT_NO_TRANSFORMATIONS
+#ifndef TQT_NO_TRANSFORMATIONS
return testf(VxF);
#else
return xlatex || xlatey;
@@ -508,7 +508,7 @@ inline bool TQPainter::hasViewXForm() const
inline bool TQPainter::hasWorldXForm() const
{
-#ifndef QT_NO_TRANSFORMATIONS
+#ifndef TQT_NO_TRANSFORMATIONS
return testf(WxF);
#else
return xlatex || xlatey;
@@ -517,7 +517,7 @@ inline bool TQPainter::hasWorldXForm() const
inline double TQPainter::translationX() const
{
-#ifndef QT_NO_TRANSFORMATIONS
+#ifndef TQT_NO_TRANSFORMATIONS
return worldMatrix().dx();
#else
return xlatex;
@@ -526,7 +526,7 @@ inline double TQPainter::translationX() const
inline double TQPainter::translationY() const
{
-#ifndef QT_NO_TRANSFORMATIONS
+#ifndef TQT_NO_TRANSFORMATIONS
return worldMatrix().dy();
#else
return xlatey;
@@ -566,7 +566,7 @@ inline void TQPainter::setBrushOrigin( const TQPoint &p )
setBrushOrigin( p.x(), p.y() );
}
-#ifndef QT_NO_TRANSFORMATIONS
+#ifndef TQT_NO_TRANSFORMATIONS
inline void TQPainter::setWindow( const TQRect &r )
{
setWindow( r.x(), r.y(), r.width(), r.height() );