diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
commit | 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch) | |
tree | 6d4d5407c000add30aa78630e009c0e5d633e440 /src/dialogs/qprintdialog.cpp | |
parent | 1740cd279522c060e738bbbffacab83355d2b794 (diff) | |
download | tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip |
Automated conversion from qt3
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 f46d1a5e6..57eb2d0fe 100644 --- a/src/dialogs/qprintdialog.cpp +++ b/src/dialogs/qprintdialog.cpp @@ -404,7 +404,7 @@ static char * parsePrintersConf( TQListView * 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 == TQString::fromLatin1("_all") ) { @@ -807,7 +807,7 @@ static char * parseCupsOutput( TQListView * printers ) perhapsAddPrinter( printers, d[n].name, TQPrintDialog::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 TQPrintDialog::setGlobalPrintDialog( TQPrintDialog *pd ) if ( oldPd ) delete oldPd; else - qAddPostRoutine( qpd_cleanup_globaldialog ); + tqAddPostRoutine( qpd_cleanup_globaldialog ); globalPrintDialog->adjustSize(); } @@ -1375,7 +1375,7 @@ bool TQPrintDialog::getPrinterSetup( TQPrinter * p, TQWidget* w ) #ifndef QT_NO_WIDGET_TOPEXTRA globalPrintDialog->setCaption( TQPrintDialog::tr( "Setup Printer" ) ); #endif - qAddPostRoutine( qpd_cleanup_globaldialog ); + tqAddPostRoutine( qpd_cleanup_globaldialog ); globalPrintDialog->setPrinter( p, TRUE ); globalPrintDialog->adjustSize(); } else { |