diff options
Diffstat (limited to 'kopete/protocols/jabber/libiris/iris/xmpp-core/xmlprotocol.cpp')
-rw-r--r-- | kopete/protocols/jabber/libiris/iris/xmpp-core/xmlprotocol.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-core/xmlprotocol.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-core/xmlprotocol.cpp index 5f682371..91111ea9 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-core/xmlprotocol.cpp +++ b/kopete/protocols/jabber/libiris/iris/xmpp-core/xmlprotocol.cpp @@ -98,7 +98,7 @@ static TQString xmlToString(const TQDomElement &e, const TQString &fakeNS, const } // 'clip' means to remove any unwanted (and unneeded) characters, such as a trailing newline if(clip) { - int n = out.tqfindRev('>'); + int n = out.findRev('>'); out.truncate(n+1); } return out; @@ -128,12 +128,12 @@ static void createRootXmlTags(const TQDomElement &root, TQString *xmlHeader, TQS } // parse the tags out - int n = str.tqfind('<'); - int n2 = str.tqfind('>', n); + int n = str.find('<'); + int n2 = str.find('>', n); ++n2; *tagOpen = str.mid(n, n2-n); - n2 = str.tqfindRev('>'); - n = str.tqfindRev('<'); + n2 = str.findRev('>'); + n = str.findRev('<'); ++n2; *tagClose = str.mid(n, n2-n); @@ -329,7 +329,7 @@ TQString XmlProtocol::elementToString(const TQDomElement &e, bool clip) for(n = 0; n < al.count(); ++n) { TQDomAttr a = al.item(n).toAttr(); TQString s = a.name(); - int x = s.tqfind(':'); + int x = s.find(':'); if(x != -1) s = s.mid(x+1); else |