KCalCore Library
customproperties.cpp
Go to the documentation of this file.
49 // Volatile properties are not written back to the serialized format and are not compared in operator==
A class to manage custom calendar properties.
Definition customproperties.h:52
void removeCustomProperty(const QByteArray &app, const QByteArray &key)
Delete a custom calendar property.
Definition customproperties.cpp:138
bool operator==(const CustomProperties &properties) const
Compare this with properties for equality.
Definition customproperties.cpp:112
void setNonKDECustomProperty(const QByteArray &name, const QString &value, const QString ¶meters=QString())
Create or modify a non-KDE or non-standard custom calendar property.
Definition customproperties.cpp:157
void setCustomProperty(const QByteArray &app, const QByteArray &key, const QString &value)
Create or modify a custom calendar property.
Definition customproperties.cpp:117
virtual void virtual_hook(int id, void *data)
Definition customproperties.cpp:232
void setCustomProperties(const QMap< QByteArray, QString > &properties)
Initialise the alarm's custom calendar properties to the specified key/value pairs.
Definition customproperties.cpp:192
CustomProperties & operator=(const CustomProperties &other)
Assignment operator.
Definition customproperties.cpp:96
QString nonKDECustomPropertyParameters(const QByteArray &name) const
Return the parameters of a non-KDE or non-standard custom calendar property.
Definition customproperties.cpp:187
void removeNonKDECustomProperty(const QByteArray &name)
Delete a non-KDE or non-standard custom calendar property.
Definition customproperties.cpp:168
virtual void customPropertyUpdate()
Called before a custom property will be changed.
Definition customproperties.cpp:224
QString customProperty(const QByteArray &app, const QByteArray &key) const
Return the value of a custom calendar property.
Definition customproperties.cpp:143
QMap< QByteArray, QString > customProperties() const
Returns all custom calendar property key/value pairs.
Definition customproperties.cpp:215
static QByteArray customPropertyName(const QByteArray &app, const QByteArray &key)
Validate and return the full name of a custom calendar property.
Definition customproperties.cpp:148
virtual void customPropertyUpdated()
Called when a custom property has been changed.
Definition customproperties.cpp:228
QString nonKDECustomProperty(const QByteArray &name) const
Return the value of a non-KDE or non-standard custom calendar property.
Definition customproperties.cpp:182
This file is part of the API for handling calendar data and defines the CustomProperties class.
KCALCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalCore::Alarm::Ptr &)
Alarm deserializer.
Definition alarm.cpp:863
KCALCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalCore::Alarm::Ptr &)
Alarm serializer.
Definition alarm.cpp:853
static uint qHash(const KDateTime &dt)
Private class that helps to provide binary compatibility between releases.
Definition occurrenceiterator.cpp:157
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.