summaryrefslogtreecommitdiffstats
path: root/khtml/html/htmlparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/html/htmlparser.cpp')
-rw-r--r--khtml/html/htmlparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/khtml/html/htmlparser.cpp b/khtml/html/htmlparser.cpp
index 1fe79f9e0..703186689 100644
--- a/khtml/html/htmlparser.cpp
+++ b/khtml/html/htmlparser.cpp
@@ -242,7 +242,7 @@ void KHTMLParser::parseToken(Token *t)
current->id() != ID_SCRIPT &&
!t->text->containsOnlyWhitespace()) haveContent = true;
#ifdef PARSER_DEBUG
- kdDebug(6035) << "length="<< t->text->l << " text='" << QConstString(t->text->s, t->text->l).string() << "'" << endl;
+ kdDebug(6035) << "length="<< t->text->l << " text='" << TQConstString(t->text->s, t->text->l).string() << "'" << endl;
#endif
}
@@ -346,7 +346,7 @@ bool KHTMLParser::insertNode(NodeImpl *n, bool flat)
n->attach();
if (n->maintainsState()) {
document->registerMaintainsState(n);
- QString state(document->nextState());
+ TQString state(document->nextState());
if (!state.isNull()) n->restoreState(state);
}
n->close();
@@ -1043,7 +1043,7 @@ NodeImpl *KHTMLParser::getElement(Token* t)
KHTMLFactory::defaultHTMLSettings()->isAdFilterEnabled()&&
KHTMLFactory::defaultHTMLSettings()->isHideAdsEnabled())
{
- QString url = doc()->completeURL( khtml::parseURL(t->attrs->getValue(ATTR_SRC)).string() );
+ TQString url = doc()->completeURL( khtml::parseURL(t->attrs->getValue(ATTR_SRC)).string() );
if (KHTMLFactory::defaultHTMLSettings()->isAdFiltered(url))
return 0;
}
@@ -1636,7 +1636,7 @@ void KHTMLParser::popOneBlock(bool delBlock)
if((Elem->node != current)) {
if (current->maintainsState() && document){
document->registerMaintainsState(current);
- QString state(document->nextState());
+ TQString state(document->nextState());
if (!state.isNull()) current->restoreState(state);
}
current->close();