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

KCalCore Library

  • KCalCore
  • FreeBusyCache
Public Member Functions | Protected Member Functions | List of all members
KCalCore::FreeBusyCache Class Referenceabstract

#include <freebusycache.h>

Public Member Functions

virtual ~FreeBusyCache ()
 
virtual FreeBusy::Ptr loadFreeBusy (const QString &email)=0
 
virtual bool saveFreeBusy (const FreeBusy::Ptr &freebusy, const Person::Ptr &person)=0
 

Protected Member Functions

virtual void virtual_hook (int id, void *data)
 

Detailed Description

An abstract base class to allow different implementations of storing free busy information, e.g.

local storage or storage on a Kolab server.

Definition at line 47 of file freebusycache.h.

Constructor & Destructor Documentation

FreeBusyCache::~FreeBusyCache ( )
virtual

Destructor.

Definition at line 33 of file freebusycache.cpp.

Member Function Documentation

virtual FreeBusy::Ptr KCalCore::FreeBusyCache::loadFreeBusy ( const QString &  email)
pure virtual

Load freebusy information belonging to an email.

Parameters
emailis a QString containing a email string in the "FirstName LastName <emailaddress>" format.
Returns
A pointer to the FreeBusy object loaded for the specified email; returns 0 if there was some problem attempting to load the FreeBusy information.
virtual bool KCalCore::FreeBusyCache::saveFreeBusy ( const FreeBusy::Ptr &  freebusy,
const Person::Ptr &  person 
)
pure virtual

Save freebusy information belonging to an email.

Parameters
freebusyis a pointer to a valid FreeBusy instance.
personis a valid Person instance.
Returns
true if the save was successful; false otherwise.
void FreeBusyCache::virtual_hook ( int  id,
void *  data 
)
protectedvirtual

Standard trick to add virtuals later.

Parameters
idis any integer unique to this class which we will use to identify the method to be called.
datais a pointer to some glob of data, typically a struct. TODO_KDE5: change from int to VirtualHook type.

Definition at line 37 of file freebusycache.cpp.


The documentation for this class was generated from the following files:
  • freebusycache.h
  • freebusycache.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KCalCore Library

Skip menu "KCalCore Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • 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