Work in progress: hacks at vienna, do not use it
[googlelatitude] / libkqoauth / kqoauthmanager.h
index cdd0f4e..1aaba17 100644 (file)
@@ -58,7 +58,8 @@ public:
      * 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.
@@ -140,6 +141,8 @@ Q_SIGNALS:
     // 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
@@ -164,6 +167,7 @@ Q_SIGNALS:
 
 private Q_SLOTS:
     void onRequestReplyReceived( QNetworkReply *reply );
+    void onAuthorizedRequestReplyReceived( QNetworkReply *reply );
     void onVerificationReceived(QMultiMap<QString, QString> response);
     void slotError(QNetworkReply::NetworkError error);