KAlarmCal::CompatibilityAttribute

KAlarmCal::CompatibilityAttribute Class Reference

#include <compatibilityattribute.h>

Inheritance diagram for KAlarmCal::CompatibilityAttribute:

Public Member Functions

 CompatibilityAttribute ()
 
 CompatibilityAttribute (const CompatibilityAttribute &other)
 
CompatibilityAttributeclone () const override
 
KACalendar::Compat compatibility () const
 
void deserialize (const QByteArray &data) override
 
bool operator!= (const CompatibilityAttribute &other) const
 
CompatibilityAttributeoperator= (const CompatibilityAttribute &other)
 
bool operator== (const CompatibilityAttribute &other) const
 
QByteArray serialized () const override
 
void setCompatibility (KACalendar::Compat c)
 
void setVersion (int v)
 
QByteArray type () const override
 
int version () const
 

Static Public Member Functions

static QByteArray name ()
 

Additional Inherited Members

- Public Types inherited from Akonadi::Attribute
typedef QList< Attribute * > List
 

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
Author
David Jarvie djarv[email protected][email protected][email protected]de.or[email protected]g

Definition at line 34 of file compatibilityattribute.h.

Constructor & Destructor Documentation

KAlarmCal::CompatibilityAttribute::CompatibilityAttribute ( )

Default constructor.

Creates an incompatible attribute.

Definition at line 31 of file compatibilityattribute.cpp.

KAlarmCal::CompatibilityAttribute::CompatibilityAttribute ( const CompatibilityAttribute other)

Copy constructor.

Definition at line 36 of file compatibilityattribute.cpp.

Member Function Documentation

KACalendar::Compat KAlarmCal::CompatibilityAttribute::compatibility ( ) const

Return the compatibility status for the entity.

Definition at line 66 of file compatibilityattribute.cpp.

QByteArray KAlarmCal::CompatibilityAttribute::name ( )
static

Return the attribute name.

Definition at line 91 of file compatibilityattribute.cpp.

CompatibilityAttribute & KAlarmCal::CompatibilityAttribute::operator= ( const CompatibilityAttribute other)

Assignment operator.

Definition at line 47 of file compatibilityattribute.cpp.

bool KAlarmCal::CompatibilityAttribute::operator== ( const CompatibilityAttribute other) const

Comparison operator.

Definition at line 56 of file compatibilityattribute.cpp.

void KAlarmCal::CompatibilityAttribute::setCompatibility ( KACalendar::Compat  c)

Set the compatibility status for the entity.

Definition at line 71 of file compatibilityattribute.cpp.

void KAlarmCal::CompatibilityAttribute::setVersion ( int  v)

Set the KAlarm version of the backend calendar format.

Parameters
vversion number in the format returned by KAlarmCal::Version().

Definition at line 81 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 76 of file compatibilityattribute.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Oct 28 2020 23:14:39 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.