mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 20:13:24 -08:00
[Docs] Document UpdateDownloader::beginDownload restart contract (#7892)
This commit is contained in:
parent
eb5672014d
commit
23906ef978
1 changed files with 3 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ class UpdateDownloader : public QObject
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit UpdateDownloader(QObject *parent);
|
explicit UpdateDownloader(QObject *parent);
|
||||||
|
// Starts a transfer and supersedes any reply still in flight: a cancelled or
|
||||||
|
// failed download can be restarted on the same object, and late signals from
|
||||||
|
// the superseded reply are dropped instead of reported.
|
||||||
void beginDownload(QUrl url);
|
void beginDownload(QUrl url);
|
||||||
signals:
|
signals:
|
||||||
void downloadSuccessful(QUrl filepath);
|
void downloadSuccessful(QUrl filepath);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue