akonadi
#include <fetchjobcalendar.h>
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
- Since
- 4.11
Definition at line 45 of file fetchjobcalendar.h.
Constructor & Destructor Documentation
|
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.
|
signal |
This signal is emitted when the IncidenceFetchJob finishes.
- Parameters
-
success the success of the operation errorMessage if success
is false, contains the error message
The documentation for this class was generated from the following files:
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.