summaryrefslogtreecommitdiffstats
path: root/kdeprint/lpr/printcapentry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/lpr/printcapentry.cpp')
-rw-r--r--kdeprint/lpr/printcapentry.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeprint/lpr/printcapentry.cpp b/kdeprint/lpr/printcapentry.cpp
index 0a8d79ce4..419a532a9 100644
--- a/kdeprint/lpr/printcapentry.cpp
+++ b/kdeprint/lpr/printcapentry.cpp
@@ -19,7 +19,7 @@
#include "printcapentry.h"
-QString Field::toString() const
+TQString Field::toString() const
{
QString s = name;
switch (type)
@@ -38,14 +38,14 @@ QString Field::toString() const
return s;
}
-bool PrintcapEntry::writeEntry(QTextStream& t)
+bool PrintcapEntry::writeEntry(TQTextStream& t)
{
t << comment << endl;
t << name;
if (aliases.count() > 0)
t << '|' << aliases.join("|");
t << ':';
- for (QMap<QString,Field>::ConstIterator it=fields.begin(); it!=fields.end(); ++it)
+ for (TQMap<TQString,Field>::ConstIterator it=fields.begin(); it!=fields.end(); ++it)
{
t << '\\' << endl << " :";
t << (*it).name;
@@ -72,7 +72,7 @@ bool PrintcapEntry::writeEntry(QTextStream& t)
return true;
}
-void PrintcapEntry::addField(const QString& name, Field::Type type, const QString& value)
+void PrintcapEntry::addField(const TQString& name, Field::Type type, const TQString& value)
{
Field f;
f.name = name;