From a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Thu, 1 Mar 2012 13:24:30 -0600
Subject: Rename additional global TQt functions

---
 src/kernel/qpaintdevice_x11.cpp | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

(limited to 'src/kernel/qpaintdevice_x11.cpp')

diff --git a/src/kernel/qpaintdevice_x11.cpp b/src/kernel/qpaintdevice_x11.cpp
index a755c01..b17c003 100644
--- a/src/kernel/qpaintdevice_x11.cpp
+++ b/src/kernel/qpaintdevice_x11.cpp
@@ -133,7 +133,7 @@ QPaintDevice::QPaintDevice( uint devflags )
 {
     if ( !qApp ) {				// global constructor
 #if defined(QT_CHECK_STATE)
-	qFatal( "QPaintDevice: Must construct a QApplication before a "
+	tqFatal( "QPaintDevice: Must construct a QApplication before a "
 		"QPaintDevice" );
 #endif
 	return;
@@ -153,7 +153,7 @@ QPaintDevice::~QPaintDevice()
 {
 #if defined(QT_CHECK_STATE)
     if ( paintingActive() )
-	qWarning( "QPaintDevice: Cannot destroy paint device that is being "
+	tqWarning( "QPaintDevice: Cannot destroy paint device that is being "
 		  "painted" );
 #endif
     if ( x11Data && x11Data->deref() ) {
@@ -699,7 +699,7 @@ int QPaintDevice::x11AppDpiY()
 bool QPaintDevice::cmd( int, QPainter *, QPDevCmdParam * )
 {
 #if defined(QT_CHECK_STATE)
-    qWarning( "QPaintDevice::cmd: Device has no command interface" );
+    tqWarning( "QPaintDevice::cmd: Device has no command interface" );
 #endif
     return FALSE;
 }
@@ -715,7 +715,7 @@ bool QPaintDevice::cmd( int, QPainter *, QPDevCmdParam * )
 int QPaintDevice::metric( int ) const
 {
 #if defined(QT_CHECK_STATE)
-    qWarning( "QPaintDevice::metrics: Device has no metric information" );
+    tqWarning( "QPaintDevice::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( QPaintDevice *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( QPaintDevice *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( QPaintDevice *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( QPaintDevice *dst, int dx, int dy,
     };
     if ( rop > Qt::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( QPaintDevice *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;
     }
-- 
cgit v1.2.1