EntryKeyNeeded Event
This event is fired to request an entry encryption/decryption key from the application.
Syntax
class PasswordVaultEntryKeyNeededEventParams { public: const QString &EntryName(); bool Cancel(); void SetCancel(bool bCancel); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void EntryKeyNeeded(PasswordVaultEntryKeyNeededEventParams *e);
// Or, subclass PasswordVault and override this emitter function. virtual int FireEntryKeyNeeded(PasswordVaultEntryKeyNeededEventParams *e) {...}
Remarks
The class fires this event when a key is needed to encrypt or decrypt an entry. The EntryName parameter provides the name of the entry.
The handler of this event should assign the password or key to be used to EntryPassword or EntryKey property respectively. Set Cancel to true to abort the operation.