summaryrefslogtreecommitdiffstats
path: root/kdeprint/lpr/printcapentry.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 02:40:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 02:40:35 +0000
commitbab40890696ec68c337dc290880423a0602b83c7 (patch)
tree6ba03f720b1fa88235ba339e7aedb4455430357e /kdeprint/lpr/printcapentry.h
parentf7e71d47719ab6094cf4a9fafffa5ea351973522 (diff)
downloadtdelibs-bab40890696ec68c337dc290880423a0602b83c7.tar.gz
tdelibs-bab40890696ec68c337dc290880423a0602b83c7.zip
Finished remaining porting to new TQt API
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214736 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/lpr/printcapentry.h')
-rw-r--r--kdeprint/lpr/printcapentry.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeprint/lpr/printcapentry.h b/kdeprint/lpr/printcapentry.h
index 15adafddd..e1c785760 100644
--- a/kdeprint/lpr/printcapentry.h
+++ b/kdeprint/lpr/printcapentry.h
@@ -52,8 +52,8 @@ public:
TQString toString() const;
Type type;
- QString name;
- QString value;
+ TQString name;
+ TQString value;
};
/**
@@ -66,13 +66,13 @@ public:
class PrintcapEntry
{
public:
- QString name;
- QStringList aliases;
- QString comment;
+ TQString name;
+ TQStringList aliases;
+ TQString comment;
TQMap<TQString,Field> fields;
- QString postcomment;
+ TQString postcomment;
- bool has(const TQString& f) const { return fields.contains(f); }
+ bool has(const TQString& f) const { return fields.tqcontains(f); }
TQString field(const TQString& f) const { return fields[f].value; }
bool writeEntry(TQTextStream&);
void addField(const TQString& name, Field::Type type = Field::Boolean, const TQString& value = TQString::null);