KCal::CustomProperties Class Reference
This class represents custom calendar properties. More...
#include <customproperties.h>
Inheritance diagram for KCal::CustomProperties:

Public Methods | |
CustomProperties () | |
CustomProperties (const CustomProperties &) | |
~CustomProperties () | |
void | setCustomProperty (const QCString &app, const QCString &key, const QString &value) |
void | removeCustomProperty (const QCString &app, const QCString &key) |
QString | customProperty (const QCString &app, const QCString &key) const |
void | setNonKDECustomProperty (const QCString &name, const QString &value) |
void | removeNonKDECustomProperty (const QCString &name) |
QString | nonKDECustomProperty (const QCString &name) const |
void | setCustomProperties (const QMap< QCString, QString > &properties) |
QMap< QCString, QString > | customProperties () const |
Detailed Description
This class represents custom calendar properties.It is used as a base class for classes which represent calendar components. A custom property name written by libkcal has the form X-KDE-APP-KEY where APP represents the application name, and KEY distinguishes individual properties for the application. In keeping with RFC2445, property names must be composed only of the characters A-Z, a-z, 0-9 and '-'.
Definition at line 39 of file customproperties.h.
Constructor & Destructor Documentation
|
Construct a new empty custom properties instance.
Definition at line 25 of file customproperties.cpp. |
Member Function Documentation
|
Create or modify a custom calendar property.
Definition at line 38 of file customproperties.cpp. References QCString::isEmpty(), and QString::isNull(). |
|
Delete a custom calendar property.
Definition at line 49 of file customproperties.cpp. References removeNonKDECustomProperty(). |
|
Return the value of a custom calendar property.
Definition at line 54 of file customproperties.cpp. References nonKDECustomProperty(). |
|
Create or modify a non-KDE or non-standard custom calendar property.
Definition at line 59 of file customproperties.cpp. References QString::isNull(). |
|
Delete a non-KDE or non-standard custom calendar property.
Definition at line 66 of file customproperties.cpp. References QMap< QCString, QString >::end(), QMap< QCString, QString >::find(), and QMap< QCString, QString >::remove(). Referenced by removeCustomProperty(). |
|
Return the value of a non-KDE or non-standard custom calendar property.
Definition at line 73 of file customproperties.cpp. References QMap< QCString, QString >::end(), and QMap< QCString, QString >::find(). Referenced by customProperty(). |
|
Initialise the alarm's custom calendar properties to the specified key/value pairs.
Definition at line 81 of file customproperties.cpp. References QMap::begin(), and QMap::end(). |
|
Return all custom calendar property key/value pairs.
Definition at line 91 of file customproperties.cpp. |
The documentation for this class was generated from the following files: