From 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 28 Feb 2012 22:31:39 -0600 Subject: Automated conversion from qt3 --- src/kernel/qpaintdevice_x11.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/kernel/qpaintdevice_x11.cpp') 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 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] ); -- cgit v1.2.3