22 void setJid(
const QString &);
28 static bool isBindIq(
const QDomElement &element);
33 void parseElementFromChild(
const QDomElement &element)
override;
34 void toXmlElementFromChild(QXmlStreamWriter *writer)
const override;
The QXmppBindIq class represents an IQ used for resource binding as defined by RFC 3921.
Definition QXmppBindIq.h:17
QString resource() const
Returns the requested resource.
Definition QXmppBindIq.cpp:41
void setResource(const QString &)
Sets the requested resource.
Definition QXmppBindIq.cpp:47
QString jid() const
Returns the bound JID.
Definition QXmppBindIq.cpp:29
void setJid(const QString &)
Sets the bound JID.
Definition QXmppBindIq.cpp:35
static QXmppBindIq bindAddressIq(const QString &resource)
Creates a Bind IQ of type set with the specified resource.
Definition QXmppBindIq.cpp:20
QXmppIq(QXmppIq::Type type=QXmppIq::Get)
Definition QXmppIq.cpp:34