23 void setJid(
const QString &);
29 static constexpr std::tuple PayloadXmlTag = { u
"bind", QXmpp::Private::ns_bind };
30 [[deprecated(
"Use QXmpp::isIqElement()")]]
31 static bool isBindIq(
const QDomElement &element);
34 void parseElementFromChild(
const QDomElement &element)
override;
35 void toXmlElementFromChild(QXmlStreamWriter *writer)
const override;
The QXmppBindIq class represents an IQ used for resource binding as defined by RFC 3921.
Definition QXmppBindIq.h:18
QString resource() const
Returns the requested resource.
Definition QXmppBindIq.cpp:42
void setResource(const QString &)
Sets the requested resource.
Definition QXmppBindIq.cpp:48
QString jid() const
Returns the bound JID.
Definition QXmppBindIq.cpp:30
void setJid(const QString &)
Sets the bound JID.
Definition QXmppBindIq.cpp:36
static QXmppBindIq bindAddressIq(const QString &resource)
Creates a Bind IQ of type set with the specified resource.
Definition QXmppBindIq.cpp:21
QXmppIq(QXmppIq::Type type=QXmppIq::Get)
Definition QXmppIq.cpp:39