* When the request is done it will emit signal requestReady(QByteArray networkReply).
* NOTE: At the moment there is no timeout for the request.
*/
- void executeRequest(KQOAuthRequest *request);
+ void executeRequest(KQOAuthRequest *request);
+ void executeAuthorizedRequest(KQOAuthRequest *request, int id);
/**
* Indicates to the user that KQOAuthManager should handle user authorization by
* opening the user's default browser and parsing the reply from the service.
// Parameter is the raw response from the service.
void requestReady(QByteArray networkReply);
+ void authorizedRequestReady(QByteArray networkReply, int id);
+
// This signal will be emited when we have an request tokens available
// (either temporary resource tokens, or authorization tokens).
void receivedToken(QString oauth_token, QString oauth_token_secret); // oauth_token, oauth_token_secret
private Q_SLOTS:
void onRequestReplyReceived( QNetworkReply *reply );
+ void onAuthorizedRequestReplyReceived( QNetworkReply *reply );
void onVerificationReceived(QMultiMap<QString, QString> response);
void slotError(QNetworkReply::NetworkError error);