diff options
Diffstat (limited to 'src/kernel/ntqpaintdevice.h')
| -rw-r--r-- | src/kernel/ntqpaintdevice.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/ntqpaintdevice.h b/src/kernel/ntqpaintdevice.h index 8ce90f069..3bca6675e 100644 --- a/src/kernel/ntqpaintdevice.h +++ b/src/kernel/ntqpaintdevice.h @@ -150,7 +150,7 @@ public: static TQWSDisplay *qwsDisplay(); virtual unsigned char * scanLine(int) const; virtual int bytesPerLine() const; - virtual TQGfx * graphicsContext(bool clip_children=TRUE) const; + virtual TQGfx * graphicsContext(bool clip_children=true) const; #endif enum PDevCmd { @@ -224,7 +224,7 @@ protected: void copyX11Data( const TQPaintDevice * ); void cloneX11Data( const TQPaintDevice * ); virtual void setX11Data( const TQPaintDeviceX11Data* ); - TQPaintDeviceX11Data* getX11Data( bool def=FALSE ) const; + TQPaintDeviceX11Data* getX11Data( bool def=false ) const; #elif defined(TQ_WS_MAC) #if !defined( TQMAC_NO_QUARTZ ) CGContextRef ctx; @@ -246,7 +246,7 @@ protected: friend class TQPaintDeviceMetrics; #if defined(TQ_WS_MAC) #ifndef TQMAC_NO_QUARTZ - virtual CGContextRef macCGContext(bool clipped=TRUE) const; + virtual CGContextRef macCGContext(bool clipped=true) const; #endif friend TQ_EXPORT void unclippedScaledBitBlt( TQPaintDevice *, int, int, int, int, const TQPaintDevice *, int, int, int, int, TQt::RasterOp, bool, bool ); @@ -296,7 +296,7 @@ private: // Disabled copy constructor and operator= TQ_EXPORT void bitBlt( TQPaintDevice *dst, int dx, int dy, const TQPaintDevice *src, int sx=0, int sy=0, int sw=-1, int sh=-1, - TQt::RasterOp = TQt::CopyROP, bool ignoreMask=FALSE ); + TQt::RasterOp = TQt::CopyROP, bool ignoreMask=false ); TQ_EXPORT void bitBlt( TQPaintDevice *dst, int dx, int dy, @@ -411,7 +411,7 @@ inline bool TQPaintDevice::x11AppDefaultVisual() TQ_EXPORT inline void bitBlt( TQPaintDevice *dst, const TQPoint &dp, const TQPaintDevice *src, const TQRect &sr =TQRect(0,0,-1,-1), - TQt::RasterOp rop=TQt::CopyROP, bool ignoreMask=FALSE ) + TQt::RasterOp rop=TQt::CopyROP, bool ignoreMask=false ) { bitBlt( dst, dp.x(), dp.y(), src, sr.x(), sr.y(), sr.width(), sr.height(), rop, ignoreMask ); |
