diff options
Diffstat (limited to 'src/dialogs/qprintdialog.cpp')
-rw-r--r-- | src/dialogs/qprintdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 { |