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

akonadi

  • Akonadi
  • FetchJobCalendar
Public Types | Signals | Public Member Functions
Akonadi::FetchJobCalendar Class Reference

#include <fetchjobcalendar.h>

Inheritance diagram for Akonadi::FetchJobCalendar:
Akonadi::CalendarBase

List of all members.

Public Types

typedef QSharedPointer
< FetchJobCalendar > 
Ptr
- Public Types inherited from Akonadi::CalendarBase

Signals

void loadFinished (bool success, const QString &errorMessage)
- Signals inherited from Akonadi::CalendarBase
void createFinished (bool success, const QString &errorMessage)
void deleteFinished (bool success, const QString &errorMessage)
void modifyFinished (bool success, const QString &errorMessage)

Public Member Functions

 FetchJobCalendar ()
 ~FetchJobCalendar ()
bool isLoaded () const
- Public Member Functions inherited from Akonadi::CalendarBase
 CalendarBase ()
 ~CalendarBase ()
bool addEvent (const KCalCore::Event::Ptr &event)
bool addIncidence (const KCalCore::Incidence::Ptr &incidence)
bool addJournal (const KCalCore::Journal::Ptr &journal)
bool addTodo (const KCalCore::Todo::Ptr &todo)
KCalCore::Incidence::List childIncidences (const QString &parentUid) const
KCalCore::Incidence::List childIncidences (const Akonadi::Item::Id &parentId) const
Akonadi::Item::List childItems (const QString &parentUid) const
Akonadi::Item::List childItems (const Akonadi::Item::Id &parentId) const
void deleteAllEvents ()
void deleteAllJournals ()
void deleteAllTodos ()
bool deleteEvent (const KCalCore::Event::Ptr &event)
bool deleteIncidence (const KCalCore::Incidence::Ptr &)
bool deleteJournal (const KCalCore::Journal::Ptr &journal)
bool deleteTodo (const KCalCore::Todo::Ptr &todo)
void endBatchAdding ()
Akonadi::IncidenceChanger * incidenceChanger () const
Akonadi::Item item (const QString &uid) const
Akonadi::Item item (Akonadi::Item::Id) const
Akonadi::Item::List itemList (const KCalCore::Incidence::List &incidenceList) const
bool modifyIncidence (const KCalCore::IncidenceBase::Ptr &newIncidence)
void setWeakPointer (const QWeakPointer< Akonadi::CalendarBase > &pointer)
void startBatchAdding ()
QWeakPointer< CalendarBase > weakPointer () const

Additional Inherited Members

- Protected Member Functions inherited from Akonadi::CalendarBase
 CalendarBase (CalendarBasePrivate *const d)
- Protected Attributes inherited from Akonadi::CalendarBase
QScopedPointer
< CalendarBasePrivate > 
d_ptr

Detailed Description

A Calendar that gets populated by a one time IncidenceFetchJob.

If you want a persistent calendar ( which monitors Akonadi for changes ) use an ETMCalendar.

See also:
ETMCalendar
CalendarBase
Author:
Sérgio Martins sergi.nosp@m.o.ma.nosp@m.rtins.nosp@m.@kda.nosp@m.b.com
Since:
4.11

Definition at line 45 of file fetchjobcalendar.h.


Constructor & Destructor Documentation

FetchJobCalendar::FetchJobCalendar ( )
explicit

Creates a new FetchJobCalendar.

Loading begins asynchronously.

See also:
loadFinished()

Definition at line 64 of file fetchjobcalendar.cpp.

FetchJobCalendar::~FetchJobCalendar ( )

Destroys this FetchJobCalendar.

Definition at line 68 of file fetchjobcalendar.cpp.


Member Function Documentation

bool FetchJobCalendar::isLoaded ( ) const

Returns if the calendar already finished loading.

This is an alternative to listening for the loadFinished() signal.

Definition at line 72 of file fetchjobcalendar.cpp.

void Akonadi::FetchJobCalendar::loadFinished ( bool  success,
const QString &  errorMessage 
)
signal

This signal is emitted when the IncidenceFetchJob finishes.

Parameters:
successthe success of the operation
errorMessageif success is false, contains the error message

The documentation for this class was generated from the following files:
  • fetchjobcalendar.h
  • fetchjobcalendar.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 19:20:49 by doxygen 1.8.1.1 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-4.10.5 API Reference

Skip menu "kdepimlibs-4.10.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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