25namespace DownloadManager {
27DownloadsListImpl::DownloadsListImpl(
QObject* parent)
28 : DownloadsList(parent) {
31DownloadsListImpl::DownloadsListImpl(
32 const QList<QSharedPointer<Download> > downs,
34 : DownloadsList(parent),
38DownloadsListImpl::DownloadsListImpl(Error* err,
QObject* parent)
39 : DownloadsList(parent),
43DownloadsListImpl::~DownloadsListImpl() {
47QList<QSharedPointer<Download> >
48DownloadsListImpl::downloads()
const {
53DownloadsListImpl::isError()
const {
54 return _lastError !=
nullptr;
58DownloadsListImpl::error()
const {