diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-22 10:28:33 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-22 10:28:33 +0000 |
| commit | 348b173dd5cf746ce9f8939aeb7bd2cc3ebb766d (patch) | |
| tree | ac2d2dcd20dbbd020a719220ace4cb244dd469fc /source/QXmppBind.h | |
| parent | f05f29132920c00568b867456adc15fdde576fbf (diff) | |
| download | qxmpp-348b173dd5cf746ce9f8939aeb7bd2cc3ebb766d.tar.gz | |
make it possible to detect / parse bind and session IQs
Diffstat (limited to 'source/QXmppBind.h')
| -rw-r--r-- | source/QXmppBind.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/QXmppBind.h b/source/QXmppBind.h index ed1a14e2..e621eb4f 100644 --- a/source/QXmppBind.h +++ b/source/QXmppBind.h @@ -1,8 +1,9 @@ /* * Copyright (C) 2008-2010 Manjeet Dahiya * - * Author: + * Authors: * Manjeet Dahiya + * Jeremy Lainé * * Source: * http://code.google.com/p/qxmpp @@ -32,13 +33,15 @@ class QXmppBind : public QXmppIq public: QXmppBind(QXmppIq::Type type); QXmppBind(const QString& type); - ~QXmppBind(); QString jid() const; QString resource() const; void setJid(const QString&); void setResource(const QString&); + static bool isBind(const QDomElement &element); + void parse(const QDomElement &element); + // deprecated accessors, use the form without "get" instead // obsolete start QString Q_DECL_DEPRECATED getJid() const; |
