summaryrefslogtreecommitdiffstats
path: root/kioslave/audiocd/plugins/wav
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 /kioslave/audiocd/plugins/wav
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 '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: