QXmpp
Version:0.7.5
Main Page
Modules
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
Enumerator
Properties
Groups
src
base
QXmppBindIq.h
1
/*
2
* Copyright (C) 2008-2012 The QXmpp developers
3
*
4
* Authors:
5
* Manjeet Dahiya
6
* Jeremy Lainé
7
*
8
* Source:
9
* http://code.google.com/p/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
Generated by
1.8.1.2