diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
commit | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch) | |
tree | 89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /akregator/src/tagset.cpp | |
parent | 1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff) | |
download | tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'akregator/src/tagset.cpp')
-rw-r--r-- | akregator/src/tagset.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/akregator/src/tagset.cpp b/akregator/src/tagset.cpp index fd1cd42f0..66fb70aad 100644 --- a/akregator/src/tagset.cpp +++ b/akregator/src/tagset.cpp @@ -99,21 +99,21 @@ void TagSet::readFromXML(const TQDomDocument& doc) if (root.isNull()) return; - TQDomNodeList list = root.elementsByTagName(TQString::tqfromLatin1("tag")); + TQDomNodeList list = root.elementsByTagName(TQString::fromLatin1("tag")); for (uint i = 0; i < list.length(); ++i) { TQDomElement e = list.item(i).toElement(); if (!e.isNull()) { - if (e.hasAttribute(TQString::tqfromLatin1("id"))) + if (e.hasAttribute(TQString::fromLatin1("id"))) { - TQString id = e.attribute(TQString::tqfromLatin1("id")); + TQString id = e.attribute(TQString::fromLatin1("id")); TQString name = e.text(); - TQString scheme = e.attribute(TQString::tqfromLatin1("scheme")); + TQString scheme = e.attribute(TQString::fromLatin1("scheme")); Tag tag(id, name, scheme); - TQString icon = e.attribute(TQString::tqfromLatin1("icon")); + TQString icon = e.attribute(TQString::fromLatin1("icon")); if (!icon.isEmpty()) tag.setIcon(icon); @@ -145,11 +145,11 @@ TQDomDocument TagSet::toXML() const TQDomElement tn = doc.createElement("tag"); TQDomText text = doc.createTextNode((*it).name()); - tn.setAttribute(TQString::tqfromLatin1("id"),(*it).id()); + tn.setAttribute(TQString::fromLatin1("id"),(*it).id()); if (!(*it).scheme().isEmpty()) - tn.setAttribute(TQString::tqfromLatin1("scheme"),(*it).scheme()); + tn.setAttribute(TQString::fromLatin1("scheme"),(*it).scheme()); if (!(*it).icon().isEmpty()) - tn.setAttribute(TQString::tqfromLatin1("icon"),(*it).icon()); + tn.setAttribute(TQString::fromLatin1("icon"),(*it).icon()); tn.appendChild(text); root.appendChild(tn); } |