blob: e57b19563897bd12dde4ec4853f6a46f2b61e18b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
// SPDX-FileCopyrightText: 2022 Jonah Brüchert <jbb@kaidan.im>
// SPDX-FileCopyrightText: 2022 Linus Jahn <lnj@kaidan.im>
//
// SPDX-License-Identifier: LGPL-2.1-or-later
#include "QXmppDownload.h"
///
/// \class QXmppDownload
///
/// \brief Provides progress of stateless file sharing uploads.
///
/// \since QXmpp 1.5
///
///
/// \enum QXmppDownload::HashVerificationResult
///
/// Describes the result of the hash verification.
///
///
/// \struct QXmppDownload::Downloaded
///
/// Indicates that the file could be downloaded.
///
///
/// \var QXmppDownload::Downloaded::hashVerificationResult
///
/// Describes the result of the hash verification.
///
///
/// \typedef QXmppDownload::Result
///
/// \brief Contains QXmpp::Success (successfully finished), QXmpp::Cancelled (manually cancelled)
/// or QXmppError (an error occured while downloading).
///
///
/// \fn QXmppDownload::finished
///
/// Emitted when the download has finished.
///
|