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

akonadi

  • Akonadi
  • Akonadi::MonitorPrivate
Classes | Public Member Functions | Public Attributes

Akonadi::MonitorPrivate Class Reference

#include <monitor_p.h>

List of all members.

Classes

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

Public Member Functions

 MonitorPrivate (Monitor *parent)
bool acceptNotification (const NotificationMessage &msg)
void appendAndCompress (const NotificationMessage &msg)
void cleanOldNotifications ()
virtual bool connectToNotificationManager ()
void dataAvailable ()
Collection::Id deref (Collection::Id id)
void dispatchNotifications ()
void emitCollectionNotification (const NotificationMessage &msg, const Collection &col=Collection(), const Collection &par=Collection(), const Collection &dest=Collection())
void emitItemNotification (const NotificationMessage &msg, const Item &item=Item(), const Collection &collection=Collection(), const Collection &collectionDest=Collection())
void emitNotification (const NotificationMessage &msg)
bool ensureDataAvailable (const NotificationMessage &msg)
void init ()
void invalidateCache (const Collection &col)
void invalidateCaches (const NotificationMessage &msg)
virtual int pipelineSize () const
void ref (Collection::Id id)
void slotFlushRecentlyChangedCollections ()
virtual void slotNotify (const NotificationMessage::List &msgs)
void slotSessionDestroyed (QObject *)
void slotStatisticsChangedFinished (KJob *)
void updatePendingStatistics (const NotificationMessage &msg)

Public Attributes

CollectionCache collectionCache
Collection::List collections
bool fetchCollection
bool fetchCollectionStatistics
ItemCache itemCache
QSet< Item::Id > items
class
Akonadi::MonitorPrivate::PurgeBuffer 
m_buffer
CollectionFetchScope mCollectionFetchScope
QSet< QString > mimetypes
ItemFetchScope mItemFetchScope
bool monitorAll
org::freedesktop::Akonadi::NotificationManager * nm
QQueue< NotificationMessage > pendingNotifications
QQueue< NotificationMessage > pipeline
Monitor * q_ptr
QHash< Collection::Id, int > refCountMap
QSet< QByteArray > resources
Session * session
QList< QByteArray > sessions
bool useRefCounting

Detailed Description

For internal use only.

Definition at line 47 of file monitor_p.h.


Member Function Documentation

void Akonadi::MonitorPrivate::invalidateCache ( const Collection &  col  ) 

Used by ResourceBase to inform us about collection changes before the notifications are emitted, needed to avoid the missing RID race on change replay.


Member Data Documentation

class Akonadi::MonitorPrivate::PurgeBuffer Akonadi::MonitorPrivate::m_buffer

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.


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