summaryrefslogtreecommitdiffstats
path: root/libkcddb/asynccddbplookup.cpp
diff options
context:
space:
mode:
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