QXmpp
Version: 1.10.0
src
base
QXmppHttpFileSource.h
1
// SPDX-FileCopyrightText: 2022 Linus Jahn <lnj@kaidan.im>
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
5
#ifndef QXMPPHTTPFILESOURCE_H
6
#define QXMPPHTTPFILESOURCE_H
7
8
#include "QXmppGlobal.h"
9
10
#include <QUrl>
11
12
class
QDomElement;
13
class
QXmlStreamWriter;
14
15
class
QXMPP_EXPORT
QXmppHttpFileSource
16
{
17
public
:
18
QXmppHttpFileSource
();
19
QXmppHttpFileSource
(QUrl url);
20
QXMPP_PRIVATE_DECLARE_RULE_OF_SIX(
QXmppHttpFileSource
)
21
22
const
QUrl &url()
const
;
23
void
setUrl(QUrl url);
24
26
bool
parse(
const
QDomElement &el);
27
void
toXml(QXmlStreamWriter *writer)
const
;
29
30
private
:
31
static_assert
(
sizeof
(QUrl) ==
sizeof
(
void
*));
32
QUrl m_url;
33
};
34
35
#endif
// QXMPPHTTPFILESOURCE_H
QXmppHttpFileSource
Definition:
QXmppHttpFileSource.h:16
QXmppHttpFileSource::QXmppHttpFileSource
QXmppHttpFileSource()
Default constructor.
Generated by
1.9.4