From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khtml/html/htmlparser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'khtml/html/htmlparser.cpp') diff --git a/khtml/html/htmlparser.cpp b/khtml/html/htmlparser.cpp index 9da99f4b3..dd4c4344e 100644 --- a/khtml/html/htmlparser.cpp +++ b/khtml/html/htmlparser.cpp @@ -239,7 +239,7 @@ void KHTMLParser::parseToken(Token *t) if(inBody && !skipMode() && current->id() != ID_STYLE && current->id() != ID_TITLE && current->id() != ID_SCRIPT && - !t->text->containsOnlyWhitespace()) haveContent = true; + !t->text->tqcontainsOnlyWhitespace()) haveContent = true; #ifdef PARSER_DEBUG kdDebug(6035) << "length="<< t->text->l << " text='" << TQConstString(t->text->s, t->text->l).string() << "'" << endl; #endif @@ -509,7 +509,7 @@ bool KHTMLParser::insertNode(NodeImpl *n, bool flat) { // Don't try to fit random white-space anywhere TextImpl *t = static_cast(n); - if (t->containsOnlyWhitespace()) + if (t->tqcontainsOnlyWhitespace()) return false; // ignore text inside the following elements. switch(current->id()) @@ -617,7 +617,7 @@ bool KHTMLParser::insertNode(NodeImpl *n, bool flat) break; case ID_TEXT: { TextImpl *t = static_cast(n); - if (t->containsOnlyWhitespace()) + if (t->tqcontainsOnlyWhitespace()) return false; /* Fall through to default */ } @@ -1425,7 +1425,7 @@ void KHTMLParser::handleResidualStyleCloseTagAcrossBlocks(HTMLStackElem* elem) newNode->appendChild(currNode, exceptionCode); currNode = nextNode; - // TODO - To be replaced. + // TODO - To be tqreplaced. // Re-register form elements with currently active form, step 1 will have removed them if (form && currNode && currNode->isGenericFormElement()) { -- cgit v1.2.3