From b1057f437bf65300831a0ccb45b920787c6b318d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 06:00:15 +0000 Subject: 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 --- noatun/library/downloader.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'noatun/library/downloader.cpp') 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; @@ -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); -- cgit v1.2.1