akonadi
#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 |
![]() | |
virtual | ~Attribute () |
Additional Inherited Members | |
![]() | |
typedef QList< Attribute * > | List |
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 49 of file entitydeletedattribute.h.
Constructor & Destructor Documentation
◆ EntityDeletedAttribute()
EntityDeletedAttribute::EntityDeletedAttribute | ( | ) |
Creates a new entity deleted attribute.
Definition at line 38 of file entitydeletedattribute.cpp.
◆ ~EntityDeletedAttribute()
EntityDeletedAttribute::~EntityDeletedAttribute | ( | ) |
Destroys the entity deleted attribute.
Definition at line 44 of file entitydeletedattribute.cpp.
Member Function Documentation
◆ clone()
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 81 of file entitydeletedattribute.cpp.
◆ deserialize()
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 103 of file entitydeletedattribute.cpp.
◆ restoreCollection()
Collection EntityDeletedAttribute::restoreCollection | ( | ) | const |
Returns the original collection of an item that has been moved to trash using a TrashJob.
Definition at line 63 of file entitydeletedattribute.cpp.
◆ restoreResource()
QString EntityDeletedAttribute::restoreResource | ( | ) | const |
Returns the resource of the restoreCollection.
Definition at line 69 of file entitydeletedattribute.cpp.
◆ serialized()
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 90 of file entitydeletedattribute.cpp.
◆ setRestoreCollection()
void 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.
Definition at line 49 of file entitydeletedattribute.cpp.
◆ type()
|
virtual |
Reimplemented from Attribute.
Implements Akonadi::Attribute.
Definition at line 75 of file entitydeletedattribute.cpp.
The documentation for this class was generated from the following files:
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.