From a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:24:30 -0600 Subject: Rename additional global TQt functions --- src/dialogs/qprintdialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dialogs/qprintdialog.cpp') diff --git a/src/dialogs/qprintdialog.cpp b/src/dialogs/qprintdialog.cpp index 3f3e2a1..7c0e015 100644 --- a/src/dialogs/qprintdialog.cpp +++ b/src/dialogs/qprintdialog.cpp @@ -404,7 +404,7 @@ static char * parsePrintersConf( QListView * printers, bool *found = 0 ) j++; // that's our default printer defaultPrinter = - qstrdup( printerDesc.mid( i, j-i ).ascii() ); + tqstrdup( printerDesc.mid( i, j-i ).ascii() ); printerName = ""; printerDesc = ""; } else if ( printerName == QString::fromLatin1("_all") ) { @@ -807,7 +807,7 @@ static char * parseCupsOutput( QListView * printers ) perhapsAddPrinter( printers, d[n].name, QPrintDialog::tr("Unknown Location"), 0 ); if ( d[n].is_default && !defaultPrinter ) - defaultPrinter = qstrdup( d[n].instance ); + defaultPrinter = tqstrdup( d[n].instance ); n++; } } @@ -977,7 +977,7 @@ void QPrintDialog::setGlobalPrintDialog( QPrintDialog *pd ) if ( oldPd ) delete oldPd; else - qAddPostRoutine( qpd_cleanup_globaldialog ); + tqAddPostRoutine( qpd_cleanup_globaldialog ); globalPrintDialog->adjustSize(); } @@ -1375,7 +1375,7 @@ bool QPrintDialog::getPrinterSetup( QPrinter * p, QWidget* w ) #ifndef QT_NO_WIDGET_TOPEXTRA globalPrintDialog->setCaption( QPrintDialog::tr( "Setup Printer" ) ); #endif - qAddPostRoutine( qpd_cleanup_globaldialog ); + tqAddPostRoutine( qpd_cleanup_globaldialog ); globalPrintDialog->setPrinter( p, TRUE ); globalPrintDialog->adjustSize(); } else { -- cgit v1.2.1