Qx v0.5.7
Qt Extensions Library
Loading...
Searching...
No Matches
qx-downloadtask.h
1#ifndef QX_DOWNLOADTASK_H
2#define QX_DOWNLOADTASK_H
3
4// Shared Lib Support
5#include "qx/network/qx_network_export.h"
6
7// Qt Includes
8#include <QUrl>
9
10namespace Qx
11{
12
13struct QX_NETWORK_EXPORT DownloadTask
14{
18
19 friend QX_NETWORK_EXPORT bool operator== (const DownloadTask& lhs, const DownloadTask& rhs) noexcept = default;
20 friend QX_NETWORK_EXPORT size_t qHash(const DownloadTask& key, size_t seed) noexcept;
21};
22
23}
24
25#endif // QX_DOWNLOADTASK_H
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-processwaiter.cpp:5
size_t qHash(const DownloadTask &key, size_t seed) noexcept
Definition qx-downloadtask.cpp:49
The DownloadTask struct contains the information necessary to download a file from a URL.
Definition qx-downloadtask.h:14
QString checksum
Definition qx-downloadtask.h:17
QString dest
Definition qx-downloadtask.h:16
QUrl target
Definition qx-downloadtask.h:15