• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • EntityDeletedAttribute
Public Member Functions | List of all members
Akonadi::EntityDeletedAttribute Class Reference

#include <entitydeletedattribute.h>

Inheritance diagram for Akonadi::EntityDeletedAttribute:
Akonadi::Attribute

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
 
- 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 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:

Author
Christian Mollekopf chrig.nosp@m.i_1@.nosp@m.fastm.nosp@m.ail..nosp@m.fm
See Also
Akonadi::Attribute
Since
4.8

Definition at line 51 of file entitydeletedattribute.h.

Constructor & Destructor Documentation

EntityDeletedAttribute::EntityDeletedAttribute ( )

Creates a new entity deleted attribute.

Definition at line 41 of file entitydeletedattribute.cpp.

EntityDeletedAttribute::~EntityDeletedAttribute ( )

Destroys the entity deleted attribute.

Definition at line 47 of file entitydeletedattribute.cpp.

Member Function Documentation

EntityDeletedAttribute * EntityDeletedAttribute::clone ( ) const
virtual

Reimplemented from Attribute.

Implements Akonadi::Attribute.

Definition at line 83 of file entitydeletedattribute.cpp.

void EntityDeletedAttribute::deserialize ( const QByteArray &  data)
virtual

Reimplemented from Attribute.

Implements Akonadi::Attribute.

Definition at line 105 of file entitydeletedattribute.cpp.

Collection EntityDeletedAttribute::restoreCollection ( ) const

Returns the original collection of an item that has been moved to trash using a TrashJob.

Definition at line 66 of file entitydeletedattribute.cpp.

QString EntityDeletedAttribute::restoreResource ( ) const

Returns the resource of the restoreCollection.

Definition at line 72 of file entitydeletedattribute.cpp.

QByteArray EntityDeletedAttribute::serialized ( ) const
virtual

Reimplemented from Attribute.

Implements Akonadi::Attribute.

Definition at line 92 of file entitydeletedattribute.cpp.

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 52 of file entitydeletedattribute.cpp.

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:
  • entitydeletedattribute.h
  • entitydeletedattribute.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:48 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs-4.10.5 API Reference

Skip menu "kdepimlibs-4.10.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal