• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

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 ()
bool emitCollectionNotification (const NotificationMessage &msg, const Collection &col=Collection(), const Collection &par=Collection(), const Collection &dest=Collection())
bool emitItemNotification (const NotificationMessage &msg, const Item &item=Item(), const Collection &collection=Collection(), const Collection &collectionDest=Collection())
virtual bool 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 serverStateChanged (Akonadi::ServerManager::State state)
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::NotificationSource * notificationSource
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

Definition at line 48 of file monitor_p.h.


Member Function Documentation

bool Akonadi::MonitorPrivate::emitCollectionNotification ( const NotificationMessage &  msg,
const Collection &  col = Collection(),
const Collection &  par = Collection(),
const Collection &  dest = Collection() 
)

Sends out a change notification for a collection.

Returns:
true if the notification was actually send to someone, false if noone was listening.
bool Akonadi::MonitorPrivate::emitItemNotification ( const NotificationMessage &  msg,
const Item &  item = Item(),
const Collection &  collection = Collection(),
const Collection &  collectionDest = Collection() 
)

Sends out a change notification for an item.

Returns:
true if the notification was actually send to someone, false if noone was listening.
virtual bool Akonadi::MonitorPrivate::emitNotification ( const NotificationMessage &  msg) [virtual]

Sends out the change notification msg.

Returns:
true if the notification was actually send to someone, false if noone was listening.
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.


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
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • 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.4
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