#include <Base/QTCore/qSlicerExtensionDownloadTask.h>
|
| QScopedPointer< qSlicerExtensionDownloadTaskPrivate > | d_ptr |
| |
◆ archiveName
| QString qSlicerExtensionDownloadTask::archiveName |
|
readwrite |
◆ extensionName
| QString qSlicerExtensionDownloadTask::extensionName |
|
readwrite |
◆ installDependencies
| bool qSlicerExtensionDownloadTask::installDependencies |
|
readwrite |
◆ metadata
◆ reply
| QNetworkReply qSlicerExtensionDownloadTask::reply |
|
read |
◆ qSlicerExtensionDownloadTask()
| qSlicerExtensionDownloadTask::qSlicerExtensionDownloadTask |
( |
QNetworkReply * |
reply, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
Constructor.
The task takes ownership of the reply and will delete it when the task is destroyed.
◆ ~qSlicerExtensionDownloadTask()
| qSlicerExtensionDownloadTask::~qSlicerExtensionDownloadTask |
( |
| ) |
|
|
override |
◆ archiveName()
| QString qSlicerExtensionDownloadTask::archiveName |
( |
| ) |
const |
◆ emitError
| void qSlicerExtensionDownloadTask::emitError |
( |
QNetworkReply::NetworkError |
| ) |
|
|
protectedslot |
◆ emitFinished
| void qSlicerExtensionDownloadTask::emitFinished |
( |
| ) |
|
|
protectedslot |
◆ emitProgress
| void qSlicerExtensionDownloadTask::emitProgress |
( |
qint64 |
, |
|
|
qint64 |
|
|
) |
| |
|
protectedslot |
◆ error
◆ extensionName()
| QString qSlicerExtensionDownloadTask::extensionName |
( |
| ) |
const |
◆ finished
◆ installDependencies()
| bool qSlicerExtensionDownloadTask::installDependencies |
( |
| ) |
const |
Install extensions that the requested extension needs. Enabled by default.
◆ metadata()
| QVariantMap qSlicerExtensionDownloadTask::metadata |
( |
| ) |
const |
◆ progress
◆ reply()
| QNetworkReply* qSlicerExtensionDownloadTask::reply |
( |
| ) |
const |
Get associated network reply.
◆ setArchiveName()
| void qSlicerExtensionDownloadTask::setArchiveName |
( |
const QString & |
| ) |
|
◆ setExtensionName()
| void qSlicerExtensionDownloadTask::setExtensionName |
( |
const QString & |
| ) |
|
◆ setInstallDependencies()
| void qSlicerExtensionDownloadTask::setInstallDependencies |
( |
bool |
confirm | ) |
|
◆ setMetadata()
| void qSlicerExtensionDownloadTask::setMetadata |
( |
const QVariantMap & |
| ) |
|
Set extension metadata.
This sets the extension metadata that is associated with the task. If provided by the metadata, this also sets the extension name and archive name, if not previously set.
- See also
- setExtensionName, setArchiveName
◆ d_ptr
| QScopedPointer<qSlicerExtensionDownloadTaskPrivate> qSlicerExtensionDownloadTask::d_ptr |
|
protected |
The documentation for this class was generated from the following file: