diff options
Diffstat (limited to 'src/kernel/qpaintdevice_x11.cpp')
-rw-r--r-- | src/kernel/qpaintdevice_x11.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kernel/qpaintdevice_x11.cpp b/src/kernel/qpaintdevice_x11.cpp index 1036664e8..2521ffb1e 100644 --- a/src/kernel/qpaintdevice_x11.cpp +++ b/src/kernel/qpaintdevice_x11.cpp @@ -133,7 +133,7 @@ TQPaintDevice::TQPaintDevice( uint devflags ) { if ( !tqApp ) { // global constructor #if defined(QT_CHECK_STATE) - qFatal( "TQPaintDevice: Must construct a TQApplication before a " + tqFatal( "TQPaintDevice: Must construct a TQApplication before a " "TQPaintDevice" ); #endif return; @@ -153,7 +153,7 @@ TQPaintDevice::~TQPaintDevice() { #if defined(QT_CHECK_STATE) if ( paintingActive() ) - qWarning( "TQPaintDevice: Cannot destroy paint device that is being " + tqWarning( "TQPaintDevice: Cannot destroy paint device that is being " "painted" ); #endif if ( x11Data && x11Data->deref() ) { @@ -699,7 +699,7 @@ int TQPaintDevice::x11AppDpiY() bool TQPaintDevice::cmd( int, TQPainter *, TQPDevCmdParam * ) { #if defined(QT_CHECK_STATE) - qWarning( "TQPaintDevice::cmd: Device has no command interface" ); + tqWarning( "TQPaintDevice::cmd: Device has no command interface" ); #endif return FALSE; } @@ -715,7 +715,7 @@ bool TQPaintDevice::cmd( int, TQPainter *, TQPDevCmdParam * ) int TQPaintDevice::metric( int ) const { #if defined(QT_CHECK_STATE) - qWarning( "TQPaintDevice::metrics: Device has no metric information" ); + tqWarning( "TQPaintDevice::metrics: Device has no metric information" ); #endif return 0; } @@ -778,7 +778,7 @@ static GC cache_mask_gc( Display *dpy, Drawable hd, int mask_no, Pixmap mask ) { if ( !init_mask_gc ) { // first time initialization init_mask_gc = TRUE; - qAddPostRoutine( cleanup_mask_gc ); + tqAddPostRoutine( cleanup_mask_gc ); for ( int i=0; i<max_mask_gcs; i++ ) gc_vec[i].gc = 0; } @@ -885,7 +885,7 @@ void bitBlt( TQPaintDevice *dst, int dx, int dy, bitBlt( pm, 0, 0, src, sx, sy, sw, sh ); } else { #if defined(QT_CHECK_RANGE) - qWarning( "bitBlt: Cannot bitBlt from device" ); + tqWarning( "bitBlt: Cannot bitBlt from device" ); #endif return; } @@ -906,7 +906,7 @@ void bitBlt( TQPaintDevice *dst, int dx, int dy, break; default: #if defined(QT_CHECK_RANGE) - qWarning( "bitBlt: Cannot bitBlt from device type %x", ts ); + tqWarning( "bitBlt: Cannot bitBlt from device type %x", ts ); #endif return; } @@ -917,7 +917,7 @@ void bitBlt( TQPaintDevice *dst, int dx, int dy, break; default: #if defined(QT_CHECK_RANGE) - qWarning( "bitBlt: Cannot bitBlt to device type %x", td ); + tqWarning( "bitBlt: Cannot bitBlt to device type %x", td ); #endif return; } @@ -930,14 +930,14 @@ void bitBlt( TQPaintDevice *dst, int dx, int dy, }; if ( rop > TQt::LastROP ) { #if defined(QT_CHECK_RANGE) - qWarning( "bitBlt: Invalid ROP code" ); + tqWarning( "bitBlt: Invalid ROP code" ); #endif return; } if ( dst->handle() == 0 ) { #if defined(QT_CHECK_NULL) - qWarning( "bitBlt: Cannot bitBlt to device" ); + tqWarning( "bitBlt: Cannot bitBlt to device" ); #endif return; } @@ -975,7 +975,7 @@ void bitBlt( TQPaintDevice *dst, int dx, int dy, if ( mono_dst && !mono_src ) { // dest is 1-bit pixmap, source is not #if defined(QT_CHECK_RANGE) - qWarning( "bitBlt: Incompatible destination pixmap" ); + tqWarning( "bitBlt: Incompatible destination pixmap" ); #endif return; } @@ -1058,7 +1058,7 @@ void bitBlt( TQPaintDevice *dst, int dx, int dy, return; } - gc = qt_xget_temp_gc( dst->x11Screen(), mono_dst ); // get a reusable GC + gc = tqt_xget_temp_gc( dst->x11Screen(), mono_dst ); // get a reusable GC if ( rop != TQt::CopyROP ) // use non-default ROP code XSetFunction( dpy, gc, ropCodes[rop] ); |