summaryrefslogtreecommitdiffstats
path: root/kdeprint/rlpr/kmrlprmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/rlpr/kmrlprmanager.cpp')
-rw-r--r--kdeprint/rlpr/kmrlprmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeprint/rlpr/kmrlprmanager.cpp b/kdeprint/rlpr/kmrlprmanager.cpp
index 3ed7a48cb..f455fd1ff 100644
--- a/kdeprint/rlpr/kmrlprmanager.cpp
+++ b/kdeprint/rlpr/kmrlprmanager.cpp
@@ -59,7 +59,7 @@ bool KMRlprManager::createPrinter(KMPrinter *p)
bool KMRlprManager::removePrinter(KMPrinter *p)
{
- if (m_printers.tqfindRef(p) == -1)
+ if (m_printers.findRef(p) == -1)
setErrorMsg(i18n("Printer not found."));
else
{
@@ -116,7 +116,7 @@ void KMRlprManager::loadPrintersConf(const TQString& filename)
if (w.count() > 4) printer->setLocation(w[4]);
}
printer->setState(KMPrinter::Idle);
- printer->setDevice(TQString::tqfromLatin1("lpd://%1/%2").arg(w[1]).arg(w[2]));
+ printer->setDevice(TQString::fromLatin1("lpd://%1/%2").arg(w[1]).arg(w[2]));
addPrinter(printer);
}