summaryrefslogtreecommitdiffstats
path: root/kioslave/audiocd/plugins/wav
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/audiocd/plugins/wav')
-rw-r--r--kioslave/audiocd/plugins/wav/encodercda.cpp2
-rw-r--r--kioslave/audiocd/plugins/wav/encodercda.h4
-rw-r--r--kioslave/audiocd/plugins/wav/encoderwav.cpp4
-rw-r--r--kioslave/audiocd/plugins/wav/encoderwav.h4
4 files changed, 7 insertions, 7 deletions
diff --git a/kioslave/audiocd/plugins/wav/encodercda.cpp b/kioslave/audiocd/plugins/wav/encodercda.cpp
index 4fb534bd..ef8522d9 100644
--- a/kioslave/audiocd/plugins/wav/encodercda.cpp
+++ b/kioslave/audiocd/plugins/wav/encodercda.cpp
@@ -51,7 +51,7 @@ inline int16_t swap16 (int16_t i)
}
long EncoderCda::read(int16_t * buf, int frames){
- QByteArray output;
+ TQByteArray output;
int16_t i16 = 1;
/* WAV is defined to be little endian, so we need to swap it
on big endian platforms. */
diff --git a/kioslave/audiocd/plugins/wav/encodercda.h b/kioslave/audiocd/plugins/wav/encodercda.h
index 04a946ea..814432b3 100644
--- a/kioslave/audiocd/plugins/wav/encodercda.h
+++ b/kioslave/audiocd/plugins/wav/encodercda.h
@@ -43,10 +43,10 @@ public:
virtual bool init(){ return true; };
virtual void loadSettings(){};
virtual unsigned long size(long time_secs) const;
- virtual QString type() const { return "CDA"; };
+ virtual TQString type() const { return "CDA"; };
virtual const char * mimeType() const;
virtual const char * fileType() const { return "cda"; };
- virtual void fillSongInfo( KCDDB::CDInfo, int, const QString &){};
+ virtual void fillSongInfo( KCDDB::CDInfo, int, const TQString &){};
virtual long readInit(long){ return 0; };
virtual long read(int16_t * buf, int frames);
virtual long readCleanup(){ return 0; };
diff --git a/kioslave/audiocd/plugins/wav/encoderwav.cpp b/kioslave/audiocd/plugins/wav/encoderwav.cpp
index bcf3ba64..8052ce41 100644
--- a/kioslave/audiocd/plugins/wav/encoderwav.cpp
+++ b/kioslave/audiocd/plugins/wav/encoderwav.cpp
@@ -26,7 +26,7 @@
extern "C"
{
- KDE_EXPORT void create_audiocd_encoders(KIO::SlaveBase *slave, QPtrList<AudioCDEncoder> &encoders)
+ KDE_EXPORT void create_audiocd_encoders(KIO::SlaveBase *slave, TQPtrList<AudioCDEncoder> &encoders)
{
encoders.append( new EncoderWav(slave));
encoders.append( new EncoderCda(slave));
@@ -76,7 +76,7 @@ long EncoderWav::readInit(long byteCount){
riffHeader[42] = (byteCount >> 16) & 0xff;
riffHeader[43] = (byteCount >> 24) & 0xff;
- QByteArray output;
+ TQByteArray output;
output.setRawData(riffHeader, 44);
ioslave->data(output);
output.resetRawData(riffHeader, 44);
diff --git a/kioslave/audiocd/plugins/wav/encoderwav.h b/kioslave/audiocd/plugins/wav/encoderwav.h
index 3be07f9c..128faa87 100644
--- a/kioslave/audiocd/plugins/wav/encoderwav.h
+++ b/kioslave/audiocd/plugins/wav/encoderwav.h
@@ -41,10 +41,10 @@ public:
~EncoderWav(){};
virtual bool init(){ return true; };
virtual unsigned long size(long time_secs) const;
- virtual QString type() const { return "Wav"; };
+ virtual TQString type() const { return "Wav"; };
virtual const char * fileType() const { return "wav"; };
virtual const char * mimeType() const;
- virtual void fillSongInfo( KCDDB::CDInfo, int, const QString &){};
+ virtual void fillSongInfo( KCDDB::CDInfo, int, const TQString &){};
virtual long readInit(long size);
private: