summaryrefslogtreecommitdiffstats
path: root/noatun/library/noatun/downloader.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/library/noatun/downloader.h
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/library/noatun/downloader.h')
-rw-r--r--noatun/library/noatun/downloader.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/noatun/library/noatun/downloader.h b/noatun/library/noatun/downloader.h
index c281a006..624518d0 100644
--- a/noatun/library/noatun/downloader.h
+++ b/noatun/library/noatun/downloader.h
@@ -2,8 +2,8 @@
#define _DOWNLOADER_H
#include <kurl.h>
-#include <qobject.h>
-#include <qptrlist.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
class QFile;
class QTimer;
@@ -31,9 +31,9 @@ public:
/**
* @return the local filename this item will be saved to
**/
- QString localFilename() const;
+ TQString localFilename() const;
- virtual void setLocalFilename(const QString &filename);
+ virtual void setLocalFilename(const TQString &filename);
/**
* Called if this item has been fully downloaded
@@ -57,7 +57,7 @@ public:
void dequeue();
private:
- QString mLocalFilename;
+ TQString mLocalFilename;
};
/**
@@ -70,15 +70,15 @@ Q_OBJECT
{
DownloadItem *notifier;
KURL file;
- QString local;
+ TQString local;
};
public:
- Downloader(QObject *parent=0);
+ Downloader(TQObject *parent=0);
virtual ~Downloader();
public slots:
- QString enqueue(DownloadItem *notifier, const KURL &file);
+ TQString enqueue(DownloadItem *notifier, const KURL &file);
void dequeue(DownloadItem *notifier);
/**
@@ -101,18 +101,18 @@ signals:
private slots:
void getNext();
- void data( KIO::Job *, const QByteArray &data);
+ void data( KIO::Job *, const TQByteArray &data);
void percent( KIO::Job *, unsigned long percent);
void jobDone( KIO::Job *);
void giveUpWithThisDownloadServerIsRunningNT();
private:
- QPtrList<Downloader::QueueItem> mQueue;
- QPtrList<Downloader::QueueItem> *mUnstartedQueue;
- QFile *localfile;
+ TQPtrList<Downloader::QueueItem> mQueue;
+ TQPtrList<Downloader::QueueItem> *mUnstartedQueue;
+ TQFile *localfile;
Downloader::QueueItem *current;
KIO::TransferJob *mJob;
- QTimer *mTimeout;
+ TQTimer *mTimeout;
bool mStarted;
};