QXmpp
Version: 1.11.0
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
Typedefs
a
b
c
d
e
f
g
i
j
m
n
o
p
r
s
u
v
Enumerations
a
c
d
e
g
h
i
l
m
n
q
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
a
b
d
f
g
i
j
l
m
n
p
r
s
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Modules
Pages
Loading...
Searching...
No Matches
src
base
QXmppBitsOfBinaryData.h
1
// SPDX-FileCopyrightText: 2019 Linus Jahn <lnj@kaidan.im>
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
5
#ifndef QXMPPBITSOFBINARYDATA_H
6
#define QXMPPBITSOFBINARYDATA_H
7
8
#include "QXmppGlobal.h"
9
10
#include <QSharedDataPointer>
11
12
class
QDomElement;
13
class
QMimeType;
14
class
QXmlStreamWriter;
15
class
QXmppBitsOfBinaryDataPrivate;
16
class
QXmppBitsOfBinaryContentId
;
17
18
class
QXMPP_EXPORT
QXmppBitsOfBinaryData
19
{
20
public
:
21
static
QXmppBitsOfBinaryData
fromByteArray(QByteArray data);
22
23
QXmppBitsOfBinaryData
();
24
QXmppBitsOfBinaryData
(
const
QXmppBitsOfBinaryData
&);
25
QXmppBitsOfBinaryData
(
QXmppBitsOfBinaryData
&&);
26
~QXmppBitsOfBinaryData
();
27
28
QXmppBitsOfBinaryData
&
operator=
(
const
QXmppBitsOfBinaryData
&);
29
QXmppBitsOfBinaryData
&
operator=
(
QXmppBitsOfBinaryData
&&);
30
31
QXmppBitsOfBinaryContentId
cid()
const
;
32
void
setCid(
const
QXmppBitsOfBinaryContentId
&cid);
33
34
int
maxAge()
const
;
35
void
setMaxAge(
int
maxAge);
36
37
QMimeType contentType()
const
;
38
void
setContentType(
const
QMimeType &contentType);
39
40
QByteArray data()
const
;
41
void
setData(
const
QByteArray &data);
42
43
bool
static
isBitsOfBinaryData(
const
QDomElement &element);
44
46
void
parseElementFromChild(
const
QDomElement &dataElement);
47
void
toXmlElementFromChild(QXmlStreamWriter *writer)
const
;
49
50
bool
operator==(
const
QXmppBitsOfBinaryData
&other)
const
;
51
52
private
:
53
QSharedDataPointer<QXmppBitsOfBinaryDataPrivate> d;
54
};
18
class
QXMPP_EXPORT
QXmppBitsOfBinaryData
{
…
};
55
56
#endif
// QXMPPBITSOFBINARYDATA_H
QXmppBitsOfBinaryContentId
Definition
QXmppBitsOfBinaryContentId.h:16
QXmppBitsOfBinaryData
Definition
QXmppBitsOfBinaryData.h:19
QXmppBitsOfBinaryData::~QXmppBitsOfBinaryData
~QXmppBitsOfBinaryData()
Default destructor.
QXmppBitsOfBinaryData::QXmppBitsOfBinaryData
QXmppBitsOfBinaryData(QXmppBitsOfBinaryData &&)
Default move-constructor.
QXmppBitsOfBinaryData::QXmppBitsOfBinaryData
QXmppBitsOfBinaryData(const QXmppBitsOfBinaryData &)
Default copy-constructor.
QXmppBitsOfBinaryData::operator=
QXmppBitsOfBinaryData & operator=(const QXmppBitsOfBinaryData &)
Default assignment operator.
QXmppBitsOfBinaryData::operator=
QXmppBitsOfBinaryData & operator=(QXmppBitsOfBinaryData &&)
Default move-assignment operator.
Generated by
1.9.8