akonadi
#include <blockalarmsattribute.h>
Public Member Functions | |
BlockAlarmsAttribute () | |
~BlockAlarmsAttribute () | |
void | blockAlarmType (KCalCore::Alarm::Type type, bool block=true) |
BlockAlarmsAttribute * | clone () const |
void | deserialize (const QByteArray &data) |
bool | isAlarmTypeBlocked (KCalCore::Alarm::Type type) const |
QByteArray | serialized () const |
QByteArray | type () const |
Public Member Functions inherited from Akonadi::Attribute | |
virtual | ~Attribute () |
Additional Inherited Members | |
Public Types inherited from Akonadi::Attribute | |
typedef QList< Attribute * > | List |
Detailed Description
An Attribute that marks that alarms from a calendar collection are blocked.
A calendar collection which has this attribute set won't be evaluated by korgac and therefore it's alarms won't be used, unless explicitly unblocked in blockAlarmType().
- See also
- Akonadi::Attribute
- Since
- 4.11
Definition at line 41 of file blockalarmsattribute.h.
Constructor & Destructor Documentation
BlockAlarmsAttribute::BlockAlarmsAttribute | ( | ) |
Creates a new block alarms attribute.
Definition at line 47 of file blockalarmsattribute.cpp.
BlockAlarmsAttribute::~BlockAlarmsAttribute | ( | ) |
Destroys the block alarms attribute.
Definition at line 52 of file blockalarmsattribute.cpp.
Member Function Documentation
void BlockAlarmsAttribute::blockAlarmType | ( | KCalCore::Alarm::Type | type, |
bool | block = true |
||
) |
Blocks or unblocks given alarm type.
By default, all alarm types are blocked.
- Since
- 4.11
Definition at line 57 of file blockalarmsattribute.cpp.
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 98 of file blockalarmsattribute.cpp.
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 121 of file blockalarmsattribute.cpp.
bool BlockAlarmsAttribute::isAlarmTypeBlocked | ( | KCalCore::Alarm::Type | type | ) | const |
Returns whether given alarm type is blocked or not.
- Since
- 4.11
Definition at line 77 of file blockalarmsattribute.cpp.
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 109 of file blockalarmsattribute.cpp.
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 93 of file blockalarmsattribute.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.