PasswordChangeRequest Event
Signals that the server requests a password change.
Syntax
class SFTPClientPasswordChangeRequestEventParams { public: const QString &Prompt(); const QString &NewPassword(); void SetNewPassword(const QString &qsNewPassword); bool Cancel(); void SetCancel(bool bCancel); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void PasswordChangeRequest(SFTPClientPasswordChangeRequestEventParams *e);
// Or, subclass SFTPClient and override this emitter function. virtual int FirePasswordChangeRequest(SFTPClientPasswordChangeRequestEventParams *e) {...}
Remarks
The class fires this event to pass the password change request from the server to the application. This event is fired during the SSH handshake.