summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jabbercapabilitiesmanager.h
diff options
context:
space:
mode:
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;