Progress Event
Fires periodically during the data transfer.
Syntax
class WebDAVClientProgressEventParams { public: qint64 Total(); qint64 Current(); bool Cancel(); void SetCancel(bool bCancel); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Progress(WebDAVClientProgressEventParams *e);
// Or, subclass WebDAVClient and override this emitter function. virtual int FireProgress(WebDAVClientProgressEventParams *e) {...}
Remarks
Use this event to check the progress of an upload or download operation. Total indicates the total number of bytes to be transferred; Current specifies how much data has been transferred so far, and Cancel gives you a chance to cancel the operation.