summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabbercapabilitiesmanager.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/jabbercapabilitiesmanager.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/jabbercapabilitiesmanager.h')
-rw-r--r--kopete/protocols/jabber/jabbercapabilitiesmanager.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/kopete/protocols/jabber/jabbercapabilitiesmanager.h b/kopete/protocols/jabber/jabbercapabilitiesmanager.h
index a783188f..f314d760 100644
--- a/kopete/protocols/jabber/jabbercapabilitiesmanager.h
+++ b/kopete/protocols/jabber/jabbercapabilitiesmanager.h
@@ -33,9 +33,10 @@ class JabberAccount;
* @author Michaƫl Larouche <michael.larouche@kdemail.net>
* @author Remko Troncon
*/
-class JabberCapabilitiesManager : public QObject
+class JabberCapabilitiesManager : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Construct
@@ -80,12 +81,12 @@ public slots:
/**
* Update if necessary the capabities for the JID passed in args.
* Caps are received in Presence messages so that's why we are
- * passing a XMPP::Status object.
+ * passing a XMPP::tqStatus object.
*
* @param jid JID that capabilities was updated.
- * @param status The XMPP::Status that contain the caps.
+ * @param status The XMPP::tqStatus that contain the caps.
*/
- void updateCapabilities(JabberAccount *account, const XMPP::Jid &jid, const XMPP::Status &status);
+ void updateCapabilities(JabberAccount *account, const XMPP::Jid &jid, const XMPP::tqStatus &status);
private slots:
/**
@@ -182,7 +183,7 @@ private:
void removeAccount(JabberAccount* acc);
void removeJid(const Jid&);
void addJid(const Jid&, JabberAccount*);
- QPair<Jid,JabberAccount*> nextJid(const Jid&, const Task*);
+ TQPair<Jid,JabberAccount*> nextJid(const Jid&, const Task*);
void setDiscovered(bool);
void setPendingRequests(int);
@@ -200,7 +201,7 @@ private:
int m_pendingRequests;
TQStringList m_features;
DiscoItem::Identities m_identities;
- TQValueList<QPair<TQString,JabberAccount*> > m_jids;
+ TQValueList<TQPair<TQString,JabberAccount*> > m_jids;
TQDate m_lastSeen;
};