summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqpainter.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /src/kernel/ntqpainter.h
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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() );