summaryrefslogtreecommitdiffstats
path: root/akregator/src/tagset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/tagset.cpp')
-rw-r--r--akregator/src/tagset.cpp16
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);
}