QXmpp
Version:1.3.1
src
base
QXmppBindIq.h
1
/*
2
* Copyright (C) 2008-2020 The QXmpp developers
3
*
4
* Authors:
5
* Manjeet Dahiya
6
* Jeremy Lainé
7
*
8
* Source:
9
* https://github.com/qxmpp-project/qxmpp
10
*
11
* This file is a part of QXmpp library.
12
*
13
* This library is free software; you can redistribute it and/or
14
* modify it under the terms of the GNU Lesser General Public
15
* License as published by the Free Software Foundation; either
16
* version 2.1 of the License, or (at your option) any later version.
17
*
18
* This library is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21
* Lesser General Public License for more details.
22
*
23
*/
24
25
#ifndef QXMPPBINDIQ_H
26
#define QXMPPBINDIQ_H
27
28
#include "QXmppIq.h"
29
34
35
class
QXMPP_EXPORT
QXmppBindIq
:
public
QXmppIq
36
{
37
public
:
38
QString jid()
const
;
39
void
setJid(
const
QString &);
40
41
QString resource()
const
;
42
void
setResource(
const
QString &);
43
45
static
bool
isBindIq(
const
QDomElement &element);
47
48
protected
:
50
void
parseElementFromChild(
const
QDomElement &element)
override
;
51
void
toXmlElementFromChild(QXmlStreamWriter *writer)
const override
;
53
54
private
:
55
QString m_jid;
56
QString m_resource;
57
};
58
59
#endif // QXMPPBIND_H
QXmppBindIq
The QXmppBindIq class represents an IQ used for resource binding as defined by RFC 3921.
Definition:
QXmppBindIq.h:35
QXmppIq
The QXmppIq class is the base class for all IQs.
Definition:
QXmppIq.h:41
Generated by
1.8.17