QXmppVCardOrganization Class
Represents organization information in XMPP vCards. More...
| Header: | #include <QXmppVCardIq.h> |
Public Functions
| QXmppVCardOrganization() | |
| QXmppVCardOrganization(const QXmppVCardOrganization &other) | |
| QString | organization() const |
| QString | role() const |
| void | setOrganization(const QString &name) |
| void | setRole(const QString &role) |
| void | setTitle(const QString &title) |
| void | setUnit(const QString &unit) |
| QString | title() const |
| QString | unit() const |
| QXmppVCardOrganization & | operator=(const QXmppVCardOrganization &other) |
Related Non-Members
| bool | operator!=(const QXmppVCardOrganization &left, const QXmppVCardOrganization &right) |
| bool | operator==(const QXmppVCardOrganization &left, const QXmppVCardOrganization &right) |
Detailed Description
This contains both information about organization itself and information about job position in the organization.
Member Function Documentation
QXmppVCardOrganization::QXmppVCardOrganization()
Constructs an empty organization information.
QXmppVCardOrganization::QXmppVCardOrganization(const QXmppVCardOrganization &other)
Constructs a copy of other.
QString QXmppVCardOrganization::organization() const
Returns the name of the organization.
See also setOrganization().
QString QXmppVCardOrganization::role() const
Returns the job role within the organization.
See also setRole().
void QXmppVCardOrganization::setOrganization(const QString &name)
Sets the organization name.
See also organization().
void QXmppVCardOrganization::setRole(const QString &role)
Sets the job role within the organization.
See also role().
void QXmppVCardOrganization::setTitle(const QString &title)
Sets the job title within the organization.
See also title().
void QXmppVCardOrganization::setUnit(const QString &unit)
Sets the unit within the organization.
See also unit().
QString QXmppVCardOrganization::title() const
Returns the job title within the organization.
See also setTitle().
QString QXmppVCardOrganization::unit() const
Returns the organization unit (also known as department).
See also setUnit().
QXmppVCardOrganization &QXmppVCardOrganization::operator=(const QXmppVCardOrganization &other)
Assigns other to this organization info.
Related Non-Members
bool operator!=(const QXmppVCardOrganization &left, const QXmppVCardOrganization &right)
Returns true if left and right are not equal.
bool operator==(const QXmppVCardOrganization &left, const QXmppVCardOrganization &right)
Returns true if left and right are equal.