KAlarm Library
#include <compatibilityattribute.h>
Public Member Functions | |
CompatibilityAttribute () | |
CompatibilityAttribute (const CompatibilityAttribute &other) | |
virtual CompatibilityAttribute * | clone () const |
KACalendar::Compat | compatibility () const |
virtual void | deserialize (const QByteArray &data) |
CompatibilityAttribute & | operator= (const CompatibilityAttribute &other) |
virtual QByteArray | serialized () const |
void | setCompatibility (KACalendar::Compat c) |
void | setVersion (int v) |
virtual QByteArray | type () const |
int | version () const |
Static Public Member Functions | |
static QByteArray | name () |
Detailed Description
An Attribute for a KAlarm Collection containing compatibility information.
This class represents an Akonadi attribute of a KAlarm Collection. It contains information on the compatibility of the Collection and its Items with the current KAlarm calendar format. The attribute is maintained by the Akonadi resource, and should be treated as read-only by applications.
- See also
- CollectionAttribute
Definition at line 47 of file compatibilityattribute.h.
Constructor & Destructor Documentation
KAlarmCal::CompatibilityAttribute::CompatibilityAttribute | ( | ) |
Default constructor.
Creates an incompatible attribute.
Definition at line 42 of file compatibilityattribute.cpp.
KAlarmCal::CompatibilityAttribute::CompatibilityAttribute | ( | const CompatibilityAttribute & | other | ) |
Copy constructor.
Definition at line 47 of file compatibilityattribute.cpp.
Member Function Documentation
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 68 of file compatibilityattribute.cpp.
KACalendar::Compat KAlarmCal::CompatibilityAttribute::compatibility | ( | ) | const |
Return the compatibility status for the entity.
Definition at line 73 of file compatibilityattribute.cpp.
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 112 of file compatibilityattribute.cpp.
|
static |
Return the attribute name.
Definition at line 98 of file compatibilityattribute.cpp.
CompatibilityAttribute & KAlarmCal::CompatibilityAttribute::operator= | ( | const CompatibilityAttribute & | other | ) |
Assignment operator.
Definition at line 58 of file compatibilityattribute.cpp.
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 104 of file compatibilityattribute.cpp.
void KAlarmCal::CompatibilityAttribute::setCompatibility | ( | KACalendar::Compat | c | ) |
Set the compatibility status for the entity.
Definition at line 78 of file compatibilityattribute.cpp.
void KAlarmCal::CompatibilityAttribute::setVersion | ( | int | v | ) |
Set the KAlarm version of the backend calendar format.
- Parameters
-
v version number in the format returned by KAlarmCal::Version().
Definition at line 88 of file compatibilityattribute.cpp.
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 93 of file compatibilityattribute.cpp.
int KAlarmCal::CompatibilityAttribute::version | ( | ) | const |
Return the KAlarm version of the backend calendar format.
- Returns
- version number in the format returned by KAlarmCal::Version().
Definition at line 83 of file compatibilityattribute.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.