summaryrefslogtreecommitdiffstats
path: root/libkcddb/asynccddbplookup.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /libkcddb/asynccddbplookup.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-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/asynccddbplookup.cpp')
-rw-r--r--libkcddb/asynccddbplookup.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkcddb/asynccddbplookup.cpp b/libkcddb/asynccddbplookup.cpp
index 27454298..d2584adf 100644
--- a/libkcddb/asynccddbplookup.cpp
+++ b/libkcddb/asynccddbplookup.cpp
@@ -39,21 +39,21 @@ namespace KCDDB
CDDB::Result
AsyncCDDBPLookup::lookup
(
- const QString & hostname,
+ const TQString & hostname,
uint port,
const TrackOffsetList & trackOffsetList
)
{
- socket_ = new KNetwork::KBufferedSocket(hostname,QString::number(port));
+ socket_ = new KNetwork::KBufferedSocket(hostname,TQString::number(port));
socket_->setBlocking( false );
- connect (socket_, SIGNAL(gotError(int)), SLOT(slotGotError(int)));
+ connect (socket_, TQT_SIGNAL(gotError(int)), TQT_SLOT(slotGotError(int)));
- connect (socket_, SIGNAL( connected(const KResolverEntry &) ),
- SLOT( slotConnectionSuccess() ) );
+ connect (socket_, TQT_SIGNAL( connected(const KResolverEntry &) ),
+ TQT_SLOT( slotConnectionSuccess() ) );
- connect (socket_, SIGNAL( readyRead() ), SLOT( slotReadyRead() ) );
+ connect (socket_, TQT_SIGNAL( readyRead() ), TQT_SLOT( slotReadyRead() ) );
if ( trackOffsetList.count() < 3 )
return UnknownError;
@@ -62,7 +62,7 @@ namespace KCDDB
state_ = WaitingForConnection;
- if ( !socket_->connect(hostname, QString::number(port)) )
+ if ( !socket_->connect(hostname, TQString::number(port)) )
{
state_ = Idle;
emit finished( NoResponse );
@@ -164,7 +164,7 @@ namespace KCDDB
case WaitingForMoreMatches:
{
- QString line = readLine();
+ TQString line = readLine();
if (line.startsWith("."))
requestCDInfoForMatch();
@@ -192,7 +192,7 @@ namespace KCDDB
case WaitingForCDInfoData:
{
- QString line = readLine();
+ TQString line = readLine();
if (line.startsWith("."))
{
@@ -227,7 +227,7 @@ namespace KCDDB
QString
AsyncCDDBPLookup::readLine()
{
- return QString::fromUtf8(socket_->readLine());
+ return TQString::fromUtf8(socket_->readLine());
}
void