summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qprintdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/qprintdialog.cpp')
-rw-r--r--src/dialogs/qprintdialog.cpp8
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 {