![]() |
Home · All Classes · All Functions · | ![]() |
The QVersitProperty class stores the name, value and parameters of a versit property. More...
#include <QVersitProperty>
QVersitProperty () | |
QVersitProperty ( const QVersitProperty & other ) | |
~QVersitProperty () | |
void | addParameter ( const QString & name, const QString & value ) |
QVersitDocument | embeddedDocument () const |
QStringList | groups () const |
QString | name () const |
QMultiHash<QString, QString> | parameters () const |
void | removeParameter ( const QString & name, const QString & value ) |
void | setEmbeddedDocument ( const QVersitDocument & document ) |
void | setGroups ( const QStringList & groups ) |
void | setName ( const QString & name ) |
void | setParameters ( const QMultiHash<QString, QString> & parameters ) |
void | setValue ( const QByteArray & value ) |
QByteArray | value () const |
QVersitProperty & | operator= ( const QVersitProperty & other ) |
The QVersitProperty class stores the name, value and parameters of a versit property.
For example a vCard can be presented as a QVersitDocument that consists of 0..n properties such as a name (N), a telephone number (TEL) and an email address (EMAIL) to name a few. Each of these properties is stored as an instance of a QVersitProperty in a QVersitDocument.
QVersitProperty supports implicit sharing. The property name and parameters of a QVersitProperty are converted to upper-case when they are stored to a QVersitProperty. The value of a QVersitProperty is raw data and it is case-sensitive.
See also QVersitDocument.
Constructs a new empty property
Constructs a property that is a copy of other
Frees the memory used by the property
Adds a new parameter with name and value. Both the name and the value are converted to upper-case.
Returns the embedded document of the property. If the embedded document has not been set, an empty document is returned.
See also setEmbeddedDocument().
Gets the groups part of the property.
See also setGroups().
Gets the name of the property in upper-case.
See also setName().
Return a copy of the contained list of parameters. Note that actual the parameters cannot be modified using the copy.
See also setParameters().
Removes a parameter with name and value.
Sets the embedded document of the property
See also embeddedDocument().
Sets the groups in the property to the given list of groups.
See also groups().
Sets the name of the property. The name is converted to upper-case.
See also name().
Replaces all the parameters with parameters. The parameters are converted to upper-case.
See also parameters().
Sets the value of the property.
See also value().
Returns the value of the property.
See also setValue().
Assigns this property to other
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.0 (Technology Preview) |