diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /libkcddb/cddbplookup.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcddb/cddbplookup.cpp')
-rw-r--r-- | libkcddb/cddbplookup.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkcddb/cddbplookup.cpp b/libkcddb/cddbplookup.cpp index b07d7346..cd287b99 100644 --- a/libkcddb/cddbplookup.cpp +++ b/libkcddb/cddbplookup.cpp @@ -39,7 +39,7 @@ namespace KCDDB void CDDBPLookup::sendHandshake() { - QString handshake = QString( "cddb hello %1 %2 %3 %4" ) + TQString handshake = TQString( "cddb hello %1 %2 %3 %4" ) .arg( user_ ) .arg( localHostName_ ) .arg( clientName() ) @@ -57,7 +57,7 @@ namespace KCDDB void CDDBPLookup::sendQuery() { - QString query = QString( "cddb query %1 %2" ) + TQString query = TQString( "cddb query %1 %2" ) .arg( trackOffsetListToId() ) .arg( trackOffsetListToString() ); @@ -68,9 +68,9 @@ namespace KCDDB CDDBPLookup::sendRead( const CDDBMatch & match ) { category_ = match.first; - QString discid = match.second; + TQString discid = match.second; - QString readRequest = QString( "cddb read %1 %2" ) + TQString readRequest = TQString( "cddb read %1 %2" ) .arg( category_ ) .arg( discid ); @@ -94,7 +94,7 @@ namespace KCDDB } Q_LONG - CDDBPLookup::writeLine( const QString & line ) + CDDBPLookup::writeLine( const TQString & line ) { if ( !isConnected() ) { @@ -103,7 +103,7 @@ namespace KCDDB } kdDebug(60010) << "WRITE: [" << line << "]" << endl; - QCString buf = line.utf8(); + TQCString buf = line.utf8(); buf.append( "\n" ); return socket_->writeBlock( buf.data(), buf.length() ); |