44 #endif // USERSESSION_H
static UserSession * getInstance()
Definition: usersession.cpp:18
QString password
Definition: usersession.h:28
static UserSession * instance
Definition: usersession.h:16
UserSession()
Definition: usersession.cpp:7
Roles
Definition: usersession.h:19
QString userName
Definition: usersession.h:27
Definition: usersession.h:22
bool validateSessionInfo()
Definition: usersession.cpp:49
void setUsername(QString userName)
Definition: usersession.cpp:37
~UserSession()
Definition: usersession.cpp:12
Definition: usersession.h:23
Definition: usersession.h:21
Roles userRole
Definition: usersession.h:30
static void logout()
Definition: usersession.cpp:28
void setPassword(QString password)
Definition: usersession.cpp:43
Definition: usersession.h:11