KContacts::Email
KContacts::Email Class Reference
#include <email.h>
Public Types | |
typedef QVector< Email > | List |
typedef QFlags< TypeFlag > | Type |
enum | TypeFlag { Unknown = 0, Home = 1, Work = 2, Other = 4 } |
Properties | |
QString | |
bool | isPreferred |
bool | isValid |
Type | type |
Public Member Functions | |
Email () | |
Email (const Email &other) | |
Email (const QString &mail) | |
bool | isPreferred () const |
bool | isValid () const |
QString | mail () const |
bool | operator!= (const Email &other) const |
Email & | operator= (const Email &other) |
bool | operator== (const Email &other) const |
QMap< QString, QStringList > | parameters () const |
void | setEmail (const QString &mail) |
void | setParameters (const QMap< QString, QStringList > ¶ms) |
void | setPreferred (bool preferred) |
void | setType (Type type) |
QString | toString () const |
Type | type () const |
Detailed Description
Member Typedef Documentation
◆ Type
typedef QFlags< TypeFlag > KContacts::Email::Type |
Member Enumeration Documentation
◆ TypeFlag
Constructor & Destructor Documentation
◆ Email()
Member Function Documentation
◆ isPreferred()
bool KContacts::Email::isPreferred | ( | ) | const |
Returns whether this is the preferred email address.
- Since
- 5.12
◆ parameters()
QMap< QString, QStringList > Email::parameters | ( | ) | const |
- Deprecated:
- Since 5.88 for lack of usage
◆ setParameters()
void Email::setParameters | ( | const QMap< QString, QStringList > & | params | ) |
- Deprecated:
- Since 5.88 for lack of usage
◆ setPreferred()
void Email::setPreferred | ( | bool | preferred | ) |
◆ setType()
void Email::setType | ( | Type | type | ) |
◆ type()
Type KContacts::Email::type | ( | ) | const |
Returns the type of the email.
- Since
- 5.12
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 04:12:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 04:12:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.