LaunchBrowser Event
Fires to show the login page to the end-user.
Syntax
class OAuthClientLaunchBrowserEventParams { public: const QString &URL(); bool Handled(); void SetHandled(bool bHandled); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void LaunchBrowser(OAuthClientLaunchBrowserEventParams *e);
// Or, subclass OAuthClient and override this emitter function. virtual int FireLaunchBrowser(OAuthClientLaunchBrowserEventParams *e) {...}
Remarks
Subscribe to this event to respond to requests from the component to open the URL in the browser. Set Handled to true to report that the URL has been opened in the browser.