summaryrefslogtreecommitdiffstats
path: root/kioslave/audiocd/plugins/flac/encoderflac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/audiocd/plugins/flac/encoderflac.cpp')
-rw-r--r--kioslave/audiocd/plugins/flac/encoderflac.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kioslave/audiocd/plugins/flac/encoderflac.cpp b/kioslave/audiocd/plugins/flac/encoderflac.cpp
index a787984b..86d30a89 100644
--- a/kioslave/audiocd/plugins/flac/encoderflac.cpp
+++ b/kioslave/audiocd/plugins/flac/encoderflac.cpp
@@ -32,7 +32,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 EncoderFLAC(slave));
}
@@ -53,7 +53,7 @@ static FLAC__StreamEncoderWriteStatus WriteCallback(const FLAC__StreamEncoder *e
d->data += bytes;
- QByteArray output;
+ TQByteArray output;
if (bytes) {
output.setRawData((const char*)buffer, bytes);
@@ -153,29 +153,29 @@ long EncoderFLAC::readCleanup()
return 0;
}
-void EncoderFLAC::fillSongInfo( KCDDB::CDInfo info, int track, const QString &comment )
+void EncoderFLAC::fillSongInfo( KCDDB::CDInfo info, int track, const TQString &comment )
{
d->metadata = new FLAC__StreamMetadata*[1];
d->metadata[0] = FLAC__metadata_object_new(FLAC__METADATA_TYPE_VORBIS_COMMENT);
// d->metadata[1] = FLAC__metadata_object_new(FLAC__METADATA_TYPE_PADDING);
// d->metadata[2] = FLAC__metadata_object_new(FLAC__METADATA_TYPE_SEEKTABLE)
- typedef QPair<QString, QVariant> Comment;
+ typedef QPair<TQString, TQVariant> Comment;
Comment comments[7] = { Comment("Title", info.trackInfoList[track].get("title")),
Comment("Artist", info.get("artist")),
Comment("Album", info.get("title")),
Comment("Genre", info.get("genre")),
- Comment("Tracknumber", QString::number(track+1)),
+ Comment("Tracknumber", TQString::number(track+1)),
Comment("Comment", comment),
- Comment("Date", QString::null )};
+ Comment("Date", TQString::null )};
if (info.get("Year").toInt() > 0) {
- QDateTime dt(QDate(info.get("Year").toInt(), 1, 1));
+ TQDateTime dt(TQDate(info.get("Year").toInt(), 1, 1));
comments[6] = Comment("Date", dt.toString(Qt::ISODate));
}
FLAC__StreamMetadata_VorbisComment_Entry entry;
- QString field;
- QCString cfield;
+ TQString field;
+ TQCString cfield;
int num_comments = 0;
for(int i=0; i<7; i++) {