summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/streaming/streaming-job.h
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/plugins/streaming/streaming-job.h')
-rw-r--r--kradio3/plugins/streaming/streaming-job.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/kradio3/plugins/streaming/streaming-job.h b/kradio3/plugins/streaming/streaming-job.h
index b88c32a..d447f42 100644
--- a/kradio3/plugins/streaming/streaming-job.h
+++ b/kradio3/plugins/streaming/streaming-job.h
@@ -26,25 +26,26 @@
#include "../../src/include/soundformat.h"
#include "../../src/include/soundstreamclient_interfaces.h"
-#include <qobject.h>
+#include <tqobject.h>
#include <kio/jobclasses.h>
-class StreamingJob : public QObject
+class StreamingJob : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
StreamingJob();
- StreamingJob(const QString &_URL, const SoundFormat &_SoundFormat, size_t _bufferSize);
+ StreamingJob(const TQString &_URL, const SoundFormat &_SoundFormat, size_t _bufferSize);
StreamingJob(const StreamingJob &c);
virtual ~StreamingJob();
- const QString &getURL() const { return m_URL; }
+ const TQString &getURL() const { return m_URL; }
const SoundFormat &getSoundFormat() const { return m_SoundFormat; }
int getBufferSize() const { return m_BufferSize; }
- void setURL(const QString &);
+ void setURL(const TQString &);
void setSoundFormat(const SoundFormat &);
void setBufferSize(size_t buffer_size);
@@ -64,14 +65,14 @@ public:
protected slots:
- void slotReadData (KIO::Job *job, const QByteArray &data);
- void slotWriteData (KIO::Job *job, QByteArray &data);
+ void slotReadData (KIO::Job *job, const TQByteArray &data);
+ void slotWriteData (KIO::Job *job, TQByteArray &data);
void slotIOJobResult (KIO::Job *job);
signals:
- void logStreamError(const KURL &url, const QString &s);
- void logStreamWarning(const KURL &url, const QString &s);
+ void logStreamError(const KURL &url, const TQString &s);
+ void logStreamWarning(const KURL &url, const TQString &s);
protected:
@@ -79,14 +80,14 @@ protected:
bool startPutJob();
- QString m_URL;
+ TQString m_URL;
SoundFormat m_SoundFormat;
size_t m_BufferSize;
RingBuffer m_Buffer;
unsigned m_OpenCounter;
- Q_UINT64 m_StreamPos;
+ TQ_UINT64 m_StreamPos;
time_t m_StartTime;
size_t m_SkipCount;