diff options
Diffstat (limited to 'libkcddb/cddb.cpp')
-rw-r--r-- | libkcddb/cddb.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libkcddb/cddb.cpp b/libkcddb/cddb.cpp index f1933cd5..f0ee84e0 100644 --- a/libkcddb/cddb.cpp +++ b/libkcddb/cddb.cpp @@ -19,8 +19,8 @@ Boston, MA 02110-1301, USA. */ -#include <qregexp.h> -#include <qstringlist.h> +#include <tqregexp.h> +#include <tqstringlist.h> #include <kdebug.h> #include <kstringhandler.h> @@ -71,34 +71,34 @@ namespace KCDDB id = ( ( id % 255 ) << 24 ) | ( l << 8 ) | numTracks; - return QString::number( id, 16 ).rightJustify( 8, '0' ); + return TQString::number( id, 16 ).rightJustify( 8, '0' ); } QString CDDB::trackOffsetListToString() { - QString ret; + TQString ret; uint numTracks = trackOffsetList_.count()-2; // Disc start. - ret.append( QString::number( numTracks ) ); + ret.append( TQString::number( numTracks ) ); ret.append( " " ); for ( uint i = 0; i < numTracks; i++ ) { - ret.append( QString::number( trackOffsetList_[ i ] ) ); + ret.append( TQString::number( trackOffsetList_[ i ] ) ); ret.append( " " ); } unsigned int discLengthInSec = ( trackOffsetList_[ numTracks+1 ] ) / 75; - ret.append( QString::number( discLengthInSec ) ); + ret.append( TQString::number( discLengthInSec ) ); return ret; } bool - CDDB::parseGreeting( const QString & line ) + CDDB::parseGreeting( const TQString & line ) { uint serverStatus = statusCode( line ); @@ -121,7 +121,7 @@ namespace KCDDB } bool - CDDB::parseHandshake( const QString & line ) + CDDB::parseHandshake( const TQString & line ) { uint serverStatus = statusCode( line ); @@ -137,9 +137,9 @@ namespace KCDDB } uint - CDDB::statusCode( const QString & line ) + CDDB::statusCode( const TQString & line ) { - QStringList tokenList = QStringList::split( ' ', line ); + TQStringList tokenList = TQStringList::split( ' ', line ); uint serverStatus = tokenList[ 0 ].toUInt(); @@ -147,7 +147,7 @@ namespace KCDDB } /* CDDB::Transport - CDDB::stringToTransport(const QString & s) + CDDB::stringToTransport(const TQString & s) { if ("HTTP" == s ) return HTTP; |