KContacts::Role Class
class KContacts::RoleClass that holds a Role for a contact. More...
Header: | #include <KContacts/Role> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Contacts) target_link_libraries(mytarget PRIVATE KF6::Contacts) |
Since: | 5.3 |
Public Types
Public Functions
Role() | |
Role(const QString &role) | |
bool | isValid() const |
QString | role() const |
void | setRole(const QString &role) |
QString | toString() const |
bool | operator!=(const KContacts::Role &other) const |
bool | operator==(const KContacts::Role &other) const |
Related Non-Members
QDataStream & | operator<<(QDataStream &stream, const KContacts::Role &object) |
QDataStream & | operator>>(QDataStream &stream, KContacts::Role &object) |
Detailed Description
Member Type Documentation
Role::List
Member Function Documentation
Role::Role()
See also setRole().
Role::Role(const QString &role)
bool Role::isValid() const
QString Role::role() const
See also setRole().
void Role::setRole(const QString &role)
See also role().