1#ifndef QX_DOWNLOADOPREPORT_H
2#define QX_DOWNLOADOPREPORT_H
5#include "qx/network/qx_network_export.h"
8#include "qx/network/qx-downloadtask.h"
29 static inline const QString COMPLETE = u
"The download [%1] -> [%2] did completed succesfully"_s;
30 static inline const QString INCOMPLETE = u
"The download [%1] -> [%2] did not complete"_s;
31 static inline const QString FAILED = u
"Error: %1"_s;
32 static inline const QString ABORTED = u
"Task was aborted."_s;
33 static inline const QString SKIPPED = u
"Task was skipped due to previous errors."_s;
54 quint32 deriveValue()
const override;
55 Severity deriveSeverity()
const override;
56 QString derivePrimary()
const override;
57 QString deriveSecondary()
const override;
60 Result result()
const;
63 bool wasSuccessful()
const;
The AbstractError template class completes the Error interface and acts as the base class from which ...
Definition qx-abstracterror.h:86
The DownloadOpReport class details the result of a single file download.
Definition qx-downloadopreport.h:17
Result
Definition qx-downloadopreport.h:20
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-processwaiter.cpp:5
Severity
Definition qx-global.h:11
The qx-abstracterror.h header file provides access to the base class from which custom error types sh...
The DownloadTask struct contains the information necessary to download a file from a URL.
Definition qx-downloadtask.h:14