summaryrefslogtreecommitdiffstats
path: root/kdeprint/lpr/klprprinterimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/lpr/klprprinterimpl.cpp')
-rw-r--r--kdeprint/lpr/klprprinterimpl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdeprint/lpr/klprprinterimpl.cpp b/kdeprint/lpr/klprprinterimpl.cpp
index f6f416376..1d77b166c 100644
--- a/kdeprint/lpr/klprprinterimpl.cpp
+++ b/kdeprint/lpr/klprprinterimpl.cpp
@@ -22,10 +22,10 @@
#include "kmlprmanager.h"
#include <kstandarddirs.h>
-#include <qfile.h>
+#include <tqfile.h>
#include <stdlib.h>
-KLprPrinterImpl::KLprPrinterImpl(QObject *parent, const char *name, const QStringList & /*args*/)
+KLprPrinterImpl::KLprPrinterImpl(TQObject *parent, const char *name, const TQStringList & /*args*/)
: KPrinterImpl(parent,name)
{
m_exepath = KStandardDirs::findExe("lpr");
@@ -35,25 +35,25 @@ KLprPrinterImpl::~KLprPrinterImpl()
{
}
-bool KLprPrinterImpl::setupCommand(QString& cmd, KPrinter *printer)
+bool KLprPrinterImpl::setupCommand(TQString& cmd, KPrinter *printer)
{
// check printer object
if (!printer || m_exepath.isEmpty())
return false;
- cmd = QString::fromLatin1("%1 -P %1 '-#%1'").arg(m_exepath).arg(quote(printer->printerName())).arg( printer->numCopies() );
+ cmd = TQString::fromLatin1("%1 -P %1 '-#%1'").arg(m_exepath).arg(quote(printer->printerName())).arg( printer->numCopies() );
QString opts = static_cast<KMLprManager*>(KMManager::self())->printOptions(printer);
if (!opts.isEmpty())
cmd += (" " + opts);
return true;
}
-void KLprPrinterImpl::broadcastOption(const QString& key, const QString& value)
+void KLprPrinterImpl::broadcastOption(const TQString& key, const TQString& value)
{
KPrinterImpl::broadcastOption(key,value);
if (key == "kde-pagesize")
{
- QString pagename = QString::fromLatin1(pageSizeToPageName((KPrinter::PageSize)value.toInt()));
+ QString pagename = TQString::fromLatin1(pageSizeToPageName((KPrinter::PageSize)value.toInt()));
KPrinterImpl::broadcastOption("PageSize",pagename);
}
}