summaryrefslogtreecommitdiffstats
path: root/noatun/library/noatun/downloader.h
diff options
context:
space:
mode:
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;
};