summaryrefslogtreecommitdiffstats
path: root/noatun/library/downloader.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /noatun/library/downloader.cpp
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/library/downloader.cpp')
-rw-r--r--noatun/library/downloader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun/library/downloader.cpp b/noatun/library/downloader.cpp
index cce6e4d9..d607ca6d 100644
--- a/noatun/library/downloader.cpp
+++ b/noatun/library/downloader.cpp
@@ -65,8 +65,8 @@ void DownloadItem::dequeue()
-Downloader::Downloader(TQObject *parent)
- : TQObject(parent), localfile(0), current(0), mJob(0), mTimeout(0)
+Downloader::Downloader(TQObject *tqparent)
+ : TQObject(tqparent), localfile(0), current(0), mJob(0), mTimeout(0)
{
mStarted=false;
mUnstartedQueue=new TQPtrList<Downloader::QueueItem>;
@@ -105,7 +105,7 @@ static TQString nonExistantFile(const TQString &file)
{
i++;
f=file;
- f.insert(f.findRev('.'), '_'+TQString::number(i));
+ f.insert(f.tqfindRev('.'), '_'+TQString::number(i));
}
return f;
}
@@ -175,7 +175,7 @@ void Downloader::getNext()
if (mQueue.isEmpty()) return;
current=mQueue.take(0);
- // open the QFile
+ // open the TQFile
localfile=new TQFile(current->local);
localfile->open(IO_ReadWrite | IO_Append);