summaryrefslogtreecommitdiffstats
path: root/tdeprint/kmmanager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:13 -0600
commit56160bf4dfe503631ef6373367b281f081bab2b4 (patch)
tree7fcea2ffd9c3420af999c3dcad0ed032eef93956 /tdeprint/kmmanager.cpp
parent13281e2856a2ef43bbab78c5528470309c23aa77 (diff)
downloadtdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.tar.gz
tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
Diffstat (limited to 'tdeprint/kmmanager.cpp')
-rw-r--r--tdeprint/kmmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/kmmanager.cpp b/tdeprint/kmmanager.cpp
index 3316244de..01ca0dc77 100644
--- a/tdeprint/kmmanager.cpp
+++ b/tdeprint/kmmanager.cpp
@@ -253,7 +253,7 @@ TQPtrList<KMPrinter>* KMManager::printerList(bool reload)
// remove discarded printers
for (uint i=0; i<m_printers.count(); i++)
{
- KMPrinter *prt = m_printers.at(i);
+ KMPrinter *prt = m_printers.tqat(i);
if (prt->isDiscarded())
{
m_printers.remove(i);
@@ -268,7 +268,7 @@ TQPtrList<KMPrinter>* KMManager::printerList(bool reload)
// - use the PRINTER variable
if (!softDefault())
{
- KMPrinter *defprinter = findPrinter(TQString::fromLatin1(getenv("PRINTER")));
+ KMPrinter *defprinter = findPrinter(TQString::tqfromLatin1(getenv("PRINTER")));
if (defprinter)
setSoftDefault(defprinter);
}
@@ -475,7 +475,7 @@ TQStringList KMManager::detectLocalPrinters()
{
TQStringList list;
for (int i=0; i<3; i++)
- list << TQString() << TQString::fromLatin1("parallel:/dev/lp%1").arg(i) << i18n("Parallel Port #%1").arg(i+1) << TQString();
+ list << TQString() << TQString::tqfromLatin1("parallel:/dev/lp%1").arg(i) << i18n("Parallel Port #%1").arg(i+1) << TQString();
return list;
}