| 23 | |
| 24 | namespace Java { |
| 25 | class ArchiveDownloadTask : public Task { |
| 26 | Q_OBJECT |
| 27 | public: |
| 28 | ArchiveDownloadTask(QUrl url, QString final_path, QString checksumType = "", QString checksumHash = ""); |
| 29 | virtual ~ArchiveDownloadTask() = default; |
| 30 | |
| 31 | [[nodiscard]] bool canAbort() const override { return true; } |
| 32 | void executeTask() override; |
| 33 | virtual bool abort() override; |
| 34 | |
| 35 | private slots: |
| 36 | void extractJava(QString input); |
| 37 | |
| 38 | protected: |
| 39 | QUrl m_url; |
| 40 | QString m_final_path; |
| 41 | QString m_checksum_type; |
| 42 | QString m_checksum_hash; |
| 43 | Task::Ptr m_task; |
| 44 | }; |
| 45 | } // namespace Java |
nothing calls this directly
no outgoing calls
no test coverage detected