summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabberresourcepool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/jabberresourcepool.cpp')
-rw-r--r--kopete/protocols/jabber/jabberresourcepool.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kopete/protocols/jabber/jabberresourcepool.cpp b/kopete/protocols/jabber/jabberresourcepool.cpp
index 9d953ce6..19492790 100644
--- a/kopete/protocols/jabber/jabberresourcepool.cpp
+++ b/kopete/protocols/jabber/jabberresourcepool.cpp
@@ -16,7 +16,7 @@
* *************************************************************************
*/
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include <kdebug.h>
#include "jabberresourcepool.h"
@@ -44,8 +44,8 @@ public:
pool.setAutoDelete(true);
}
- QPtrList<JabberResource> pool;
- QPtrList<JabberResource> lockList;
+ TQPtrList<JabberResource> pool;
+ TQPtrList<JabberResource> lockList;
/**
* Pointer to the JabberAccount instance.
@@ -62,7 +62,7 @@ JabberResourcePool::~JabberResourcePool ()
delete d;
}
-void JabberResourcePool::slotResourceDestroyed (QObject *sender)
+void JabberResourcePool::slotResourceDestroyed (TQObject *sender)
{
kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << "Resource has been destroyed, collecting the pieces." << endl;
@@ -74,7 +74,7 @@ void JabberResourcePool::slotResourceDestroyed (QObject *sender)
void JabberResourcePool::slotResourceUpdated ( JabberResource *resource )
{
- QPtrList<JabberBaseContact> list = d->account->contactPool()->findRelevantSources ( resource->jid () );
+ TQPtrList<JabberBaseContact> list = d->account->contactPool()->findRelevantSources ( resource->jid () );
for(JabberBaseContact *mContact = list.first (); mContact; mContact = list.next ())
{
@@ -91,7 +91,7 @@ void JabberResourcePool::slotResourceUpdated ( JabberResource *resource )
void JabberResourcePool::notifyRelevantContacts ( const XMPP::Jid &jid )
{
- QPtrList<JabberBaseContact> list = d->account->contactPool()->findRelevantSources ( jid );
+ TQPtrList<JabberBaseContact> list = d->account->contactPool()->findRelevantSources ( jid );
for(JabberBaseContact *mContact = list.first (); mContact; mContact = list.next ())
{
@@ -133,8 +133,8 @@ void JabberResourcePool::addResource ( const XMPP::Jid &jid, const XMPP::Resourc
// create new resource instance and add it to the dictionary
JabberResource *newResource = new JabberResource(d->account, jid, resource);
- connect ( newResource, SIGNAL ( destroyed (QObject *) ), this, SLOT ( slotResourceDestroyed (QObject *) ) );
- connect ( newResource, SIGNAL ( updated (JabberResource *) ), this, SLOT ( slotResourceUpdated (JabberResource *) ) );
+ connect ( newResource, TQT_SIGNAL ( destroyed (TQObject *) ), this, TQT_SLOT ( slotResourceDestroyed (TQObject *) ) );
+ connect ( newResource, TQT_SIGNAL ( updated (JabberResource *) ), this, TQT_SLOT ( slotResourceUpdated (JabberResource *) ) );
d->pool.append ( newResource );
// send notifications out to the relevant contacts that
@@ -189,7 +189,7 @@ void JabberResourcePool::clear ()
* and then notify all JIDs after the resources have been deleted.
*/
- QStringList jidList;
+ TQStringList jidList;
for ( JabberResource *mResource = d->pool.first (); mResource; mResource = d->pool.next () )
{
@@ -206,7 +206,7 @@ void JabberResourcePool::clear ()
* Now go through the list of JIDs and notify each contact
* of its status change
*/
- for ( QStringList::Iterator it = jidList.begin (); it != jidList.end (); ++it )
+ for ( TQStringList::Iterator it = jidList.begin (); it != jidList.end (); ++it )
{
notifyRelevantContacts ( XMPP::Jid ( *it ) );
}