summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/rateinfotask.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/rateinfotask.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/rateinfotask.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/rateinfotask.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/protocols/oscar/liboscar/rateinfotask.cpp b/kopete/protocols/oscar/liboscar/rateinfotask.cpp
index f19cf792..08002b8a 100644
--- a/kopete/protocols/oscar/liboscar/rateinfotask.cpp
+++ b/kopete/protocols/oscar/liboscar/rateinfotask.cpp
@@ -18,7 +18,7 @@
#include "rateinfotask.h"
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include <kdebug.h>
#include "rateclass.h"
#include "rateclassmanager.h"
@@ -32,7 +32,7 @@ using namespace Oscar;
RateInfoTask::RateInfoTask( Task* parent )
: Task( parent )
{
- connect( this, SIGNAL( gotRateLimits() ), this, SLOT( sendRateInfoAck() ) );
+ connect( this, TQT_SIGNAL( gotRateLimits() ), this, TQT_SLOT( sendRateInfoAck() ) );
}
@@ -80,7 +80,7 @@ void RateInfoTask::sendRateInfoRequest()
void RateInfoTask::handleRateInfoResponse()
{
- QValueList<RateClass*> rates;
+ TQValueList<RateClass*> rates;
Oscar::RateInfo ri;
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "handling rate info response (SNAC 0x01, 0x07)" << endl;
@@ -119,7 +119,7 @@ void RateInfoTask::handleRateInfoResponse()
kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Adding snac members to group " << groupNum << endl;
RateClass* rc = 0L;
- QValueList<RateClass*>::iterator it = rates.begin();
+ TQValueList<RateClass*>::iterator it = rates.begin();
for ( ; it != rates.end(); ++it )
{
if ( ( *it )->id() == groupNum )
@@ -139,8 +139,8 @@ void RateInfoTask::handleRateInfoResponse()
}
}
- QValueList<RateClass*>::iterator it = rates.begin();
- QValueList<RateClass*>::iterator rcEnd = rates.end();
+ TQValueList<RateClass*>::iterator it = rates.begin();
+ TQValueList<RateClass*>::iterator rcEnd = rates.end();
for ( ; it != rcEnd; ++it )
client()->rateManager()->registerClass( ( *it ) );
@@ -154,8 +154,8 @@ void RateInfoTask::sendRateInfoAck()
SNAC s = { 0x0001, 0x0008, 0x0000, client()->snacSequence() };
Buffer* buffer = new Buffer();
- QValueListConstIterator<int> cit = m_rateGroups.begin();
- QValueListConstIterator<int> end = m_rateGroups.end();
+ TQValueListConstIterator<int> cit = m_rateGroups.begin();
+ TQValueListConstIterator<int> end = m_rateGroups.end();
for ( cit = m_rateGroups.begin(); cit != end; ++cit )
{
//kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Adding rate " << (*cit) << " to rate ack" << endl;
@@ -164,7 +164,7 @@ void RateInfoTask::sendRateInfoAck()
Transfer* st = createTransfer( f, s, buffer );
send( st );
- setSuccess( 0, QString::null );
+ setSuccess( 0, TQString::null );
}
#include "rateinfotask.moc"