The VirtualFile class write and read data from the Ram.
More...
#include <virtualfile.h>
|
| VirtualFile (const QSharedPointer< QNetworkReply > &replay=nullptr) |
|
const QByteArray & | array () const |
|
Type | type () const override |
| type This is type of the file object.
|
|
void | setArray (const QByteArray &newArray) |
|
| iFile (const QSharedPointer< QNetworkReply > &replay) |
|
float | uploadProgress () const |
| Get the current upload progress.
|
|
void | setUploadProgress (float newUploadProgress) |
| Set the upload progress.
|
|
float | downloadProgress () const |
| Get the current download progress.
|
|
void | setDownloadProgress (float newDownloadProgress) |
| Set the download progress.
|
|
int | error () const |
| Get the error code associated with this file.
|
|
void | setError (int newError) |
| Set the error code for this file.
|
|
const QSharedPointer< QNetworkReply > & | replay () const |
| Get the shared pointer to the associated QNetworkReply.
|
|
bool | isFinished () const |
| finished return true if the request was finished else false.
|
|
void | setDownloadRequest (const QSharedPointer< QNetworkReply > &replay) |
| setDownloadRequest This method sets replay for the file.
|
|
The VirtualFile class write and read data from the Ram.
Definition at line 18 of file virtualfile.h.
◆ VirtualFile()
qTbot::VirtualFile::VirtualFile |
( |
const QSharedPointer< QNetworkReply > & |
replay = nullptr | ) |
|
◆ array()
const QByteArray & qTbot::VirtualFile::array |
( |
| ) |
const |
◆ handleError
void qTbot::VirtualFile::handleError |
( |
QNetworkReply::NetworkError |
error | ) |
|
|
overrideprotectedslot |
◆ handleFinished
void qTbot::VirtualFile::handleFinished |
( |
| ) |
|
|
overrideprotectedslot |
◆ handleReadReady
void qTbot::VirtualFile::handleReadReady |
( |
| ) |
|
|
overrideprotectedslot |
◆ setArray()
void qTbot::VirtualFile::setArray |
( |
const QByteArray & |
newArray | ) |
|
◆ type()
The documentation for this class was generated from the following files: