blob: d39aa14e83ea14bb6248cb56fdce0ba5020dc223 (
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
|
#include "downloadmanager.h"
void DownloadManager::downloadFile()
{
this->reply = this->qnam->get(this->request);
//->get(request);
}
void DownloadManager::setUrl(QUrl& qurl)
{
this->baseUrl = qurl;
}
void DownloadManager::print()
{
qDebug() << "The download manager is still working";
}
DownloadManager::DownloadManager()
{
this->qnam = new QNetworkAccessManager();
this->request.setUrl(baseUrl);
}
DownloadManager::~DownloadManager()
{
}
|