Parsing the access token from the url
[situare] / src / facebookservice / facebookauthentication.h
index f7f8082..23c5e4c 100644 (file)
@@ -85,12 +85,17 @@ public slots:
     /**
     * @brief Shows the m_webView and loads page that is specified in the m_facebookLoginPage
     *        variable. Specifies font size for the page.
-    *    
+    *
     */
     void start();
 
+private:
+    QString parseAccessToken(const QUrl &url);
+
 private slots:
 
+    void loadFinished(bool ok);
+
     /**
     * @brief  Search credentials from URL that is given as parameter.
     *         If credentials are found thay are stored to loginCredentials variable.
@@ -101,6 +106,8 @@ private slots:
     */
     bool updateCredentials(const QUrl & url);
 
+    void urlChanged(const QUrl &url);
+
 /*******************************************************************************
  * SIGNALS
  ******************************************************************************/