aboutsummaryrefslogtreecommitdiff
path: root/jobs/basejob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/basejob.h')
-rw-r--r--jobs/basejob.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/jobs/basejob.h b/jobs/basejob.h
index 6648dc1b..e9e108c6 100644
--- a/jobs/basejob.h
+++ b/jobs/basejob.h
@@ -192,6 +192,9 @@ namespace QMatrixClient
*/
void failure(BaseJob*);
+ void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
+ void uploadProgress(qint64 bytesSent, qint64 bytesTotal);
+
protected:
using headers_t = QHash<QByteArray, QByteArray>;
@@ -210,6 +213,9 @@ namespace QMatrixClient
void setExpectedContentTypes(const QByteArrayList& contentTypes);
virtual void beforeStart(const ConnectionData* connData);
+ virtual void afterStart(const ConnectionData* connData,
+ QNetworkReply* reply);
+ virtual void beforeAbandon(QNetworkReply*);
/**
* Used by gotReply() to check the received reply for general