From 36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 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/kdewebdev@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/parsers/parsercommon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'quanta/parsers/parsercommon.cpp') diff --git a/quanta/parsers/parsercommon.cpp b/quanta/parsers/parsercommon.cpp index 469bedd6..860b46e0 100644 --- a/quanta/parsers/parsercommon.cpp +++ b/quanta/parsers/parsercommon.cpp @@ -169,7 +169,7 @@ Node* createScriptTagNode(Document *write, const AreaStruct &area, const TQStrin tag->setTagPosition(area); tag->setStr(areaName); tag->setWrite(write); - const DTDStruct *d = DTDs::ref()->tqfind(dtd->specialAreaNames[areaName]); + const DTDStruct *d = DTDs::ref()->find(dtd->specialAreaNames[areaName]); if (d) tag->setDtd(d); else @@ -216,9 +216,9 @@ void coutTree(Node *node, int indent) node->tag->beginPos(bLine, bCol); node->tag->endPos(eLine, eCol); if (node->tag->type != Tag::Text) - output += node->tag->name.tqreplace('\n'," "); + output += node->tag->name.replace('\n'," "); else - output+= node->tag->tagStr().tqreplace('\n'," "); + output+= node->tag->tagStr().replace('\n'," "); kdDebug(24000) << output <<" (" << node->tag->type << ") at pos " << bLine << ":" << bCol << " - " << eLine << ":" << eCol << " This: "<< node << " Parent: " << node->tqparent << " Prev: " << node->prev << " Next: " << node->next << " Child: " << node->child << " Tag:" << node->tag << endl; /* for(j = 0; j < node->tag->attrCount(); j++) -- cgit v1.2.3