• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

akonadi

Akonadi::MonitorPrivate::PurgeBuffer

Akonadi::MonitorPrivate::PurgeBuffer Class Reference

Class used to determine when to purge items in a Collection. More...

#include <monitor_p.h>

List of all members.

Public Member Functions

Collection::Id buffer (Collection::Id id)
bool isBuffered (Collection::Id id) const
void purge (Collection::Id id)

Detailed Description

Class used to determine when to purge items in a Collection.

The buffer method can be used to buffer a Collection. This may cause another Collection to be purged if it is removed from the buffer.

The purge method is used to purge a Collection from the buffer, but not the model. This is used for example, to not buffer Collections anymore if they get referenced, and to ensure that one Collection does not appear twice in the buffer.

Check whether a Collection is buffered using the isBuffered method.

Definition at line 137 of file monitor_p.h.


Member Function Documentation

Collection::Id Akonadi::MonitorPrivate::PurgeBuffer::buffer ( Collection::Id  id  ) 

Adds id to the Collections to be buffered.

Returns:
The collection id which was removed form the buffer or -1 if none.
void Akonadi::MonitorPrivate::PurgeBuffer::purge ( Collection::Id  id  ) 

Removes id from the Collections being buffered.


The documentation for this class was generated from the following file:
  • monitor_p.h

akonadi

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal