From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/lpr/printcapentry.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kdeprint/lpr/printcapentry.cpp') 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::ConstIterator it=fields.begin(); it!=fields.end(); ++it) + for (TQMap::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; -- cgit v1.2.1