summaryrefslogtreecommitdiffstats
path: root/libkcddb/lookup.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /libkcddb/lookup.cpp
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcddb/lookup.cpp')
-rw-r--r--libkcddb/lookup.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkcddb/lookup.cpp b/libkcddb/lookup.cpp
index d7c15956..25c7599e 100644
--- a/libkcddb/lookup.cpp
+++ b/libkcddb/lookup.cpp
@@ -38,19 +38,19 @@ namespace KCDDB
CDDB::Result
Lookup::parseQuery( const TQString & line )
{
- uint serverStatus = statusCode( line );
+ uint servertqStatus = statusCode( line );
- if ( 200 == serverStatus )
+ if ( 200 == servertqStatus )
{
TQStringList tokenList = TQStringList::split( ' ', line );
- matchList_.append( qMakePair( tokenList[ 1 ], tokenList[ 2 ] ) );
+ matchList_.append( tqMakePair( tokenList[ 1 ], tokenList[ 2 ] ) );
return Success;
}
- else if ( ( 211 == serverStatus ) || ( 210 == serverStatus ) )
+ else if ( ( 211 == servertqStatus ) || ( 210 == servertqStatus ) )
{
return MultipleRecordFound;
}
- else if ( 202 == serverStatus )
+ else if ( 202 == servertqStatus )
{
return NoRecordFound;
}
@@ -62,15 +62,15 @@ namespace KCDDB
Lookup::parseExtraMatch( const TQString & line )
{
TQStringList tokenList = TQStringList::split( ' ', line );
- matchList_.append( qMakePair( tokenList[ 0 ], tokenList[ 1 ] ) );
+ matchList_.append( tqMakePair( tokenList[ 0 ], tokenList[ 1 ] ) );
}
CDDB::Result
Lookup::parseRead( const TQString & line )
{
- uint serverStatus = statusCode( line );
+ uint servertqStatus = statusCode( line );
- if ( 210 != serverStatus )
+ if ( 210 != servertqStatus )
return ServerError;
return Success;