Progress Event
Reports the progress of data extraction.
Syntax
class ArchiveReaderProgressEventParams { public: qint64 Processed(); qint64 Total(); qint64 OverallProcessed(); qint64 OverallTotal(); bool Cancel(); void SetCancel(bool bCancel); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Progress(ArchiveReaderProgressEventParams *e);
// Or, subclass ArchiveReader and override this emitter function. virtual int FireProgress(ArchiveReaderProgressEventParams *e) {...}
Remarks
Subscribe to this event to be notified about decompression progress.
Processed and Total report the progress of extraction of the current entry; OverallProcessed and OverallTotal report the progress of the whole operation. Set Cancel to true to stop the operation.