KCalendarCore
customproperties.cpp
Go to the documentation of this file.
36 // Volatile properties are not written back to the serialized format and are not compared in operator==
99void CustomProperties::setCustomProperty(const QByteArray &app, const QByteArray &key, const QString &value)
138void CustomProperties::setNonKDECustomProperty(const QByteArray &name, const QString &value, const QString ¶meters)
168 return d->isVolatileProperty(QLatin1String(name)) ? d->mVolatileProperties.value(name) : d->mProperties.value(name);
228 if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || (ch >= '0' && ch <= '9') || ch == '-') {
237QDataStream &KCalendarCore::operator<<(QDataStream &stream, const KCalendarCore::CustomProperties &properties)
242QDataStream &KCalendarCore::operator>>(QDataStream &stream, KCalendarCore::CustomProperties &properties)
A class to manage custom calendar properties.
Definition customproperties.h:39
void removeCustomProperty(const QByteArray &app, const QByteArray &key)
Delete a custom calendar property.
Definition customproperties.cpp:119
bool operator==(const CustomProperties &properties) const
Compare this with properties for equality.
Definition customproperties.cpp:94
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:138
void setCustomProperty(const QByteArray &app, const QByteArray &key, const QString &value)
Create or modify a custom calendar property.
Definition customproperties.cpp:99
void setCustomProperties(const QMap< QByteArray, QString > &properties)
Initialise the alarm's custom calendar properties to the specified key/value pairs.
Definition customproperties.cpp:176
CustomProperties & operator=(const CustomProperties &other)
Assignment operator.
Definition customproperties.cpp:78
QString nonKDECustomPropertyParameters(const QByteArray &name) const
Return the parameters of a non-KDE or non-standard custom calendar property.
Definition customproperties.cpp:171
void removeNonKDECustomProperty(const QByteArray &name)
Delete a non-KDE or non-standard custom calendar property.
Definition customproperties.cpp:152
virtual void customPropertyUpdate()
Called before a custom property will be changed.
Definition customproperties.cpp:208
QString customProperty(const QByteArray &app, const QByteArray &key) const
Return the value of a custom calendar property.
Definition customproperties.cpp:124
QMap< QByteArray, QString > customProperties() const
Returns all custom calendar property key/value pairs.
Definition customproperties.cpp:198
static QByteArray customPropertyName(const QByteArray &app, const QByteArray &key)
Validate and return the full name of a custom calendar property.
Definition customproperties.cpp:129
virtual void customPropertyUpdated()
Called when a custom property has been changed.
Definition customproperties.cpp:212
QString nonKDECustomProperty(const QByteArray &name) const
Return the value of a non-KDE or non-standard custom calendar property.
Definition customproperties.cpp:166
This file is part of the API for handling calendar data and defines the CustomProperties class.
KCALENDARCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalendarCore::Alarm::Ptr &)
Alarm deserializer.
Definition alarm.cpp:833
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
Alarm serializer.
Definition alarm.cpp:820
bool operator==(const StyleDelim &l, const StyleDelim &r)
bool isEmpty() const const
const_iterator cbegin() const const
const_iterator cend() const const
size_type count() const const
iterator insert(const Key &key, const T &value)
bool isNull() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:05 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.