summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabberresource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/jabberresource.cpp')
-rw-r--r--kopete/protocols/jabber/jabberresource.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/protocols/jabber/jabberresource.cpp b/kopete/protocols/jabber/jabberresource.cpp
index e74a0fa9..04b7d9f3 100644
--- a/kopete/protocols/jabber/jabberresource.cpp
+++ b/kopete/protocols/jabber/jabberresource.cpp
@@ -19,7 +19,7 @@
#include "jabberresource.h"
// Qt includes
-#include <qtimer.h>
+#include <tqtimer.h>
// KDE includes
#include <kdebug.h>
@@ -47,7 +47,7 @@ public:
XMPP::Jid jid;
XMPP::Resource resource;
- QString clientName, clientSystem;
+ TQString clientName, clientSystem;
XMPP::Features supportedFeatures;
bool capsEnabled;
};
@@ -59,10 +59,10 @@ JabberResource::JabberResource ( JabberAccount *account, const XMPP::Jid &jid, c
if ( account->isConnected () )
{
- QTimer::singleShot ( account->client()->getPenaltyTime () * 1000, this, SLOT ( slotGetTimedClientVersion () ) );
+ TQTimer::singleShot ( account->client()->getPenaltyTime () * 1000, this, TQT_SLOT ( slotGetTimedClientVersion () ) );
if(!d->capsEnabled)
{
- QTimer::singleShot ( account->client()->getPenaltyTime () * 1000, this, SLOT ( slotGetDiscoCapabilties () ) );
+ TQTimer::singleShot ( account->client()->getPenaltyTime () * 1000, this, TQT_SLOT ( slotGetDiscoCapabilties () ) );
}
}
}
@@ -92,12 +92,12 @@ void JabberResource::setResource ( const XMPP::Resource &resource )
emit updated( this );
}
-const QString &JabberResource::clientName () const
+const TQString &JabberResource::clientName () const
{
return d->clientName;
}
-const QString &JabberResource::clientSystem () const
+const TQString &JabberResource::clientSystem () const
{
return d->clientSystem;
}
@@ -123,7 +123,7 @@ void JabberResource::slotGetTimedClientVersion ()
// request client version
XMPP::JT_ClientVersion *task = new XMPP::JT_ClientVersion ( d->account->client()->rootTask () );
// signal to ourselves when the vCard data arrived
- QObject::connect ( task, SIGNAL ( finished () ), this, SLOT ( slotGotClientVersion () ) );
+ TQObject::connect ( task, TQT_SIGNAL ( finished () ), this, TQT_SLOT ( slotGotClientVersion () ) );
task->get ( d->jid );
task->go ( true );
}
@@ -150,7 +150,7 @@ void JabberResource:: slotGetDiscoCapabilties ()
XMPP:: JT_DiscoInfo *task = new XMPP::JT_DiscoInfo ( d->account->client()->rootTask () );
// Retrive features when service discovery is done.
- QObject::connect ( task, SIGNAL ( finished () ), this, SLOT (slotGotDiscoCapabilities () ) );
+ TQObject::connect ( task, TQT_SIGNAL ( finished () ), this, TQT_SLOT (slotGotDiscoCapabilities () ) );
task->get ( d->jid);
task->go ( true );
}