diff options
Diffstat (limited to 'ksirc/ksparser.cpp')
-rw-r--r-- | ksirc/ksparser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/ksparser.cpp b/ksirc/ksparser.cpp index cfdf59f5..e2ebf903 100644 --- a/ksirc/ksparser.cpp +++ b/ksirc/ksparser.cpp @@ -141,10 +141,10 @@ TQString KSParser::pushTag(const TQString &tag, const TQString &attributes) { TQString res; m_tags.push(tag); - if (!m_attributes.tqcontains(tag)) + if (!m_attributes.contains(tag)) m_attributes.insert(tag, attributes); else if (!attributes.isEmpty()) - m_attributes.tqreplace(tag, attributes); + m_attributes.replace(tag, attributes); res.append("<" + tag); if (!m_attributes[tag].isEmpty()) res.append(" " + m_attributes[tag]); @@ -153,7 +153,7 @@ TQString KSParser::pushTag(const TQString &tag, const TQString &attributes) TQString KSParser::popTag(const TQString &tag) { - if (!m_tags.tqcontains(tag)) + if (!m_tags.contains(tag)) return TQString(); TQString res; @@ -172,7 +172,7 @@ TQString KSParser::popTag(const TQString &tag) TQString KSParser::toggleTag(const TQString &tag, const TQString &attributes) { - return m_attributes.tqcontains(tag) ? popTag(tag) : pushTag(tag, attributes); + return m_attributes.contains(tag) ? popTag(tag) : pushTag(tag, attributes); } TQString KSParser::popAll() |