KABC::VCardLine Class Reference

List of all members.

Detailed Description

Definition at line 32 of file vcardline.h.


Public Types

typedef QValueList< VCardLineList
typedef QMap< QString, QStringListParamMap

Public Member Functions

 VCardLine (const QString &identifier)
 VCardLine (const QString &identifier, const QVariant &value)
 VCardLine (const VCardLine &)
VCardLineoperator= (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 &param, const QString &value)
QStringList parameters (const QString &param) const
QString parameter (const QString &param) const

Member Function Documentation

void KABC::VCardLine::addParameter ( const QString param,
const QString value 
)

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.

QString KABC::VCardLine::parameter ( const QString param  )  const

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:
KDE Home | KDE Accessibility Home | Description of Access Keys