QXmpp
Version: 1.5.6
Loading...
Searching...
No Matches
src
base
QXmppBindIq.h
1
// SPDX-FileCopyrightText: 2011 Manjeet Dahiya <manjeetdahiya@gmail.com>
2
// SPDX-FileCopyrightText: 2010 Jeremy Lainé <jeremy.laine@m4x.org>
3
//
4
// SPDX-License-Identifier: LGPL-2.1-or-later
5
6
#ifndef QXMPPBINDIQ_H
7
#define QXMPPBINDIQ_H
8
9
#include "QXmppIq.h"
10
15
16
class
QXMPP_EXPORT
QXmppBindIq
:
public
QXmppIq
17
{
18
public
:
19
QString jid()
const
;
20
void
setJid(
const
QString &);
21
22
QString resource()
const
;
23
void
setResource(
const
QString &);
24
26
static
bool
isBindIq(
const
QDomElement &element);
28
29
protected
:
31
void
parseElementFromChild(
const
QDomElement &element)
override
;
32
void
toXmlElementFromChild(QXmlStreamWriter *writer)
const override
;
34
35
private
:
36
QString m_jid;
37
QString m_resource;
38
};
39
40
#endif
// QXMPPBIND_H
QXmppBindIq
The QXmppBindIq class represents an IQ used for resource binding as defined by RFC 3921.
Definition
QXmppBindIq.h:17
QXmppIq
The QXmppIq class is the base class for all IQs.
Definition
QXmppIq.h:23
Generated by
1.9.8