diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/html/htmlparser.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/html/htmlparser.cpp')
-rw-r--r-- | khtml/html/htmlparser.cpp | 8 |
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(); |