itom 1.3.0
|
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 |
shortdesc | |
QString | getUserID (QString inifile) const |
shortdesc | |
int | getFlagsFromFile (QString fileName) |
shortdesc | |
int | getFlagsFromFile (void) |
void | writeFlagsToFile (int flags) |
void | writeFlagsToFile (int flags, QString file) |
shortdesc | |
void | setUiFlags (userFeatures flags) |
userFeatures | getUiFlags (void) const |
void | setSettingsFile (QString &settingsFile) |
QString | getSettingsFile () const |
ito::RetVal | loadSettings (const QString defUserName) |
shortdesc | |
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
int ito::UserOrganizer::getFlagsFromFile | ( | QString | fileName | ) |
shortdesc
longdesc
fileName |
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
QString ito::UserOrganizer::getUserID | ( | void | ) | const |
shortdesc
longdesc
QString ito::UserOrganizer::getUserID | ( | QString | inifile | ) | const |
shortdesc
longdesc
inifile |
ito::RetVal ito::UserOrganizer::loadSettings | ( | const QString | defUserName | ) |
void ito::UserOrganizer::writeFlagsToFile | ( | int | flags, |
QString | iniFile | ||
) |
shortdesc
longdesc
flags | |
iniFile |
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