itom
1.0.13
|
Public Member Functions | |
void | setUserName (const QString userName) |
const QString | getUserName () const |
void | setUserRole (const int role) |
void | setUserRole (const QString role) |
int | getUserRole () const |
QString | getUserID (void) const |
QString | getUserID (QString inifile) const |
int | getFlagsFromFile (QString fileName) |
int | getFlagsFromFile (void) |
void | writeFlagsToFile (int flags) |
void | writeFlagsToFile (int flags, QString file) |
void | setUiFlags (userFeatures flags) |
userFeatures | getUiFlags (void) const |
void | setSettingsFile (QString &settingsFile) |
QString | getSettingsFile () const |
ito::RetVal | loadSettings (const QString defUserName) |
char | hasFeature (userFeatures feature) |
Static Public Member Functions | |
static UserOrganizer * | getInstance (void) |
static RetVal | closeInstance (void) |
Private Member Functions | |
UserOrganizer (void) | |
userOrganizer implementation | |
UserOrganizer (UserOrganizer &) | |
Private Attributes | |
int | m_userRole |
QString | m_userName |
userFeatures | m_features |
QString | m_settingsFile |
Static Private Attributes | |
static UserOrganizer * | m_pUserOrganizer = NULL |
RetVal ito::UserOrganizer::closeInstance | ( | void | ) | [static] |
closeInstance
closes the instance of the userOrganizer - should only be called at the very closing of the main program
UserOrganizer * ito::UserOrganizer::getInstance | ( | void | ) | [static] |
getInstance method, retrieves Instance of the userOrganizer (or opens it if no instance exists)
This method returns the instance of the userOrganizer, i.e. if the userOrganizer has not been started, it is started then. Otherwise the reference to the open userOrganizer is returned
ito::UserOrganizer * ito::UserOrganizer::m_pUserOrganizer = NULL [static, private] |
global variable reference used to store AddInManager reference, as the AIM is singleton this variable is principally only accessed by the class itself. Its value is return also by the getReference AddInManager::method of AIM