summaryrefslogtreecommitdiffstats
path: root/plugins/rssfeed/rsslinkdownloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rssfeed/rsslinkdownloader.cpp')
-rw-r--r--plugins/rssfeed/rsslinkdownloader.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/rssfeed/rsslinkdownloader.cpp b/plugins/rssfeed/rsslinkdownloader.cpp
index 972a220..57db6ee 100644
--- a/plugins/rssfeed/rsslinkdownloader.cpp
+++ b/plugins/rssfeed/rsslinkdownloader.cpp
@@ -59,10 +59,10 @@ namespace kt
}
- void RssLinkDownloader::processLink(KIO::Job* jobtqStatus)
+ void RssLinkDownloader::processLink(KIO::Job* jobStatus)
{
- if (!jobtqStatus->error())
+ if (!jobStatus->error())
{
//the file downloaded ok - so let's check if it's a torrent
KMimeType linkType = *KMimeType::findByContent(curFile->data());
@@ -100,15 +100,15 @@ namespace kt
hrefText = TQString("HREF=\"?([^\">< ]*)[\" ]");
hrefText.setCaseSensitive(false);
- hrefTags.tqcapturedTexts()[0].find(hrefText);
+ hrefTags.capturedTexts()[0].find(hrefText);
//lets get the captured
TQString hrefLink = hrefText.capturedTexts()[1];
- if (hrefLink.tqstartsWith("/"))
+ if (hrefLink.startsWith("/"))
{
hrefLink = url.protocol() + "://" + url.host() + hrefLink;
}
- else if (!hrefLink.tqstartsWith("http://", false))
+ else if (!hrefLink.startsWith("http://", false))
{
hrefLink = url.url().left(url.url().findRev("/")+1) + hrefLink;
}