summaryrefslogtreecommitdiffstats
path: root/tdeprint/lpr
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:03:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:29:31 +0900
commit4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch)
tree6aa583e34395f4d19d4b85f081b31513e5c9c19d /tdeprint/lpr
parent066f257eadc5866386c2cfbdba1a93105cff67ae (diff)
downloadtdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.tar.gz
tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/lpr')
-rw-r--r--tdeprint/lpr/klprprinterimpl.cpp4
-rw-r--r--tdeprint/lpr/klprprinterimpl.h2
-rw-r--r--tdeprint/lpr/lprsettings.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/tdeprint/lpr/klprprinterimpl.cpp b/tdeprint/lpr/klprprinterimpl.cpp
index 4dbe5e378..03a75001a 100644
--- a/tdeprint/lpr/klprprinterimpl.cpp
+++ b/tdeprint/lpr/klprprinterimpl.cpp
@@ -42,7 +42,7 @@ bool KLprPrinterImpl::setupCommand(TQString& cmd, KPrinter *printer)
return false;
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);
+ TQString opts = static_cast<KMLprManager*>(KMManager::self())->printOptions(printer);
if (!opts.isEmpty())
cmd += (" " + opts);
return true;
@@ -53,7 +53,7 @@ void KLprPrinterImpl::broadcastOption(const TQString& key, const TQString& value
KPrinterImpl::broadcastOption(key,value);
if (key == "kde-pagesize")
{
- QString pagename = TQString::fromLatin1(pageSizeToPageName((KPrinter::PageSize)value.toInt()));
+ TQString pagename = TQString::fromLatin1(pageSizeToPageName((KPrinter::PageSize)value.toInt()));
KPrinterImpl::broadcastOption("PageSize",pagename);
}
}
diff --git a/tdeprint/lpr/klprprinterimpl.h b/tdeprint/lpr/klprprinterimpl.h
index 508173f1d..3d3e9a080 100644
--- a/tdeprint/lpr/klprprinterimpl.h
+++ b/tdeprint/lpr/klprprinterimpl.h
@@ -32,7 +32,7 @@ public:
void broadcastOption(const TQString& key, const TQString& value);
private:
- QString m_exepath;
+ TQString m_exepath;
};
#endif
diff --git a/tdeprint/lpr/lprsettings.h b/tdeprint/lpr/lprsettings.h
index 590eafdff..2545993fc 100644
--- a/tdeprint/lpr/lprsettings.h
+++ b/tdeprint/lpr/lprsettings.h
@@ -58,9 +58,9 @@ protected:
private:
static LprSettings* m_self;
Mode m_mode;
- QString m_printcapfile;
+ TQString m_printcapfile;
bool m_local;
- QString m_spooldir;
+ TQString m_spooldir;
TQString m_defaultremotehost;
};