summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabbercapabilitiesmanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/jabber/jabbercapabilitiesmanager.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/jabber/jabbercapabilitiesmanager.h')
-rw-r--r--kopete/protocols/jabber/jabbercapabilitiesmanager.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kopete/protocols/jabber/jabbercapabilitiesmanager.h b/kopete/protocols/jabber/jabbercapabilitiesmanager.h
index 3010479f..a783188f 100644
--- a/kopete/protocols/jabber/jabbercapabilitiesmanager.h
+++ b/kopete/protocols/jabber/jabbercapabilitiesmanager.h
@@ -20,7 +20,7 @@
#ifndef JABBERCAPABILITIESMANAGER_H
#define JABBERCAPABILITIESMANAGER_H
-#include <qobject.h>
+#include <tqobject.h>
#include <im.h>
#include <xmpp.h>
@@ -67,11 +67,11 @@ public:
/**
* Return the client name for the current JID.
*/
- QString clientName(const Jid& jid) const;
+ TQString clientName(const Jid& jid) const;
/**
* Return the client version for the current JID.
*/
- QString clientVersion(const Jid& jid) const;
+ TQString clientVersion(const Jid& jid) const;
signals:
void capabilitiesChanged(const XMPP::Jid &jid);
@@ -107,7 +107,7 @@ private:
* @param jid The target entity's JID
* @param node The target disco#info node
*/
- void requestDiscoInfo(JabberAccount *account, const Jid& jid, const QString& node);
+ void requestDiscoInfo(JabberAccount *account, const Jid& jid, const TQString& node);
/**
* Save capabilities information to disk.
@@ -115,7 +115,7 @@ private:
void saveInformation();
class Capabilities;
- typedef QValueList<Capabilities> CapabilitiesList;
+ typedef TQValueList<Capabilities> CapabilitiesList;
/**
* @brief A class representing an entity capability specification.
* An entity capability is a combination of a node, a version, and a set of
@@ -134,19 +134,19 @@ private:
* @param version the version
* @param extensions the list of extensions (separated by spaces)
*/
- Capabilities(const QString &node, const QString &version, const QString &extensions);
+ Capabilities(const TQString &node, const TQString &version, const TQString &extensions);
/**
* Returns the node of the capabilities specification.
*/
- const QString& node() const;
+ const TQString& node() const;
/**
* @brief Returns the version of the capabilities specification.
*/
- const QString& version() const;
+ const TQString& version() const;
/**
* @brief Returns the extensions of the capabilities specification.
*/
- const QString& extensions() const;
+ const TQString& extensions() const;
/**
* \brief Flattens the caps specification into the set of 'simple' specifications.
* A 'simple' specification is a specification with exactly one extension,
@@ -165,16 +165,16 @@ private:
bool operator<(const Capabilities&) const;
private:
- QString m_node, m_version, m_extensions;
+ TQString m_node, m_version, m_extensions;
};
class CapabilitiesInformation
{
public:
CapabilitiesInformation();
- const QStringList& features() const;
+ const TQStringList& features() const;
const DiscoItem::Identities& identities() const;
- QStringList jids() const;
+ TQStringList jids() const;
bool discovered() const;
int pendingRequests() const;
@@ -187,10 +187,10 @@ private:
void setDiscovered(bool);
void setPendingRequests(int);
void setIdentities(const DiscoItem::Identities&);
- void setFeatures(const QStringList&);
+ void setFeatures(const TQStringList&);
- QDomElement toXml(QDomDocument *) const;
- void fromXml(const QDomElement&);
+ TQDomElement toXml(TQDomDocument *) const;
+ void fromXml(const TQDomElement&);
protected:
void updateLastSeen();
@@ -198,10 +198,10 @@ private:
private:
bool m_discovered;
int m_pendingRequests;
- QStringList m_features;
+ TQStringList m_features;
DiscoItem::Identities m_identities;
- QValueList<QPair<QString,JabberAccount*> > m_jids;
- QDate m_lastSeen;
+ TQValueList<QPair<TQString,JabberAccount*> > m_jids;
+ TQDate m_lastSeen;
};
class Private;