The User JavaScript class. Defines the data base user parameters. More...
Public Types | |
enum | UserType { RD, EXECUTIVE, COORDINATOR, APPLICATION, TD, ARCHIVE, XSHEET, SCAN, INK_PAINT, ANIMATOR } |
Public Slots | |
String | typeToString (UserType id) |
Convert to a readable string. More... | |
Public Member Functions | |
User (const String &user, QObject *parent) | |
User () | |
User (const User &user) | |
~User () | |
String | oldUserName () const |
String | name () const |
void | setName (const String &text) |
String | firstName () const |
void | setFirstName (const String &text) |
String | lastName () const |
void | setLastName (const String &text) |
UserType | type () const |
void | setType (UserType) |
Properties | |
String | name |
name More... | |
String | firstName |
first name More... | |
String | lastName |
family name More... | |
UserType | type |
type which determines permissions. More... | |
The User JavaScript class. Defines the data base user parameters.
A list of existing users can be retrieved by calling ControlCentre.users(). A new user may be added by the following:
enum User::UserType |
User::User | ( | const String & | user, |
QObject * | parent | ||
) |
User::User | ( | ) |
User::User | ( | const User & | user | ) |
User::~User | ( | ) |
String User::firstName | ( | ) | const |
String User::lastName | ( | ) | const |
String User::name | ( | ) | const |
String User::oldUserName | ( | ) | const |
void User::setFirstName | ( | const String & | text | ) |
void User::setLastName | ( | const String & | text | ) |
void User::setName | ( | const String & | text | ) |
void User::setType | ( | UserType | ) |
UserType User::type | ( | ) | const |
|
slot |
Convert to a readable string.
|
readwrite |
first name
|
readwrite |
family name
|
readwrite |
name
|
readwrite |
type which determines permissions.