KContacts::Impp
Public Types |
Properties |
Public Member Functions |
Static Public Member Functions |
List of all members
KContacts::Impp Class Reference
#include <impp.h>
Public Types | |
typedef QVector< Impp > | List |
Properties | |
QUrl | address |
bool | isPreferred |
bool | isValid |
QString | serviceIcon |
QString | serviceLabel |
QString | serviceType |
Public Member Functions | |
Impp (const Impp &other) | |
Impp (const QUrl &address) | |
QUrl | address () const |
bool | isPreferred () const |
bool | isValid () const |
bool | operator!= (const Impp &other) const |
Impp & | operator= (const Impp &other) |
bool | operator== (const Impp &other) const |
QMap< QString, QStringList > | parameters () const |
QString | serviceIcon () const |
QString | serviceLabel () const |
QString | serviceType () const |
void | setAddress (const QUrl &address) |
void | setParameters (const QMap< QString, QStringList > ¶ms) |
void | setPreferred (bool preferred) |
QString | toString () const |
Static Public Member Functions | |
static QString | serviceIcon (const QString &serviceType) |
static QString | serviceLabel (const QString &serviceType) |
static QVector< QString > | serviceTypes () |
Detailed Description
Class that holds a IMPP for a contact.
IMPP stands for "Instant Messaging and Presence Protocol". This field is defined in the vCard 3.0 extension RFC 4770 and is part of vCard 4.0 (RFC 6350).
- Since
- 4.14.5
Member Function Documentation
◆ isPreferred()
bool KContacts::Impp::isPreferred | ( | ) | const |
Returns whether this is the preferred messaging address.
- Since
- 5.12
◆ parameters()
QMap< QString, QStringList > Impp::parameters | ( | ) | const |
- Deprecated:
- Since 5.88 for lack of usage
◆ serviceIcon() [1/2]
QString KContacts::Impp::serviceIcon | ( | ) | const |
Returns the name of an icon representing the service type.
- Since
- 5.12
◆ serviceIcon() [2/2]
◆ serviceLabel() [1/2]
QString KContacts::Impp::serviceLabel | ( | ) | const |
Returns a translated label for the service type.
- Since
- 5.12
◆ serviceLabel() [2/2]
◆ serviceType()
QString KContacts::Impp::serviceType | ( | ) | const |
Returns the messaging service this address is for.
This is equivalent to address().scheme().
- Since
- 5.12
◆ serviceTypes()
◆ setParameters()
void Impp::setParameters | ( | const QMap< QString, QStringList > & | params | ) |
- Deprecated:
- Since 5.88 for lack of usage
◆ setPreferred()
void Impp::setPreferred | ( | bool | preferred | ) |
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 Fri Dec 1 2023 03:51:56 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Dec 1 2023 03:51:56 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.