summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabberclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/jabberclient.cpp')
-rw-r--r--kopete/protocols/jabber/jabberclient.cpp96
1 files changed, 48 insertions, 48 deletions
diff --git a/kopete/protocols/jabber/jabberclient.cpp b/kopete/protocols/jabber/jabberclient.cpp
index 0bcdaebd..458ee605 100644
--- a/kopete/protocols/jabber/jabberclient.cpp
+++ b/kopete/protocols/jabber/jabberclient.cpp
@@ -126,7 +126,7 @@ JabberClient::JabberClient ()
cleanUp ();
// initiate penalty timer
- TQTimer::singleShot ( JABBER_PENALTY_TIME * 1000, this, TQT_SLOT ( slotUpdatePenaltyTime () ) );
+ TQTimer::singleShot ( JABBER_PENALTY_TIME * 1000, this, TQ_SLOT ( slotUpdatePenaltyTime () ) );
}
@@ -189,7 +189,7 @@ void JabberClient::slotUpdatePenaltyTime ()
else
d->currentPenaltyTime = 0;
- TQTimer::singleShot ( JABBER_PENALTY_TIME * 1000, this, TQT_SLOT ( slotUpdatePenaltyTime () ) );
+ TQTimer::singleShot ( JABBER_PENALTY_TIME * 1000, this, TQ_SLOT ( slotUpdatePenaltyTime () ) );
}
@@ -234,7 +234,7 @@ XMPP::S5BServer *JabberClient::s5bServer ()
if ( !d->s5bServer )
{
d->s5bServer = new XMPP::S5BServer ();
- TQObject::connect ( d->s5bServer, TQT_SIGNAL ( destroyed () ), this, TQT_SLOT ( slotS5BServerGone () ) );
+ TQObject::connect ( d->s5bServer, TQ_SIGNAL ( destroyed () ), this, TQ_SLOT ( slotS5BServerGone () ) );
/*
* Try to start the server at the default port here.
@@ -638,7 +638,7 @@ JabberClient::ErrorCode JabberClient::connect ( const XMPP::Jid &jid, const TQSt
{
using namespace XMPP;
- TQObject::connect ( d->jabberTLSHandler, TQT_SIGNAL ( tlsHandshaken() ), this, TQT_SLOT ( slotTLSHandshaken () ) );
+ TQObject::connect ( d->jabberTLSHandler, TQ_SIGNAL ( tlsHandshaken() ), this, TQ_SLOT ( slotTLSHandshaken () ) );
}
TQPtrList<TQCA::Cert> certStore;
@@ -653,18 +653,18 @@ JabberClient::ErrorCode JabberClient::connect ( const XMPP::Jid &jid, const TQSt
{
using namespace XMPP;
- TQObject::connect ( d->jabberClientStream, TQT_SIGNAL ( needAuthParams(bool, bool, bool) ),
- this, TQT_SLOT ( slotCSNeedAuthParams (bool, bool, bool) ) );
- TQObject::connect ( d->jabberClientStream, TQT_SIGNAL ( authenticated () ),
- this, TQT_SLOT ( slotCSAuthenticated () ) );
- TQObject::connect ( d->jabberClientStream, TQT_SIGNAL ( connectionClosed () ),
- this, TQT_SLOT ( slotCSDisconnected () ) );
- TQObject::connect ( d->jabberClientStream, TQT_SIGNAL ( delayedCloseFinished () ),
- this, TQT_SLOT ( slotCSDisconnected () ) );
- TQObject::connect ( d->jabberClientStream, TQT_SIGNAL ( warning (int) ),
- this, TQT_SLOT ( slotCSWarning (int) ) );
- TQObject::connect ( d->jabberClientStream, TQT_SIGNAL ( error (int) ),
- this, TQT_SLOT ( slotCSError (int) ) );
+ TQObject::connect ( d->jabberClientStream, TQ_SIGNAL ( needAuthParams(bool, bool, bool) ),
+ this, TQ_SLOT ( slotCSNeedAuthParams (bool, bool, bool) ) );
+ TQObject::connect ( d->jabberClientStream, TQ_SIGNAL ( authenticated () ),
+ this, TQ_SLOT ( slotCSAuthenticated () ) );
+ TQObject::connect ( d->jabberClientStream, TQ_SIGNAL ( connectionClosed () ),
+ this, TQ_SLOT ( slotCSDisconnected () ) );
+ TQObject::connect ( d->jabberClientStream, TQ_SIGNAL ( delayedCloseFinished () ),
+ this, TQ_SLOT ( slotCSDisconnected () ) );
+ TQObject::connect ( d->jabberClientStream, TQ_SIGNAL ( warning (int) ),
+ this, TQ_SLOT ( slotCSWarning (int) ) );
+ TQObject::connect ( d->jabberClientStream, TQ_SIGNAL ( error (int) ),
+ this, TQ_SLOT ( slotCSError (int) ) );
}
d->jabberClientStream->setOldOnly ( useXMPP09 () );
@@ -694,8 +694,8 @@ JabberClient::ErrorCode JabberClient::connect ( const XMPP::Jid &jid, const TQSt
{
using namespace XMPP;
- TQObject::connect ( d->jabberClient->fileTransferManager(), TQT_SIGNAL ( incomingReady() ),
- this, TQT_SLOT ( slotIncomingFileTransfer () ) );
+ TQObject::connect ( d->jabberClient->fileTransferManager(), TQ_SIGNAL ( incomingReady() ),
+ this, TQ_SLOT ( slotIncomingFileTransfer () ) );
}
}
@@ -704,36 +704,36 @@ JabberClient::ErrorCode JabberClient::connect ( const XMPP::Jid &jid, const TQSt
*/
{
using namespace XMPP;
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( subscription (const Jid &, const TQString &) ),
- this, TQT_SLOT ( slotSubscription (const Jid &, const TQString &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( rosterRequestFinished ( bool, int, const TQString & ) ),
- this, TQT_SLOT ( slotRosterRequestFinished ( bool, int, const TQString & ) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( rosterItemAdded (const RosterItem &) ),
- this, TQT_SLOT ( slotNewContact (const RosterItem &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( rosterItemUpdated (const RosterItem &) ),
- this, TQT_SLOT ( slotContactUpdated (const RosterItem &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( rosterItemRemoved (const RosterItem &) ),
- this, TQT_SLOT ( slotContactDeleted (const RosterItem &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( resourceAvailable (const Jid &, const Resource &) ),
- this, TQT_SLOT ( slotResourceAvailable (const Jid &, const Resource &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( resourceUnavailable (const Jid &, const Resource &) ),
- this, TQT_SLOT ( slotResourceUnavailable (const Jid &, const Resource &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( messageReceived (const Message &) ),
- this, TQT_SLOT ( slotReceivedMessage (const Message &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( groupChatJoined (const Jid &) ),
- this, TQT_SLOT ( slotGroupChatJoined (const Jid &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( groupChatLeft (const Jid &) ),
- this, TQT_SLOT ( slotGroupChatLeft (const Jid &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( groupChatPresence (const Jid &, const Status &) ),
- this, TQT_SLOT ( slotGroupChatPresence (const Jid &, const Status &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( groupChatError (const Jid &, int, const TQString &) ),
- this, TQT_SLOT ( slotGroupChatError (const Jid &, int, const TQString &) ) );
- //TQObject::connect ( d->jabberClient, TQT_SIGNAL (debugText (const TQString &) ),
- // this, TQT_SLOT ( slotPsiDebug (const TQString &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( xmlIncoming(const TQString& ) ),
- this, TQT_SLOT ( slotIncomingXML (const TQString &) ) );
- TQObject::connect ( d->jabberClient, TQT_SIGNAL ( xmlOutgoing(const TQString& ) ),
- this, TQT_SLOT ( slotOutgoingXML (const TQString &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( subscription (const Jid &, const TQString &) ),
+ this, TQ_SLOT ( slotSubscription (const Jid &, const TQString &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( rosterRequestFinished ( bool, int, const TQString & ) ),
+ this, TQ_SLOT ( slotRosterRequestFinished ( bool, int, const TQString & ) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( rosterItemAdded (const RosterItem &) ),
+ this, TQ_SLOT ( slotNewContact (const RosterItem &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( rosterItemUpdated (const RosterItem &) ),
+ this, TQ_SLOT ( slotContactUpdated (const RosterItem &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( rosterItemRemoved (const RosterItem &) ),
+ this, TQ_SLOT ( slotContactDeleted (const RosterItem &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( resourceAvailable (const Jid &, const Resource &) ),
+ this, TQ_SLOT ( slotResourceAvailable (const Jid &, const Resource &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( resourceUnavailable (const Jid &, const Resource &) ),
+ this, TQ_SLOT ( slotResourceUnavailable (const Jid &, const Resource &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( messageReceived (const Message &) ),
+ this, TQ_SLOT ( slotReceivedMessage (const Message &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( groupChatJoined (const Jid &) ),
+ this, TQ_SLOT ( slotGroupChatJoined (const Jid &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( groupChatLeft (const Jid &) ),
+ this, TQ_SLOT ( slotGroupChatLeft (const Jid &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( groupChatPresence (const Jid &, const Status &) ),
+ this, TQ_SLOT ( slotGroupChatPresence (const Jid &, const Status &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( groupChatError (const Jid &, int, const TQString &) ),
+ this, TQ_SLOT ( slotGroupChatError (const Jid &, int, const TQString &) ) );
+ //TQObject::connect ( d->jabberClient, TQ_SIGNAL (debugText (const TQString &) ),
+ // this, TQ_SLOT ( slotPsiDebug (const TQString &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( xmlIncoming(const TQString& ) ),
+ this, TQ_SLOT ( slotIncomingXML (const TQString &) ) );
+ TQObject::connect ( d->jabberClient, TQ_SIGNAL ( xmlOutgoing(const TQString& ) ),
+ this, TQ_SLOT ( slotOutgoingXML (const TQString &) ) );
}
d->jabberClient->setClientName ( clientName () );