summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 21:05:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 21:05:46 -0600
commite76ee03c0290b07481e45b0e317c911f6e4e7995 (patch)
tree9bfd9c868df8dc32779e3f09fa709af285e891e1 /klinkstatus/src
parent5544d5f4a61929002ff6737e1b002d41eb0a4ba3 (diff)
downloadtdewebdev-e76ee03c0290b07481e45b0e317c911f6e4e7995.tar.gz
tdewebdev-e76ee03c0290b07481e45b0e317c911f6e4e7995.zip
Rename kiobuffer and KHTML
Diffstat (limited to 'klinkstatus/src')
-rw-r--r--klinkstatus/src/engine/Makefile.am2
-rw-r--r--klinkstatus/src/engine/linkchecker.cpp14
-rw-r--r--klinkstatus/src/engine/linkchecker.h4
-rw-r--r--klinkstatus/src/engine/searchmanager.cpp6
-rw-r--r--klinkstatus/src/engine/searchmanager.h10
5 files changed, 18 insertions, 18 deletions
diff --git a/klinkstatus/src/engine/Makefile.am b/klinkstatus/src/engine/Makefile.am
index 1bd3ba88..9114007a 100644
--- a/klinkstatus/src/engine/Makefile.am
+++ b/klinkstatus/src/engine/Makefile.am
@@ -6,4 +6,4 @@ libengine_la_LDFLAGS = $(all_libraries)
noinst_LTLIBRARIES = libengine.la
libengine_la_SOURCES = linkchecker.cpp linkstatus.cpp searchmanager.cpp \
linkfilter.cpp
-libengine_la_LIBADD = $(LIB_KHTML)
+libengine_la_LIBADD = $(LIB_TDEHTML)
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();
diff --git a/klinkstatus/src/engine/linkchecker.h b/klinkstatus/src/engine/linkchecker.h
index 93b9268c..52399377 100644
--- a/klinkstatus/src/engine/linkchecker.h
+++ b/klinkstatus/src/engine/linkchecker.h
@@ -25,7 +25,7 @@
#include <tqstring.h>
#include <tdeio/jobclasses.h>
-class KHTMLPart;
+class TDEHTMLPart;
#include "../parser/http.h"
#include "linkstatus.h"
@@ -52,7 +52,7 @@ public:
LinkStatus const* linkStatus() const;
- static bool hasAnchor(KHTMLPart* html_part, TQString const& anchor);
+ static bool hasAnchor(TDEHTMLPart* html_part, TQString const& anchor);
signals:
diff --git a/klinkstatus/src/engine/searchmanager.cpp b/klinkstatus/src/engine/searchmanager.cpp
index 41596978..698d4c8e 100644
--- a/klinkstatus/src/engine/searchmanager.cpp
+++ b/klinkstatus/src/engine/searchmanager.cpp
@@ -811,7 +811,7 @@ void SearchManager::slotLinkCheckerFinnished(LinkChecker * checker)
checker = 0;
}
-KHTMLPart* SearchManager::htmlPart(TQString const& key_url) const
+TDEHTMLPart* SearchManager::htmlPart(TQString const& key_url) const
{
if(!html_parts_.contains(key_url))
return 0;
@@ -819,7 +819,7 @@ KHTMLPart* SearchManager::htmlPart(TQString const& key_url) const
return html_parts_[key_url];
}
-void SearchManager::addHtmlPart(TQString const& key_url, KHTMLPart* html_part)
+void SearchManager::addHtmlPart(TQString const& key_url, TDEHTMLPart* html_part)
{
Q_ASSERT(!key_url.isEmpty());
Q_ASSERT(html_part);
@@ -833,7 +833,7 @@ void SearchManager::addHtmlPart(TQString const& key_url, KHTMLPart* html_part)
void SearchManager::removeHtmlParts()
{
- KHTMLPartMap::Iterator it;
+ TDEHTMLPartMap::Iterator it;
for(it = html_parts_.begin(); it != html_parts_.end(); ++it)
{
delete it.data();
diff --git a/klinkstatus/src/engine/searchmanager.h b/klinkstatus/src/engine/searchmanager.h
index 45e662e0..e5933905 100644
--- a/klinkstatus/src/engine/searchmanager.h
+++ b/klinkstatus/src/engine/searchmanager.h
@@ -39,7 +39,7 @@ class TQDomElement;
using namespace std;
-typedef TQMap<TQString, KHTMLPart*> KHTMLPartMap;
+typedef TQMap<TQString, TDEHTMLPart*> TDEHTMLPartMap;
class SearchManager: public TQObject
{
@@ -61,10 +61,10 @@ public:
TQString toXML() const;
void save(TQDomElement& element) const;
- KHTMLPartMap const& htmlParts() const { return html_parts_; }
+ TDEHTMLPartMap const& htmlParts() const { return html_parts_; }
- KHTMLPart* htmlPart(TQString const& key_url) const;
- void addHtmlPart(TQString const& key_url, KHTMLPart* html_part);
+ TDEHTMLPart* htmlPart(TQString const& key_url) const;
+ void addHtmlPart(TQString const& key_url, TDEHTMLPart* html_part);
void removeHtmlParts();
void startSearch(KURL const& root);
@@ -186,7 +186,7 @@ private:
uint number_of_level_links_;
uint number_of_links_to_check_;
vector< vector< vector <LinkStatus*> > > search_results_;
- KHTMLPartMap html_parts_;
+ TDEHTMLPartMap html_parts_;
};
#include "searchmanager_impl.h"