#include <Base/QTCore/qSlicerExtensionDownloadTask.h>
|
QScopedPointer< qSlicerExtensionDownloadTaskPrivate > | d_ptr |
|
◆ archiveName
QString qSlicerExtensionDownloadTask::archiveName |
|
readwrite |
◆ extensionName
QString qSlicerExtensionDownloadTask::extensionName |
|
readwrite |
◆ metadata
◆ reply
QNetworkReply qSlicerExtensionDownloadTask::reply |
|
read |
◆ qSlicerExtensionDownloadTask()
qSlicerExtensionDownloadTask::qSlicerExtensionDownloadTask |
( |
QNetworkReply * |
reply, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
Constructor.
The task takes ownership of the reply and will delete it when the task is destroyed.
◆ ~qSlicerExtensionDownloadTask()
virtual qSlicerExtensionDownloadTask::~qSlicerExtensionDownloadTask |
( |
| ) |
|
|
virtual |
◆ 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
◆ 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 & |
| ) |
|
◆ 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: