KAlarm Library
collectionattribute.cpp
An Attribute for a KAlarm Collection containing various status information.
Definition collectionattribute.h:52
CalEvent::Types enabled() const
Return which alarm types (active, archived or template) the collection is enabled for.
Definition collectionattribute.cpp:79
void setKeepFormat(bool keep)
Set whether to keep the old calendar storage format unchanged.
Definition collectionattribute.cpp:165
virtual void deserialize(const QByteArray &data)
Reimplemented from Attribute.
Definition collectionattribute.cpp:196
bool keepFormat() const
Return whether the user has chosen to keep the old calendar storage format, i.e.
Definition collectionattribute.cpp:160
bool isEnabled(CalEvent::Type type) const
Return whether the collection is enabled for a specified alarm type (active, archived,...
Definition collectionattribute.cpp:74
void setBackgroundColor(const QColor &c)
Set the background color for this collection and its alarms.
Definition collectionattribute.cpp:155
virtual QByteArray serialized() const
Reimplemented from Attribute.
Definition collectionattribute.cpp:180
CalEvent::Types standard() const
Return which alarm types (active, archived or template) the collection is standard for.
Definition collectionattribute.cpp:123
virtual CollectionAttribute * clone() const
Reimplemented from Attribute.
Definition collectionattribute.cpp:69
void setEnabled(CalEvent::Type type, bool enabled)
Set the enabled/disabled state of the collection and its alarms, for a specified alarm type (active,...
Definition collectionattribute.cpp:84
CollectionAttribute & operator=(const CollectionAttribute &other)
Assignment operator.
Definition collectionattribute.cpp:59
QColor backgroundColor() const
Return the background color to display this collection and its alarms, or invalid color if none is se...
Definition collectionattribute.cpp:150
bool isStandard(CalEvent::Type type) const
Return whether the collection is the standard collection for a specified alarm type (active,...
Definition collectionattribute.cpp:110
void setStandard(CalEvent::Type, bool standard)
Set or clear the collection as the standard collection for a specified alarm type (active,...
Definition collectionattribute.cpp:128
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.