KABC::VCardLine Class Reference
List of all members.Detailed Description
Definition at line 32 of file vcardline.h.
Public Types | |
typedef QValueList< VCardLine > | List |
typedef QMap< QString, QStringList > | ParamMap |
Public Member Functions | |
VCardLine (const QString &identifier) | |
VCardLine (const QString &identifier, const QVariant &value) | |
VCardLine (const VCardLine &) | |
VCardLine & | operator= (const VCardLine &) |
void | setIdentifier (const QString &identifier) |
QString | identifier () const |
void | setValue (const QVariant &value) |
QVariant | value () const |
void | setGroup (const QString &group) |
QString | group () const |
bool | hasGroup () const |
QStringList | parameterList () const |
void | addParameter (const QString ¶m, const QString &value) |
QStringList | parameters (const QString ¶m) const |
QString | parameter (const QString ¶m) const |
Member Function Documentation
Add a new parameter to the line.
QString KABC::VCardLine::group | ( | ) | const |
Returns the group the line belongs to.
bool KABC::VCardLine::hasGroup | ( | ) | const |
Returns whether the line belongs to a group.
QString KABC::VCardLine::identifier | ( | ) | const |
Returns the identifier of this line.
Returns only the first value of a special parameter.
You can get a list of all parameters with paramList().
QStringList KABC::VCardLine::parameterList | ( | ) | const |
Returns all parameters.
QStringList KABC::VCardLine::parameters | ( | const QString & | param | ) | const |
Returns the values of a special parameter.
You can get a list of all parameters with paramList().
void KABC::VCardLine::setGroup | ( | const QString & | group | ) |
Sets the group the line belongs to.
void KABC::VCardLine::setIdentifier | ( | const QString & | identifier | ) |
Sets the identifier of this line e.g.
UID, FN, CLASS
void KABC::VCardLine::setValue | ( | const QVariant & | value | ) |
Sets the value of of this line.
QVariant KABC::VCardLine::value | ( | ) | const |
Returns the value of this line.
The documentation for this class was generated from the following file: