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/foomatic/kfoomaticprinterimpl.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/foomatic/kfoomaticprinterimpl.cpp')
-rw-r--r-- | kdeprint/foomatic/kfoomaticprinterimpl.cpp | 8 |
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 |