64 PROPERTY (private, QStringList, filesToDownload, setFilesToDownload, STOCK_WRITE) |
64 PROPERTY (private, QStringList, filesToDownload, setFilesToDownload, STOCK_WRITE) |
65 PROPERTY (private, RequestList, requests, setRequests, STOCK_WRITE) |
65 PROPERTY (private, RequestList, requests, setRequests, STOCK_WRITE) |
66 PROPERTY (private, QPushButton*, downloadButton, setDownloadButton, STOCK_WRITE) |
66 PROPERTY (private, QPushButton*, downloadButton, setDownloadButton, STOCK_WRITE) |
67 |
67 |
68 public: |
68 public: |
69 explicit PartDownloader (QWidget* parent = null); |
69 explicit PartDownloader (QWidget* parent = nullptr); |
70 virtual ~PartDownloader(); |
70 virtual ~PartDownloader(); |
71 |
71 |
72 void addFile (LDDocument* f); |
72 void addFile (LDDocument* f); |
73 bool checkValidPath(); |
73 bool checkValidPath(); |
74 void downloadFile (QString dest, QString url, bool primary); |
74 void downloadFile (QString dest, QString url, bool primary); |