summaryrefslogtreecommitdiffstats
path: root/kdeprint/kprinter/printwrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/kprinter/printwrapper.cpp')
-rw-r--r--kdeprint/kprinter/printwrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/kprinter/printwrapper.cpp b/kdeprint/kprinter/printwrapper.cpp
index 25ec75e28..f5e67f96e 100644
--- a/kdeprint/kprinter/printwrapper.cpp
+++ b/kdeprint/kprinter/printwrapper.cpp
@@ -66,7 +66,7 @@ void showmsgdialog(const TQString& msg, int type = 0)
void showmsgconsole(const TQString& msg, int type = 0)
{
- QString errmsg = TQString::tqfromLatin1("%1 : ").arg((type == 0 ? i18n("Print info") : (type == 1 ? i18n("Print warning") : i18n("Print error"))));
+ QString errmsg = TQString::fromLatin1("%1 : ").arg((type == 0 ? i18n("Print info") : (type == 1 ? i18n("Print warning") : i18n("Print error"))));
kdDebug() << errmsg << msg << endl;
}
@@ -237,7 +237,7 @@ void PrintWrapper::slotPrint()
mgr->printerList(false);
if (!printer.isEmpty())
- prt = mgr->tqfindPrinter(printer);
+ prt = mgr->findPrinter(printer);
else
prt = mgr->defaultPrinter();