*/
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
* 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
*/
void loginFailure();
- /**
- * @brief This signal is emitted if user exits logging in by pressing X
- *
- */
- void userExit();
-
private:
/**