projects
/
situare
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clear user information only when logout initiated from logout button.
[situare]
/
src
/
facebookservice
/
facebookauthentication.h
diff --git
a/src/facebookservice/facebookauthentication.h
b/src/facebookservice/facebookauthentication.h
index
28725bd
..
f6969a7
100644
(file)
--- a/
src/facebookservice/facebookauthentication.h
+++ b/
src/facebookservice/facebookauthentication.h
@@
-63,16
+63,16
@@
public slots:
/**
* @brief Clears account information from settings
*
/**
* @brief Clears account information from settings
*
- * @param keepUsername keep = true, false otherwise
+ * @param clearUserInformation True if user information should be cleared
*/
*/
- void clearAccountInformation(bool keepUsername = false);
+ void clearAccountInformation(bool clearUserInformation = false);
/**
* @brief Is the user currently logged in
*
* @returns True if the user is logged in, otherwise false
*/
/**
* @brief Is the user currently logged in
*
* @returns True if the user is logged in, otherwise false
*/
- bool isLoggedIn();
+ bool isLoggedIn() const;
/**
* @brief Initiate login process
/**
* @brief Initiate login process
@@
-83,8
+83,10
@@
public slots:
/**
* @brief Log out
/**
* @brief Log out
+ *
+ * @param clearUserInformation True if user information should be cleared
*/
*/
- void logOut();
+ void logOut(bool clearUserInformation = false);
private:
/**
private:
/**