summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/engine/linkchecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/engine/linkchecker.cpp')
-rw-r--r--klinkstatus/src/engine/linkchecker.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/klinkstatus/src/engine/linkchecker.cpp b/klinkstatus/src/engine/linkchecker.cpp
index 13700c4e..adec81dd 100644
--- a/klinkstatus/src/engine/linkchecker.cpp
+++ b/klinkstatus/src/engine/linkchecker.cpp
@@ -577,12 +577,12 @@ void LinkChecker::checkRef(KURL const& url)
Q_ASSERT(search_manager_);
TQString url_string = url.url();
- KHTMLPart* html_part = search_manager_->htmlPart(url_string);
+ TDEHTMLPart* html_part = search_manager_->htmlPart(url_string);
if(!html_part)
{
- kdDebug() << "new KHTMLPart: " + url_string << endl;
+ kdDebug() << "new TDEHTMLPart: " + url_string << endl;
- html_part = new KHTMLPart();
+ html_part = new TDEHTMLPart();
html_part->setOnlyLocalReferences(true);
TQString tmpFile;
@@ -623,12 +623,12 @@ void LinkChecker::checkRef(LinkStatus const* linkstatus_parent)
Q_ASSERT(search_manager_);
TQString url_string = linkstatus_parent->absoluteUrl().url();
- KHTMLPart* html_part = search_manager_->htmlPart(url_string);
+ TDEHTMLPart* html_part = search_manager_->htmlPart(url_string);
if(!html_part)
{
- kdDebug() << "new KHTMLPart: " + url_string << endl;
+ kdDebug() << "new TDEHTMLPart: " + url_string << endl;
- html_part = new KHTMLPart();
+ html_part = new TDEHTMLPart();
html_part->setOnlyLocalReferences(true);
html_part->begin();
@@ -653,7 +653,7 @@ void LinkChecker::checkRef(LinkStatus const* linkstatus_parent)
finnish();
}
-bool LinkChecker::hasAnchor(KHTMLPart* html_part, TQString const& anchor)
+bool LinkChecker::hasAnchor(TDEHTMLPart* html_part, TQString const& anchor)
{
DOM::HTMLDocument htmlDocument = html_part->htmlDocument();
DOM::HTMLCollection anchors = htmlDocument.anchors();