KCal::CalendarNull Class Reference
This is a null calendar object which does nothing. More...
#include <calendarnull.h>
Inherits KCal::Calendar.
Public Member Functions
- void incidenceUpdated (IncidenceBase *)
- void close ()
- void save ()
- bool addEvent (Event *)
- void deleteEvent (Event *)
- Event * event (const QString &)
- Event::List rawEvents (EventSortField, SortDirection)
- Event::List rawEvents (const QDate &, const QDate &, bool)
- Event::List rawEventsForDate (const QDateTime &)
- Event::List rawEventsForDate (const QDate &, bool)
- bool addTodo (Todo *)
- void deleteTodo (Todo *)
- Todo * todo (const QString &)
- Todo::List rawTodos (TodoSortField, SortDirection)
- Todo::List rawTodosForDate (const QDate &)
- bool addJournal (Journal *)
- void deleteJournal (Journal *)
- Journal * journal (const QString &)
- Journal::List rawJournals (JournalSortField, SortDirection)
- Journal::List rawJournalsForDate (const QDate &)
- Alarm::List alarms (const QDateTime &, const QDateTime &)
Static Public Member Functions
- static CalendarNull * self ()
Detailed Description
This is a null calendar object which does nothing.It can be passed to functions which need a calendar object when there actually isn't a real calendar yet. CalendarNull can be used to implement the null object design pattern. Instead of passing a 0 pointer and checking for 0 with each access a CalendarNull object can be passed.
Member Function Documentation
|
The observer interface. So far not implemented. Reimplemented from KCal::Calendar. |
|
Clears out the current calendar, freeing all used memory etc.
Implements KCal::Calendar. |
|
Sync changes in memory to persistant storage.
Implements KCal::Calendar. |
|
Adds a Event to this calendar object.
Implements KCal::Calendar. |
|
Delete event from calendar.
Implements KCal::Calendar. |
|
Retrieves an event on the basis of the unique string ID.
Implements KCal::Calendar. |
|
Return unfiltered list of all events in calendar.
Implements KCal::Calendar. |
|
Get events in a range of dates. If inclusive is set to true, only events are returned, which are completely included in the range. Implements KCal::Calendar. |
|
Get unfiltered events, which occur on the given date.
Implements KCal::Calendar. |
|
Get unfiltered events, which occur on the given date.
Implements KCal::Calendar. |
|
Add a todo to the todolist.
Implements KCal::Calendar. |
|
Remove a todo from the todolist.
Implements KCal::Calendar. |
|
Searches todolist for an event with this unique string identifier, returns a pointer or null.
Implements KCal::Calendar. |
|
Return unfiltered list of todos.
Implements KCal::Calendar. |
|
Return unfiltered list of todos.
Implements KCal::Calendar. |
|
Add a Journal entry to calendar.
Implements KCal::Calendar. |
|
Remove a journal entry from the calendar.
Implements KCal::Calendar. |
|
Return Journal with given UID.
Implements KCal::Calendar. |
|
Return unfiltered list of all journals in calendar.
Implements KCal::Calendar. |
|
Return unfiltered list of journals for a given date.
Implements KCal::Calendar. |
|
Return all alarms, which ocur in the given time interval.
Implements KCal::Calendar. |
The documentation for this class was generated from the following files:
- calendarnull.h
- calendarnull.cpp