TNetworkFileIo Class
Header: | #include <TNetworkFileIo> |
Inherits: | QObject |
Public Functions
TNetworkFileIo() | |
~TNetworkFileIo() | |
QStringList | downloadFiles(const QVariantMap &iFileInfos, const QString &iSaveDir, TError *oError = nullptr) |
void | setConnectParameter(const QVariant &iParameter, TError *oError = nullptr) |
void | setServerDir(const QString &iServerDir) |
void | stop() |
QStringList | uploadFiles(const QStringList &iPaths, const QString &iServerDir = QString(), TError *oErro = nullptr) |
- 31 public functions inherited from QObject
Signals
void | eventloopStoped() |
void | processInfo(qint64, qint64, int, int) |
- 2 signals inherited from QObject
Protected Functions
void | downloadFile(const QString &iFileName, const QString &iMD5) |
QString | listTranslateString(const QStringList &iLst) |
void | localMd5Check() |
void | serverMd5Check() |
void | uploadFile(const QString &iFileName, const QString &iMD5) |
- 9 protected functions inherited from QObject
Protected Slots
void | onDownFinished() |
void | onFinished(QNetworkReply *pReply) |
void | onProcess(qint64 bytesCurrent, qint64 bytesTotal) |
void | onReadyRead() |
void | onReplyError(QNetworkReply::NetworkError) |
void | onSslErrors(QNetworkReply *reply, QList<QSslError> errors) |
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
Member Function Documentation
TNetworkFileIo::TNetworkFileIo()
Default constructs an instance of TNetworkFileIo.
TNetworkFileIo::~TNetworkFileIo()
Destroys the instance of TNetworkFileIo.