diff options
Diffstat (limited to 'src/translators/freedb_util.cpp')
-rw-r--r-- | src/translators/freedb_util.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/translators/freedb_util.cpp b/src/translators/freedb_util.cpp index 6640ef6..07292af 100644 --- a/src/translators/freedb_util.cpp +++ b/src/translators/freedb_util.cpp @@ -129,8 +129,8 @@ namespace { }; } -QValueList<uint> FreeDBImporter::offsetList(const QCString& drive_, QValueList<uint>& trackLengths_) { - QValueList<uint> list; +TQValueList<uint> FreeDBImporter::offsetList(const TQCString& drive_, TQValueList<uint>& trackLengths_) { + TQValueList<uint> list; int drive = ::open(drive_.data(), O_RDONLY | O_NONBLOCK); CloseDrive closer(drive); @@ -235,7 +235,7 @@ ushort from2Byte(uchar* d) { #define SIZE 61 // mostly taken from kover and k3b // licensed under GPL -FreeDBImporter::CDText FreeDBImporter::getCDText(const QCString& drive_) { +FreeDBImporter::CDText FreeDBImporter::getCDText(const TQCString& drive_) { CDText cdtext; #ifdef USE_CDTEXT // only works for linux ATM @@ -337,23 +337,23 @@ FreeDBImporter::CDText FreeDBImporter::getCDText(const QCString& drive_) { data[pos_data] = c; if(track == 0) { if(code == (char)0xFFFFFF80) { - cdtext.title = QString::fromUtf8(data); + cdtext.title = TQString::fromUtf8(data); } else if(code == (char)0xFFFFFF81) { - cdtext.artist = QString::fromUtf8(data); + cdtext.artist = TQString::fromUtf8(data); } else if (code == (char)0xFFFFFF85) { - cdtext.message = QString::fromUtf8(data); + cdtext.message = TQString::fromUtf8(data); } } else { if(code == (char)0xFFFFFF80) { if(cdtext.trackTitles.size() < track) { cdtext.trackTitles.resize(track); } - cdtext.trackTitles[track-1] = QString::fromUtf8(data); + cdtext.trackTitles[track-1] = TQString::fromUtf8(data); } else if(code == (char)0xFFFFFF81) { if(cdtext.trackArtists.size() < track) { cdtext.trackArtists.resize(track); } - cdtext.trackArtists[track-1] = QString::fromUtf8(data); + cdtext.trackArtists[track-1] = TQString::fromUtf8(data); } } rc = true; @@ -365,7 +365,7 @@ FreeDBImporter::CDText FreeDBImporter::getCDText(const QCString& drive_) { } } if(cdtext.trackTitles.size() != cdtext.trackArtists.size()) { - int size = QMAX(cdtext.trackTitles.size(), cdtext.trackArtists.size()); + int size = TQMAX(cdtext.trackTitles.size(), cdtext.trackArtists.size()); cdtext.trackTitles.resize(size); cdtext.trackArtists.resize(size); } |