summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/parser/url.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/parser/url.cpp')
-rw-r--r--klinkstatus/src/parser/url.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/klinkstatus/src/parser/url.cpp b/klinkstatus/src/parser/url.cpp
index 966bd509..164b54a6 100644
--- a/klinkstatus/src/parser/url.cpp
+++ b/klinkstatus/src/parser/url.cpp
@@ -39,13 +39,13 @@ Node::LinkType Url::resolveLinkType(TQString const& url)
return Node::file_href;
else if(findWord(KCharsets::resolveEntities(url), "MAILTO:") != -1)
return Node::mailto;
- else if( (int)url.find(":/") != -1)
+ else if( (int)url.tqfind(":/") != -1)
return Node::href;
else
return Node::relative;
}
-KURL Url::normalizeUrl(TQString const& string_url, LinkStatus const& link_parent, TQString const& document_root)
+KURL Url::normalizeUrl(TQString const& string_url, LinktqStatus const& link_parent, TQString const& document_root)
{
TQString _string_url = string_url.stripWhiteSpace();
@@ -124,7 +124,7 @@ KURL Url::normalizeUrl(TQString const& string_url)
}
}
-bool Url::existUrl(KURL const& url, vector<LinkStatus*> const& v)
+bool Url::existUrl(KURL const& url, vector<LinktqStatus*> const& v)
{
if(url.prettyURL().isEmpty())
return true;
@@ -248,7 +248,7 @@ bool Url::hasProtocol(TQString const& url)
/**
http://linkstatus.paradigma.co.pt/en/index.html&bix=bix -> /en/index.html&bix=bix
*/
-TQString Url::convertToLocal(LinkStatus const* ls)
+TQString Url::convertToLocal(LinktqStatus const* ls)
{
KURL url = ls->absoluteUrl();
KURL base_url = ls->rootUrl();
@@ -294,9 +294,9 @@ bool Url::localDomain(KURL const& url1, KURL const& url2, bool restrict)
}
/**
- Returns true if url2 is a parent of url1.
+ Returns true if url2 is a tqparent of url1.
*/
-bool Url::parentDir(KURL const& url1, KURL const& url2)
+bool Url::tqparentDir(KURL const& url1, KURL const& url2)
{
if(url1.protocol() != url2.protocol())
return false;