KContacts::Role

Search for usage in LXR

KContacts::Role Class Reference

#include <role.h>

Public Types

typedef QList< RoleList
 

Public Member Functions

 Role (const QString &role)
 
 Role (const Role &other)
 
bool isValid () const
 
bool operator!= (const Role &other) const
 
Roleoperator= (const Role &other)
 
bool operator== (const Role &other) const
 
QString role () const
 
void setRole (const QString &role)
 
QString toString () const
 

Detailed Description

Class that holds a Role for a contact.

Since
5.3

Definition at line 26 of file role.h.

Member Typedef Documentation

◆ List

Definition at line 40 of file role.h.

Constructor & Destructor Documentation

◆ Role() [1/3]

Role::Role ( )

Definition at line 34 of file role.cpp.

◆ Role() [2/3]

Role::Role ( const Role & other)

Definition at line 39 of file role.cpp.

◆ Role() [3/3]

Role::Role ( const QString & role)

Definition at line 44 of file role.cpp.

◆ ~Role()

Role::~Role ( )

Definition at line 50 of file role.cpp.

Member Function Documentation

◆ isValid()

bool Role::isValid ( ) const

Definition at line 64 of file role.cpp.

◆ operator!=()

bool Role::operator!= ( const Role & other) const

Definition at line 84 of file role.cpp.

◆ operator=()

Role & Role::operator= ( const Role & other)

Definition at line 89 of file role.cpp.

◆ operator==()

bool Role::operator== ( const Role & other) const

Definition at line 79 of file role.cpp.

◆ role()

QString Role::role ( ) const

Definition at line 59 of file role.cpp.

◆ setRole()

void Role::setRole ( const QString & role)

Definition at line 54 of file role.cpp.

◆ toString()

QString Role::toString ( ) const

Definition at line 98 of file role.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.