summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/rateclassmanager.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/rateclassmanager.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/rateclassmanager.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/rateclassmanager.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kopete/protocols/oscar/liboscar/rateclassmanager.cpp b/kopete/protocols/oscar/liboscar/rateclassmanager.cpp
index 8b306c0b..59ef735e 100644
--- a/kopete/protocols/oscar/liboscar/rateclassmanager.cpp
+++ b/kopete/protocols/oscar/liboscar/rateclassmanager.cpp
@@ -16,7 +16,7 @@
*************************************************************************
*/
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include <kdebug.h>
@@ -30,12 +30,12 @@ class RateClassManagerPrivate
{
public:
//! The list of rate classes owned by this manager
- QValueList<RateClass*> classList;
+ TQValueList<RateClass*> classList;
Connection* client;
};
RateClassManager::RateClassManager( Connection* parent, const char* name )
-: QObject( parent, name )
+: TQObject( parent, name )
{
d = new RateClassManagerPrivate();
d->client = parent;
@@ -49,7 +49,7 @@ RateClassManager::~RateClassManager()
void RateClassManager::reset()
{
- QValueList<RateClass*>::iterator it = d->classList.begin();
+ TQValueList<RateClass*>::iterator it = d->classList.begin();
while ( it != d->classList.end() && d->classList.count() > 0)
{
RateClass* rc = ( *it );
@@ -60,7 +60,7 @@ void RateClassManager::reset()
void RateClassManager::registerClass( RateClass* rc )
{
- QObject::connect( rc, SIGNAL( dataReady( Transfer* ) ), this, SLOT( transferReady( Transfer* ) ) );
+ TQObject::connect( rc, TQT_SIGNAL( dataReady( Transfer* ) ), this, TQT_SLOT( transferReady( Transfer* ) ) );
d->classList.append( rc );
}
@@ -110,7 +110,7 @@ void RateClassManager::queue( Transfer* t )
transferReady( t );
}
-QValueList<RateClass*> RateClassManager::classList() const
+TQValueList<RateClass*> RateClassManager::classList() const
{
return d->classList;
}
@@ -133,8 +133,8 @@ RateClass* RateClassManager::findRateClass( SnacTransfer* st ) const
SNAC s = st->snac();
//kdDebug(OSCAR_RAW_DEBUG) << k_funcinfo << "Looking for SNAC " << s.family << ", " << s.subtype << endl;
RateClass* rc = 0L;
- QValueList<RateClass*>::const_iterator it;
- QValueList<RateClass*>::const_iterator rcEnd = d->classList.constEnd();
+ TQValueList<RateClass*>::const_iterator it;
+ TQValueList<RateClass*>::const_iterator rcEnd = d->classList.constEnd();
for ( it = d->classList.constBegin(); it != rcEnd; ++it )
{
@@ -151,16 +151,16 @@ RateClass* RateClassManager::findRateClass( SnacTransfer* st ) const
void RateClassManager::recalcRateLevels()
{
- QValueList<RateClass*>::iterator it;
- QValueList<RateClass*>::iterator rcEnd = d->classList.end();
+ TQValueList<RateClass*>::iterator it;
+ TQValueList<RateClass*>::iterator rcEnd = d->classList.end();
for ( it = d->classList.begin(); it != rcEnd; ++it )
( *it )->updateRateInfo();
}
int RateClassManager::timeToInitialLevel( SNAC s )
{
- QValueList<RateClass*>::const_iterator it;
- QValueList<RateClass*>::const_iterator rcEnd = d->classList.constEnd();
+ TQValueList<RateClass*>::const_iterator it;
+ TQValueList<RateClass*>::const_iterator rcEnd = d->classList.constEnd();
for ( it = d->classList.constBegin(); it != rcEnd; ++it )
{