#include <entitydeletedattribute.h>

Public Member Functions | |
EntityDeletedAttribute () | |
~EntityDeletedAttribute () | |
EntityDeletedAttribute * | clone () const |
void | deserialize (const QByteArray &data) |
Collection | restoreCollection () const |
QString | restoreResource () const |
QByteArray | serialized () const |
void | setRestoreCollection (const Collection &col) |
QByteArray | type () const |
Detailed Description
An Attribute that marks that an entity was marked as deleted.
This class represents the attribute of all hidden items. The hidden items shouldn't be displayed in UI applications (unless in some kind of "debug" mode).
Example:
- See also:
- Akonadi::Attribute
- Since:
- 4.8
Definition at line 51 of file entitydeletedattribute.h.
Constructor & Destructor Documentation
Akonadi::EntityDeletedAttribute::EntityDeletedAttribute | ( | ) |
Creates a new entity deleted attribute.
Akonadi::EntityDeletedAttribute::~EntityDeletedAttribute | ( | ) |
Destroys the entity deleted attribute.
Member Function Documentation
EntityDeletedAttribute* Akonadi::EntityDeletedAttribute::clone | ( | ) | const [virtual] |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
void Akonadi::EntityDeletedAttribute::deserialize | ( | const QByteArray & | data | ) | [virtual] |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Collection Akonadi::EntityDeletedAttribute::restoreCollection | ( | ) | const |
Returns the original collection of an item that has been moved to trash using a TrashJob.
QString Akonadi::EntityDeletedAttribute::restoreResource | ( | ) | const |
Returns the resource of the restoreCollection.
QByteArray Akonadi::EntityDeletedAttribute::serialized | ( | ) | const [virtual] |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
void Akonadi::EntityDeletedAttribute::setRestoreCollection | ( | const Collection & | col | ) |
Sets the collection used to restore items which have been moved to trash using a TrashJob If the Resource is set on the collection, the resource root will be used as fallback during the restore operation.
QByteArray Akonadi::EntityDeletedAttribute::type | ( | ) | const [virtual] |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 78 of file entitydeletedattribute.cpp.
The documentation for this class was generated from the following files: