Progress Event
Reports the progress of data compression.
Syntax
class ArchiveWriterProgressEventParams { 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(ArchiveWriterProgressEventParams *e);
// Or, subclass ArchiveWriter and override this emitter function. virtual int FireProgress(ArchiveWriterProgressEventParams *e) {...}
Remarks
Subscribe to this event to be notified about compression progress.
Processed and Total report the progress of compression of the current entry; OverallProcessed and OverallTotal report the progress of the whole operation. Set Cancel to true to stop the operation.