summaryrefslogtreecommitdiffstats
path: root/src/k3bmusicbrainz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/k3bmusicbrainz.cpp')
-rw-r--r--src/k3bmusicbrainz.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/k3bmusicbrainz.cpp b/src/k3bmusicbrainz.cpp
index f0415af..6fd9d9e 100644
--- a/src/k3bmusicbrainz.cpp
+++ b/src/k3bmusicbrainz.cpp
@@ -31,8 +31,8 @@ class K3bMusicBrainz::Private
public:
musicbrainz_t mb;
- QStringList titles;
- QStringList artists;
+ TQStringList titles;
+ TQStringList artists;
};
@@ -51,7 +51,7 @@ K3bMusicBrainz::~K3bMusicBrainz()
}
-int K3bMusicBrainz::query( const QCString& trm )
+int K3bMusicBrainz::query( const TQCString& trm )
{
d->titles.clear();
d->artists.clear();
@@ -69,11 +69,11 @@ int K3bMusicBrainz::query( const QCString& trm )
unsigned int i = 1;
while( mb_Select(d->mb, (char*)MBS_Rewind) && mb_Select1( d->mb, (char*)MBS_SelectTrack, i ) ) {
- QCString data(256);
+ TQCString data(256);
mb_GetResultData( d->mb, (char*)MBE_TrackGetArtistName, data.data(), 256 );
- d->artists.append( QString::fromUtf8( data ).stripWhiteSpace() );
+ d->artists.append( TQString::fromUtf8( data ).stripWhiteSpace() );
mb_GetResultData( d->mb, (char*)MBE_TrackGetTrackName, data.data(), 256 );
- d->titles.append( QString::fromUtf8( data ).stripWhiteSpace() );
+ d->titles.append( TQString::fromUtf8( data ).stripWhiteSpace() );
++i;
}
@@ -89,13 +89,13 @@ int K3bMusicBrainz::query( const QCString& trm )
}
-const QString& K3bMusicBrainz::title( unsigned int i ) const
+const TQString& K3bMusicBrainz::title( unsigned int i ) const
{
return d->titles[i];
}
-const QString& K3bMusicBrainz::artist( unsigned int i ) const
+const TQString& K3bMusicBrainz::artist( unsigned int i ) const
{
return d->artists[i];
}