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

akonadi

  • Akonadi
  • MonitorPrivate
  • PurgeBuffer
Public Member Functions | Static Public Member Functions | List of all members
Akonadi::MonitorPrivate::PurgeBuffer Class Reference

#include <monitor_p.h>

Public Member Functions

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

Static Public Member Functions

static int buffersize ()
 

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 173 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:29 by doxygen 1.8.7 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 API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



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