summaryrefslogtreecommitdiffstats
path: root/kdeprint/foomatic/kfoomaticprinterimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/foomatic/kfoomaticprinterimpl.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-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/foomatic/kfoomaticprinterimpl.cpp')
-rw-r--r--kdeprint/foomatic/kfoomaticprinterimpl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeprint/foomatic/kfoomaticprinterimpl.cpp b/kdeprint/foomatic/kfoomaticprinterimpl.cpp
index e476b5581..b72fbd191 100644
--- a/kdeprint/foomatic/kfoomaticprinterimpl.cpp
+++ b/kdeprint/foomatic/kfoomaticprinterimpl.cpp
@@ -23,7 +23,7 @@
#include <kstandarddirs.h>
#include <klocale.h>
-KFoomaticPrinterImpl::KFoomaticPrinterImpl(QObject *parent, const char *name, const QStringList & /*args*/)
+KFoomaticPrinterImpl::KFoomaticPrinterImpl(TQObject *parent, const char *name, const TQStringList & /*args*/)
: KPrinterImpl(parent,name)
{
}
@@ -33,18 +33,18 @@ KFoomaticPrinterImpl::~KFoomaticPrinterImpl()
}
// look for executable
-QString KFoomaticPrinterImpl::executable()
+TQString KFoomaticPrinterImpl::executable()
{
QString exe = KStandardDirs::findExe("foomatic-printjob");
return exe;
}
-bool KFoomaticPrinterImpl::setupCommand(QString& cmd, KPrinter *printer)
+bool KFoomaticPrinterImpl::setupCommand(TQString& cmd, KPrinter *printer)
{
QString exe = executable();
if (!exe.isEmpty())
{
- cmd = exe + QString::fromLatin1(" -P %1 -# %2").arg(quote(printer->printerName())).arg(printer->numCopies());
+ cmd = exe + TQString::fromLatin1(" -P %1 -# %2").arg(quote(printer->printerName())).arg(printer->numCopies());
return true;
}
else