summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabberclient.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/jabber/jabberclient.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/jabber/jabberclient.h')
-rw-r--r--kopete/protocols/jabber/jabberclient.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kopete/protocols/jabber/jabberclient.h b/kopete/protocols/jabber/jabberclient.h
index 4db2975f..05324824 100644
--- a/kopete/protocols/jabber/jabberclient.h
+++ b/kopete/protocols/jabber/jabberclient.h
@@ -54,10 +54,11 @@ class JabberConnector;
* @brief Provides a Jabber client
* @author Till Gerken
*/
-class JabberClient : public QObject
+class JabberClient : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -95,7 +96,7 @@ public:
* Disconnect from Jabber server with reason
* @param reason The reason for disconnecting
*/
- void disconnect (XMPP::Status &reason);
+ void disconnect (XMPP::tqStatus &reason);
/**
* Returns if this instance is connected to a server.
@@ -213,7 +214,7 @@ public:
* @param flag Whether to enable file transfers.
* @param localAddress Local address to receive file transfers at. Will be determined automatically if not specified.
*/
- void setFileTransfersEnabled ( bool flag, const TQString &localAddress = TQString::null );
+ void setFileTransfersEnabled ( bool flag, const TQString &localAddress = TQString() );
/**
* Returns the address of the local interface.
@@ -378,11 +379,11 @@ public:
/**
* change the status of a group chat
*/
- void setGroupChatStatus(const TQString &host, const TQString &room, const XMPP::Status &);
+ void setGroupChattqStatus(const TQString &host, const TQString &room, const XMPP::tqStatus &);
/**
* change the nick in a group chat
*/
- void changeGroupChatNick(const TQString &host, const TQString &room, const TQString &nick, const XMPP::Status &status =XMPP::Status());
+ void changeGroupChatNick(const TQString &host, const TQString &room, const TQString &nick, const XMPP::tqStatus &status =XMPP::tqStatus());
/**
* Send a message.
@@ -491,7 +492,7 @@ signals:
/**
* A presence to a group chat has been signalled.
*/
- void groupChatPresence ( const XMPP::Jid &jid, const XMPP::Status &status );
+ void groupChatPresence ( const XMPP::Jid &jid, const XMPP::tqStatus &status );
/**
* An error was encountered joining or processing a group chat.
@@ -589,7 +590,7 @@ private slots:
/* Slots for handling group chats. */
void slotGroupChatJoined (const Jid & jid);
void slotGroupChatLeft (const Jid & jid);
- void slotGroupChatPresence (const Jid & jid, const Status & status);
+ void slotGroupChatPresence (const Jid & jid, const tqStatus & status);
void slotGroupChatError (const Jid & jid, int error, const TQString & reason);
/* Incoming subscription request. */