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.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/rssfeed/rsslinkdownloader.cpp b/plugins/rssfeed/rsslinkdownloader.cpp
index 4c11bb9..972a220 100644
--- a/plugins/rssfeed/rsslinkdownloader.cpp
+++ b/plugins/rssfeed/rsslinkdownloader.cpp
@@ -42,7 +42,7 @@ namespace kt
if (!KURL(link).isValid())
{
// no valid URL, so just display an error message
- KMessageBox::error(0,i18n("Failed to find and download a valid torrent for %1").arg(curLink));
+ KMessageBox::error(0,i18n("Failed to find and download a valid torrent for %1").tqarg(curLink));
TQTimer::singleShot(50,this,TQT_SLOT(suicide()));
}
else
@@ -59,10 +59,10 @@ namespace kt
}
- void RssLinkDownloader::processLink(KIO::Job* jobStatus)
+ void RssLinkDownloader::processLink(KIO::Job* jobtqStatus)
{
- if (!jobStatus->error())
+ if (!jobtqStatus->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.capturedTexts()[0].find(hrefText);
+ hrefTags.tqcapturedTexts()[0].find(hrefText);
//lets get the captured
TQString hrefLink = hrefText.capturedTexts()[1];
- if (hrefLink.startsWith("/"))
+ if (hrefLink.tqstartsWith("/"))
{
hrefLink = url.protocol() + "://" + url.host() + hrefLink;
}
- else if (!hrefLink.startsWith("http://", false))
+ else if (!hrefLink.tqstartsWith("http://", false))
{
hrefLink = url.url().left(url.url().findRev("/")+1) + hrefLink;
}
@@ -180,7 +180,7 @@ namespace kt
else
{
//failed to download a selected article from a feed
- KMessageBox::error(0,i18n("Failed to find and download a valid torrent for %1").arg(curLink));
+ KMessageBox::error(0,i18n("Failed to find and download a valid torrent for %1").tqarg(curLink));
}
deleteLater();
}