KCal Library
customproperties.cpp
Go to the documentation of this file.
A class to manage custom calendar properties.
Definition: customproperties.h:52
CustomProperties()
Constructs an empty custom properties instance.
Definition: customproperties.cpp:65
This file is part of the API for handling calendar data and defines the CustomProperties class...
QString nonKDECustomProperty(const QByteArray &name) const
Return the value of a non-KDE or non-standard custom calendar property.
Definition: customproperties.cpp:145
QMap< QByteArray, QString > customProperties() const
Returns all custom calendar property key/value pairs.
Definition: customproperties.cpp:166
bool isEmpty() const
int length() const
void setCustomProperty(const QByteArray &app, const QByteArray &key, const QString &value)
Create or modify a custom calendar property.
Definition: customproperties.cpp:96
bool isNull() const
void removeCustomProperty(const QByteArray &app, const QByteArray &key)
Delete a custom calendar property.
Definition: customproperties.cpp:110
void setNonKDECustomProperty(const QByteArray &name, const QString &value)
Create or modify a non-KDE or non-standard custom calendar property.
Definition: customproperties.cpp:129
QString customProperty(const QByteArray &app, const QByteArray &key) const
Return the value of a custom calendar property.
Definition: customproperties.cpp:115
CustomProperties & operator=(const CustomProperties &other)
Assignment operator.
Definition: customproperties.cpp:75
iterator end()
iterator begin()
static QByteArray customPropertyName(const QByteArray &app, const QByteArray &key)
Validate and return the full name of a custom calendar property.
Definition: customproperties.cpp:120
void setCustomProperties(const QMap< QByteArray, QString > &properties)
Initialise the alarm's custom calendar properties to the specified key/value pairs.
Definition: customproperties.cpp:150
virtual void customPropertyUpdated()
Called when a custom property has been changed.
Definition: customproperties.h:178
void removeNonKDECustomProperty(const QByteArray &name)
Delete a non-KDE or non-standard custom calendar property.
Definition: customproperties.cpp:138
bool operator==(const CustomProperties &properties) const
Compare this with properties for equality.
Definition: customproperties.cpp:91
const T value(const Key &key) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.