summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/liboscar/connection.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/connection.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/protocols/oscar/liboscar/connection.cpp b/kopete/protocols/oscar/liboscar/connection.cpp
index c7cbc0fe..a4bc4877 100644
--- a/kopete/protocols/oscar/liboscar/connection.cpp
+++ b/kopete/protocols/oscar/liboscar/connection.cpp
@@ -38,7 +38,7 @@ public:
DWORD snacSequence;
WORD flapSequence;
- QValueList<int> familyList;
+ TQValueList<int> familyList;
RateClassManager* rateClassManager;
ClientStream* clientStream;
@@ -51,7 +51,7 @@ public:
Connection::Connection( Connector* connector, ClientStream* cs, const char* name )
-: QObject( 0, name )
+: TQObject( 0, name )
{
d = new ConnectionPrivate();
d->clientStream = cs;
@@ -77,14 +77,14 @@ Connection::~Connection()
void Connection::setClient( Client* c )
{
d->client = c;
- connect( c, SIGNAL( loggedIn() ), this, SLOT( loggedIn() ) );
+ connect( c, TQT_SIGNAL( loggedIn() ), this, TQT_SLOT( loggedIn() ) );
}
-void Connection::connectToServer( const QString& host, bool auth )
+void Connection::connectToServer( const TQString& host, bool auth )
{
- connect( d->clientStream, SIGNAL( error( int ) ), this, SLOT( streamSocketError( int ) ) );
- connect( d->clientStream, SIGNAL( readyRead() ), this, SLOT( streamReadyRead() ) );
- connect( d->clientStream, SIGNAL( connected() ), this, SIGNAL( connected() ) );
+ connect( d->clientStream, TQT_SIGNAL( error( int ) ), this, TQT_SLOT( streamSocketError( int ) ) );
+ connect( d->clientStream, TQT_SIGNAL( readyRead() ), this, TQT_SLOT( streamReadyRead() ) );
+ connect( d->clientStream, TQT_SIGNAL( connected() ), this, TQT_SIGNAL( connected() ) );
d->clientStream->connectToServer( host, auth );
}
@@ -99,12 +99,12 @@ bool Connection::isSupported( int family ) const
return ( d->familyList.findIndex( family ) != -1 );
}
-QValueList<int> Connection::supportedFamilies() const
+TQValueList<int> Connection::supportedFamilies() const
{
return d->familyList;
}
-void Connection::addToSupportedFamilies( const QValueList<int>& familyList )
+void Connection::addToSupportedFamilies( const TQValueList<int>& familyList )
{
d->familyList += familyList;
}
@@ -144,12 +144,12 @@ Q_UINT32 Connection::snacSequence()
return d->snacSequence;
}
-QString Connection::userId() const
+TQString Connection::userId() const
{
return d->client->userId();
}
-QString Connection::password() const
+TQString Connection::password() const
{
return d->client->password();
}