calendar.h
Go to the documentation of this file.
68 };
84 };
104 };
118 };
virtual void calendarIncidenceAdded(Incidence *)
Notify the Observer that an Incidence has been inserted.
Definition: calendar.h:887
virtual void calendarIncidenceDeleted(Incidence *)
Notify the Observer that an Incidence has been removed.
Definition: calendar.h:901
virtual void calendarModified(bool, Calendar *)
Notify the Observer that a Calendar has been modified.
Definition: calendar.h:879
virtual void calendarIncidenceChanged(Incidence *)
Notify the Observer that an Incidence has been modified.
Definition: calendar.h:894
void calendarLoaded()
Signal that the Calendar has been loaded into memory.
virtual void setTimeZoneIdViewOnly(const TQString &timeZoneId)=0
Set the timezone used for viewing the incidences in this calendar.
virtual void doSetTimeZoneId(const TQString &)
Let Calendar subclasses set the Time Zone ID.
Definition: calendar.h:974
virtual Journal::List rawJournals(JournalSortField sortField=JournalSortUnsorted, SortDirection sortDirection=SortDirectionAscending)=0
Return a sorted, unfiltered list of all Journals for this Calendar.
virtual bool addJournal(Journal *journal)=0
Insert a Journal into the Calendar.
virtual Journal::List rawJournalsForDate(const TQDate &date)=0
Return an unfiltered list of all Journals for on the specifed date.
virtual Event::List rawEventsForDate(const TQDateTime &qdt)=0
Return an unfiltered list of all Events which occur on the given timestamp.
virtual Todo * todo(const TQString &uid)=0
Returns the Todo associated with the given unique identifier.
virtual Event * event(const TQString &uid)=0
Returns the Event associated with the given unique identifier.
virtual Journal * journal(const TQString &uid)=0
Returns the Journal associated with the given unique identifier.
virtual void closeTodos()=0
Clears out the current Calendar, freeing all used memory etc.
virtual void closeJournals()=0
Clears out the current Calendar, freeing all used memory etc.
virtual bool isSaving()
Determine if the Calendar is currently being saved.
Definition: calendar.h:333
virtual Alarm::List alarms(const TQDateTime &from, const TQDateTime &to)=0
Return a list of Alarms within a time range for this Calendar.
virtual bool deleteEvent(Event *event)=0
Remove an Event from the Calendar.
virtual Event::List rawEvents(EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending)=0
Return a sorted, unfiltered list of all Events for this Calendar.
virtual bool deleteJournal(Journal *journal)=0
Remove a Journal from the Calendar.
virtual Event::List rawEvents(const TQDate &start, const TQDate &end, bool inclusive=false)=0
Return an unfiltered list of all Events occurring within a date range.
virtual Todo::List rawTodos(TodoSortField sortField=TodoSortUnsorted, SortDirection sortDirection=SortDirectionAscending)=0
Return a sorted, unfiltered list of all Todos for this Calendar.
void batchAddingEnds()
virtual Todo::List rawTodosForDate(const TQDate &date)=0
Return an unfiltered list of all Todos which due on the specified date.
void batchAddingBegins()
virtual void close()=0
Clears out the current Calendar, freeing all used memory etc.
virtual bool reload(const TQString &tz)=0
Load the calendar contents from storage.
virtual void closeEvents()=0
Clears out the current Calendar, freeing all used memory etc.
virtual Event::List rawEventsForDate(const TQDate &date, EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending)=0
Return a sorted, unfiltered list of all Events which occur on the given date.
This class represents custom calendar properties.
Definition: customproperties.h:43
This class provides the base class common to all calendar components.
Definition: incidencebase.h:46
This class provides the base class common to all calendar components.
Definition: incidence.h:48
Namespace KCal is for global classes, objects and/or functions in libkcal.
Definition: alarm.h:38