refactored engine and situareservice
[situare] / src / facebookservice / facebookauthentication.h
index 0d07323..785d909 100644 (file)
@@ -77,16 +77,7 @@ public slots:
     */
     void start();
 
-private:
-
-    /**
-    * @brief Program cames to this method when user closes login screen by pressing X.
-    *        method sends userExit() signal in this function
-    *
-    * @param event without parameter program does not come to this function when user exits by
-    *               pressing X.
-    */
-    void closeEvent(QCloseEvent *event);
+private: 
 
     /**
     * @brief  Appends given parts to returned string. Method is used to form facebook login page
@@ -146,8 +137,9 @@ signals:
     *        Signal is also emitted at the beginning of the program if there is valid credentials
     *        in the file.
     *
+    * @param credentials New credentials
     */
-    void credentialsReady();
+    void credentialsReady(const FacebookCredentials &credentials);
 
     /**
     * @brief This signal is emitted if updateCredentials method can't find credentials from URL
@@ -155,12 +147,6 @@ signals:
     */
     void loginFailure();
 
-    /**
-    * @brief This signal is emitted if user exits logging in by pressing X
-    *
-    */
-    void userExit();
-
 private:
 
     /**