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/qprinter_unix.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/kernel/qprinter_unix.cpp') diff --git a/src/kernel/qprinter_unix.cpp b/src/kernel/qprinter_unix.cpp index bbe30a850..f2bb8820f 100644 --- a/src/kernel/qprinter_unix.cpp +++ b/src/kernel/qprinter_unix.cpp @@ -226,7 +226,7 @@ void TQPrinter::setPrinterName( const TQString &name ) { if ( state != 0 ) { #if defined(QT_CHECK_STATE) - qWarning( "TQPrinter::setPrinterName: Cannot do this during printing" ); + tqWarning( "TQPrinter::setPrinterName: Cannot do this during printing" ); #endif return; } @@ -258,7 +258,7 @@ bool TQPrinter::setup( TQWidget * parent ) if ( result ) { if ( !globalPrinterDefaults ) { globalPrinterDefaults = new PrinterDefaults; - qAddPostRoutine( deleteGlobalPrinterDefaults ); + tqAddPostRoutine( deleteGlobalPrinterDefaults ); } globalPrinterDefaults->printerName = printerName(); globalPrinterDefaults->outputToFile = outputToFile(); @@ -331,7 +331,7 @@ bool TQPrinter::cmd( int c, TQPainter *paint, TQPDevCmdParam *p ) TQApplication::flushX(); int fds[2]; if ( pipe( fds ) != 0 ) { - qWarning( "TQPSPrinter: could not open pipe to print" ); + tqWarning( "TQPSPrinter: could not open pipe to print" ); state = PST_ERROR; return FALSE; } @@ -587,7 +587,7 @@ int TQPrinter::metric( int m ) const default: val = 0; #if defined(QT_CHECK_RANGE) - qWarning( "TQPixmap::metric: Invalid metric command" ); + tqWarning( "TQPixmap::metric: Invalid metric command" ); #endif } return val; -- cgit v1.2.1