summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/rateclass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/liboscar/rateclass.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/rateclass.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/protocols/oscar/liboscar/rateclass.cpp b/kopete/protocols/oscar/liboscar/rateclass.cpp
index 7fee4239..d035c810 100644
--- a/kopete/protocols/oscar/liboscar/rateclass.cpp
+++ b/kopete/protocols/oscar/liboscar/rateclass.cpp
@@ -16,14 +16,14 @@
*/
#include "rateclass.h"
-#include <qtimer.h>
+#include <tqtimer.h>
#include <kdebug.h>
#include "transfer.h"
using namespace Oscar;
-RateClass::RateClass( QObject* parent )
-: QObject( parent, 0 )
+RateClass::RateClass( TQObject* parent )
+: TQObject( parent, 0 )
{
m_waitingToSend = false;
m_packetTimer.start();
@@ -70,8 +70,8 @@ void RateClass::addMember( WORD family, WORD subtype )
bool RateClass::isMember(const SNAC &s) const
{
- QValueList<SnacPair>::const_iterator it;
- QValueList<SnacPair>::const_iterator spEnd = m_members.constEnd();
+ TQValueList<SnacPair>::const_iterator it;
+ TQValueList<SnacPair>::const_iterator spEnd = m_members.constEnd();
for ( it = m_members.constBegin(); it != spEnd; ++it )
{
if ( ( *it ).family == s.family && ( *it ).subtype == s.subtype )
@@ -83,8 +83,8 @@ bool RateClass::isMember(const SNAC &s) const
bool RateClass::isMember( WORD family, WORD subtype ) const
{
- QValueList<SnacPair>::const_iterator it;
- QValueList<SnacPair>::const_iterator spEnd = m_members.constEnd();
+ TQValueList<SnacPair>::const_iterator it;
+ TQValueList<SnacPair>::const_iterator spEnd = m_members.constEnd();
for ( it = m_members.constBegin(); it != spEnd; ++it )
{
if ( ( *it ).family == family && ( *it ).subtype == subtype )
@@ -194,7 +194,7 @@ void RateClass::setupTimer()
}
else
{
- QTimer::singleShot( ttns, this, SLOT( slotSend() ) ); //or send later
+ TQTimer::singleShot( ttns, this, TQT_SLOT( slotSend() ) ); //or send later
}
}
}
@@ -232,7 +232,7 @@ void RateClass::updateRateInfo()
void RateClass::dumpQueue()
{
- QValueList<Transfer*>::iterator it = m_packetQueue.begin();
+ TQValueList<Transfer*>::iterator it = m_packetQueue.begin();
while ( it != m_packetQueue.end() && m_packetQueue.count() > 0 )
{
Transfer* t = ( *it );