From 937b2991d8e78166eea904c80ad04d34607017a4 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksirc/ksparser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ksirc/ksparser.cpp') 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() -- cgit v1.2.3