From 0254ebaa5e056092461fd585b6851d15faa43035 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/applications/tellico@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/translators/xslthandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/translators/xslthandler.cpp') diff --git a/src/translators/xslthandler.cpp b/src/translators/xslthandler.cpp index bdbe8f2..853f6a6 100644 --- a/src/translators/xslthandler.cpp +++ b/src/translators/xslthandler.cpp @@ -151,8 +151,8 @@ void XSLTHandler::setXSLTDoc(const TQDomDocument& dom_, const TQCString& xsltFil for(uint j = 0; j < childs.count(); ++j) { if(childs.item(j).isProcessingInstruction()) { TQDomProcessingInstruction pi = childs.item(j).toProcessingInstruction(); - if(pi.data().lower().tqcontains(TQString::tqfromLatin1("encoding"))) { - if(!pi.data().lower().tqcontains(TQString::tqfromLatin1("utf-8"))) { + if(pi.data().lower().contains(TQString::tqfromLatin1("encoding"))) { + if(!pi.data().lower().contains(TQString::tqfromLatin1("utf-8"))) { utf8 = false; // } else { // myDebug() << "XSLTHandler::setXSLTDoc() - PI = " << pi.data() << endl; @@ -188,7 +188,7 @@ void XSLTHandler::setXSLTDoc(const TQDomDocument& dom_, const TQCString& xsltFil void XSLTHandler::addStringParam(const TQCString& name_, const TQCString& value_) { TQCString value = value_; - value.tqreplace('\'', "'"); + value.replace('\'', "'"); addParam(name_, TQCString("'") + value + TQCString("'")); } -- cgit v1.2.1