Progress Event
Reports the data encryption/decryption progress.
Syntax
class SymmetricCryptoProgressEventParams { 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(SymmetricCryptoProgressEventParams *e);
// Or, subclass SymmetricCrypto and override this emitter function. virtual int FireProgress(SymmetricCryptoProgressEventParams *e) {...}
Remarks
This event fires periodically during a file encrypt/decrypt operation to report its progress.
Use the Cancel parameter to terminate the encryption/decryption if needed.