summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/ssilisttask.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/oscar/liboscar/ssilisttask.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/oscar/liboscar/ssilisttask.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/ssilisttask.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/oscar/liboscar/ssilisttask.cpp b/kopete/protocols/oscar/liboscar/ssilisttask.cpp
index fe2a981d..d52f7f4e 100644
--- a/kopete/protocols/oscar/liboscar/ssilisttask.cpp
+++ b/kopete/protocols/oscar/liboscar/ssilisttask.cpp
@@ -26,9 +26,9 @@
SSIListTask::SSIListTask( Task* parent ) : Task( parent )
{
m_ssiManager = client()->ssiManager();
- QObject::connect( this, SIGNAL( newContact( const Oscar::SSI& ) ), m_ssiManager, SLOT( newContact( const Oscar::SSI& ) ) );
- QObject::connect( this, SIGNAL( newGroup( const Oscar::SSI& ) ), m_ssiManager, SLOT( newGroup( const Oscar::SSI& ) ) );
- QObject::connect( this, SIGNAL( newItem( const Oscar::SSI& ) ), m_ssiManager, SLOT( newItem( const Oscar::SSI& ) ) );
+ TQObject::connect( this, TQT_SIGNAL( newContact( const Oscar::SSI& ) ), m_ssiManager, TQT_SLOT( newContact( const Oscar::SSI& ) ) );
+ TQObject::connect( this, TQT_SIGNAL( newGroup( const Oscar::SSI& ) ), m_ssiManager, TQT_SLOT( newGroup( const Oscar::SSI& ) ) );
+ TQObject::connect( this, TQT_SIGNAL( newItem( const Oscar::SSI& ) ), m_ssiManager, TQT_SLOT( newItem( const Oscar::SSI& ) ) );
}
@@ -87,7 +87,7 @@ void SSIListTask::onGo()
void SSIListTask::handleSSIListReply()
{
- QValueList<TLV> tlvList;
+ TQValueList<TLV> tlvList;
Buffer* buffer = transfer()->buffer();
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "SSI Protocol version: " << buffer->getByte() << endl;
@@ -98,7 +98,7 @@ void SSIListTask::handleSSIListReply()
{
tlvList.clear();
WORD strlength = buffer->getWord();
- QString itemName = QString::fromUtf8( buffer->getBlock( strlength ), strlength );
+ TQString itemName = TQString::fromUtf8( buffer->getBlock( strlength ), strlength );
WORD groupId = buffer->getWord();
WORD itemId = buffer->getWord();
WORD itemType = buffer->getWord();
@@ -136,7 +136,7 @@ void SSIListTask::handleSSIListReply()
{
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "SSI List complete" << endl;
client()->ssiManager()->setListComplete( true );
- setSuccess( 0, QString::null );
+ setSuccess( 0, TQString::null );
}
else
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Awaiting another SSI packet" << endl;
@@ -154,7 +154,7 @@ void SSIListTask::handleSSIUpToDate()
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Number of items in SSI list: " << ssiItems << endl;
client()->ssiManager()->setListComplete( true );
- setSuccess( 0, QString::null );
+ setSuccess( 0, TQString::null );
}
void SSIListTask::checkSSITimestamp()