|
| CalendarNull (const KDateTime::Spec &timeSpec) |
|
| CalendarNull (const QString &timeZoneId) |
|
| ~CalendarNull () |
|
bool | addEvent (Event *event) |
|
bool | addJournal (Journal *journal) |
|
bool | addTodo (Todo *todo) |
|
Alarm::List | alarms (const KDateTime &from, const KDateTime &to) |
|
void | close () |
|
void | deleteAllEvents () |
|
void | deleteAllJournals () |
|
void | deleteAllTodos () |
|
bool | deleteEvent (Event *event) |
|
bool | deleteJournal (Journal *journal) |
|
bool | deleteTodo (Todo *todo) |
|
Event * | event (const QString &uid) |
|
void | incidenceUpdated (IncidenceBase *incidenceBase) |
|
Journal * | journal (const QString &uid) |
|
Event::List | rawEvents (const QDate &start, const QDate &end, const KDateTime::Spec &timeSpec=KDateTime::Spec(), bool inclusive=false) |
|
Event::List | rawEvents (EventSortField sortField, SortDirection sortDirection) |
|
Event::List | rawEventsForDate (const KDateTime &dt) |
|
Event::List | rawEventsForDate (const QDate &date, const KDateTime::Spec &timeSpec=KDateTime::Spec(), EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending) |
|
Journal::List | rawJournals (JournalSortField sortField, SortDirection sortDirection) |
|
Journal::List | rawJournalsForDate (const QDate &date) |
|
Todo::List | rawTodos (TodoSortField sortField, SortDirection sortDirection) |
|
Todo::List | rawTodosForDate (const QDate &date) |
|
bool | reload () |
|
bool | save () |
|
Todo * | todo (const QString &uid) |
|
| Calendar (const KDateTime::Spec &timeSpec) |
|
| Calendar (const QString &timeZoneId) |
|
virtual | ~Calendar () |
|
virtual bool | addIncidence (Incidence *incidence) |
|
void | beginBatchAdding () |
|
virtual bool | beginChange (Incidence *incidence) |
|
QStringList | categories () |
|
virtual bool | deleteIncidence (Incidence *incidence) |
|
Incidence * | dissociateOccurrence (Incidence *incidence, const QDate &date, const KDateTime::Spec &spec, bool single=true) |
|
void | endBatchAdding () |
|
virtual bool | endChange (Incidence *incidence) |
|
Event::List | events (const KDateTime &dt) |
|
Event::List | events (const QDate &date, const KDateTime::Spec &timeSpec=KDateTime::Spec(), EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending) |
|
Event::List | events (const QDate &start, const QDate &end, const KDateTime::Spec &timeSpec=KDateTime::Spec(), bool inclusive=false) |
|
virtual Event::List | events (EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending) |
|
CalFilter * | filter () |
|
Incidence * | incidence (const QString &uid) |
|
Incidence * | incidenceFromSchedulingID (const QString &sid) |
|
virtual Incidence::List | incidences () |
|
virtual Incidence::List | incidences (const QDate &date) |
|
Incidence::List | incidencesFromSchedulingID (const QString &sid) |
|
bool | isAncestorOf (Incidence *ancestor, Incidence *incidence) |
|
bool | isModified () const |
|
virtual bool | isSaving () |
|
virtual Journal::List | journals (const QDate &date) |
|
virtual Journal::List | journals (JournalSortField sortField=JournalSortUnsorted, SortDirection sortDirection=SortDirectionAscending) |
|
Person | owner () const |
|
QString | productId () const |
|
virtual Incidence::List | rawIncidences () |
|
void | registerObserver (CalendarObserver *observer) |
|
virtual void | removeRelations (Incidence *incidence) |
|
void | setFilter (CalFilter *filter) |
|
void | setModified (bool modified) |
|
void | setOwner (const Person &owner) |
|
void | setProductId (const QString &id) |
|
void | setTimeSpec (const KDateTime::Spec &timeSpec) |
|
void | setTimeZoneId (const QString &timeZoneId) |
|
void | setTimeZones (const ICalTimeZones &zones) |
|
virtual void | setupRelations (Incidence *incidence) |
|
void | setViewTimeSpec (const KDateTime::Spec &timeSpec) const |
|
void | setViewTimeZoneId (const QString &timeZoneId) const |
|
void | shiftTimes (const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec) |
|
KDateTime::Spec | timeSpec () const |
|
QString | timeZoneId () const |
|
ICalTimeZones * | timeZones () const |
|
virtual Todo::List | todos (const QDate &date) |
|
virtual Todo::List | todos (TodoSortField sortField=TodoSortUnsorted, SortDirection sortDirection=SortDirectionAscending) |
|
void | unregisterObserver (CalendarObserver *observer) |
|
KDateTime::Spec | viewTimeSpec () const |
|
QString | viewTimeZoneId () const |
|
| CustomProperties () |
|
| CustomProperties (const CustomProperties &other) |
|
virtual | ~CustomProperties () |
|
QMap< QByteArray, QString > | customProperties () const |
|
QString | customProperty (const QByteArray &app, const QByteArray &key) const |
|
QString | nonKDECustomProperty (const QByteArray &name) const |
|
CustomProperties & | operator= (const CustomProperties &other) |
|
bool | operator== (const CustomProperties &properties) const |
|
void | removeCustomProperty (const QByteArray &app, const QByteArray &key) |
|
void | removeNonKDECustomProperty (const QByteArray &name) |
|
void | setCustomProperties (const QMap< QByteArray, QString > &properties) |
|
void | setCustomProperty (const QByteArray &app, const QByteArray &key, const QString &value) |
|
void | setNonKDECustomProperty (const QByteArray &name, const QString &value) |
|
virtual | ~IncidenceObserver () |
|
Represents a null calendar class; that is, a calendar which contains no information and provides no capabilities.
The null calendar can be passed to functions which need a calendar object when there is no real calendar available yet.
CalendarNull can be used to implement the null object design pattern: pass a CalendarNull object instead of passing a 0 pointer and checking for 0 with each access.
Definition at line 48 of file calendarnull.h.
CalendarNull::CalendarNull |
( |
const KDateTime::Spec & | timeSpec | ) |
|
|
explicit |
Construct Calendar object using a time specification (time zone, etc.).
Private class that helps to provide binary compatibility between releases.
The time specification is used for creating or modifying incidences in the Calendar. It is also used for viewing incidences (see setViewTimeSpec()). The time specification does not alter existing incidences.
- Parameters
-
timeSpec | time specification |
Definition at line 47 of file calendarnull.cpp.