itom 1.3.0
ito::UserOrganizer Class Reference

List of all members.

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 UserOrganizergetInstance (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 UserOrganizerm_pUserOrganizer = NULL

Member Function Documentation

RetVal ito::UserOrganizer::closeInstance ( void  ) [static]

closeInstance

Returns:
ito::retOk

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

Parameters:
fileName
Returns:
int
UserOrganizer * ito::UserOrganizer::getInstance ( void  ) [static]

getInstance method, retrieves Instance of the userOrganizer (or opens it if no instance exists)

Returns:
instance of the userOrganizer

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

Returns:
QString
QString ito::UserOrganizer::getUserID ( QString  inifile) const

shortdesc

longdesc

Parameters:
inifile
Returns:
QString
ito::RetVal ito::UserOrganizer::loadSettings ( const QString  defUserName)

shortdesc

longdesc

Parameters:
defUserName
Returns:
RetVal
void ito::UserOrganizer::writeFlagsToFile ( int  flags,
QString  iniFile 
)

shortdesc

longdesc

Parameters:
flags
iniFile

Member Data Documentation

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends