diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/lpd/klpdprinterimpl.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/lpd/klpdprinterimpl.cpp')
-rw-r--r-- | kdeprint/lpd/klpdprinterimpl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdeprint/lpd/klpdprinterimpl.cpp b/kdeprint/lpd/klpdprinterimpl.cpp index ad8912c47..8a04927e6 100644 --- a/kdeprint/lpd/klpdprinterimpl.cpp +++ b/kdeprint/lpd/klpdprinterimpl.cpp @@ -20,11 +20,11 @@ #include "klpdprinterimpl.h" #include "kprinter.h" -#include <qfile.h> +#include <tqfile.h> #include <kstandarddirs.h> #include <klocale.h> -KLpdPrinterImpl::KLpdPrinterImpl(QObject *parent, const char *name) +KLpdPrinterImpl::KLpdPrinterImpl(TQObject *parent, const char *name) : KPrinterImpl(parent,name) { } @@ -33,12 +33,12 @@ KLpdPrinterImpl::~KLpdPrinterImpl() { } -QString KLpdPrinterImpl::executable() +TQString KLpdPrinterImpl::executable() { return KStandardDirs::findExe("lpr"); } -bool KLpdPrinterImpl::setupCommand(QString& cmd, KPrinter *printer) +bool KLpdPrinterImpl::setupCommand(TQString& cmd, KPrinter *printer) { QString exestr = executable(); if (exestr.isEmpty()) @@ -46,6 +46,6 @@ bool KLpdPrinterImpl::setupCommand(QString& cmd, KPrinter *printer) printer->setErrorMessage(i18n("The <b>%1</b> executable could not be found in your path. Check your installation.").arg("lpr")); return false; } - cmd = QString::fromLatin1("%1 -P %2 '-#%3'").arg(exestr).arg(quote(printer->printerName())).arg(printer->numCopies()); + cmd = TQString::fromLatin1("%1 -P %2 '-#%3'").arg(exestr).arg(quote(printer->printerName())).arg(printer->numCopies()); return true; } |