QXmpp
Version:1.0.0
src
base
QXmppBindIq.h
1
/*
2
* Copyright (C) 2008-2019 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
26
#ifndef QXMPPBINDIQ_H
27
#define QXMPPBINDIQ_H
28
29
#include "QXmppIq.h"
30
35
36
class
QXMPP_EXPORT
QXmppBindIq
:
public
QXmppIq
37
{
38
public
:
39
QString jid()
const
;
40
void
setJid(
const
QString&);
41
42
QString resource()
const
;
43
void
setResource(
const
QString&);
44
46
static
bool
isBindIq(
const
QDomElement &element);
48
49
protected
:
51
void
parseElementFromChild(
const
QDomElement &element);
52
void
toXmlElementFromChild(QXmlStreamWriter *writer)
const
;
54
55
private
:
56
QString m_jid;
57
QString m_resource;
58
};
59
60
#endif // QXMPPBIND_H
QXmppBindIq
The QXmppBindIq class represents an IQ used for resource binding as defined by RFC 3921.
Definition:
QXmppBindIq.h:36
QXmppIq
The QXmppIq class is the base class for all IQs.
Definition:
QXmppIq.h:42
Generated by
1.8.16