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

akonadi

  • Akonadi
  • FetchJobCalendar
Public Types | Signals | Public Member Functions | List of all members
Akonadi::FetchJobCalendar Class Reference

#include <fetchjobcalendar.h>

Inheritance diagram for Akonadi::FetchJobCalendar:
Inheritance graph
[legend]

Public Types

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

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 (QObject *parent=0)
 
 ~FetchJobCalendar ()
 
bool isLoaded () const
 
- Public Member Functions inherited from Akonadi::CalendarBase
 CalendarBase (QObject *parent=0)
 
 ~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 (const KCalCore::Incidence::Ptr &incidence) const
 
Akonadi::Item item (Akonadi::Item::Id) const
 
Akonadi::Item::List itemList (const KCalCore::Incidence::List &incidenceList) const
 
Akonadi::Item::List items () const
 
Akonadi::Item::List items (Akonadi::Collection::Id) const
 
bool modifyIncidence (const KCalCore::Incidence::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, QObject *parent)
 
- Protected Attributes inherited from Akonadi::CalendarBase
QScopedPointer
< CalendarBasePrivate > 
d_ptr
 

Detailed Description

A KCalCore::Calendar that uses a one time IncidenceFetchJob to populate itself.

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 ( QObject *  parent = 0)
explicit

Creates a new FetchJobCalendar.

Loading begins asynchronously.

See also
loadFinished()

Definition at line 70 of file fetchjobcalendar.cpp.

FetchJobCalendar::~FetchJobCalendar ( )

Destroys this FetchJobCalendar.

Definition at line 74 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 78 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-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 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