![]() |
LeechCraft
0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
|
#include "downloadhandler.h"
Public Types | |
using | DataHandler_t = EitherCont< void(IDownload::Error), void(QByteArray)> |
using | EntityHandler_t = EitherCont< void(IDownload::Error), void()> |
Public Member Functions | |
DownloadHandler (const QUrl &url, const QVariantMap &additional, IEntityManager *iem, const DataHandler_t &, QObject *parent=nullptr) | |
DownloadHandler (const QUrl &url, IEntityManager *iem, const DataHandler_t &, QObject *parent=nullptr) | |
DownloadHandler (const Entity &e, IEntityManager *iem, const EntityHandler_t &, QObject *parent=nullptr) | |
Definition at line 44 of file downloadhandler.h.
using LeechCraft::Util::DownloadHandler::DataHandler_t = EitherCont<void (IDownload::Error), void (QByteArray)> |
Definition at line 53 of file downloadhandler.h.
using LeechCraft::Util::DownloadHandler::EntityHandler_t = EitherCont<void (IDownload::Error), void ()> |
Definition at line 54 of file downloadhandler.h.
LeechCraft::Util::DownloadHandler::DownloadHandler | ( | const QUrl & | url, |
const QVariantMap & | additional, | ||
IEntityManager * | iem, | ||
const DataHandler_t & | cont, | ||
QObject * | parent = nullptr |
||
) |
Definition at line 43 of file downloadhandler.cpp.
References LeechCraft::DoNotNotifyUser, LeechCraft::DoNotSaveInHistory, IDownload::ELocalError, LeechCraft::Util::GetTemporaryName(), LeechCraft::Internal, LeechCraft::Util::EitherCont< LeftSig, RightSig >::Left(), LeechCraft::Entity::Location_, LeechCraft::Util::MakeEntity(), LeechCraft::Util::MakeScopeGuard(), LeechCraft::NotPersistent, and LeechCraft::Util::EitherCont< LeftSig, RightSig >::Right().
LeechCraft::Util::DownloadHandler::DownloadHandler | ( | const QUrl & | url, |
IEntityManager * | iem, | ||
const DataHandler_t & | cont, | ||
QObject * | parent = nullptr |
||
) |
Definition at line 83 of file downloadhandler.cpp.
LeechCraft::Util::DownloadHandler::DownloadHandler | ( | const Entity & | e, |
IEntityManager * | iem, | ||
const EntityHandler_t & | cont, | ||
QObject * | parent = nullptr |
||
) |
Definition at line 91 of file downloadhandler.cpp.