diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/lpr/printcapentry.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/lpr/printcapentry.cpp')
-rw-r--r-- | kdeprint/lpr/printcapentry.cpp | 8 |
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; |