KCal Library
calendarlocal.h
Go to the documentation of this file.
This file is part of the API for handling calendar data and defines the Calendar class.
An abstract base class that provides an interface to various calendar formats.
Definition calformat.h:52
void incidenceUpdated(IncidenceBase *incidenceBase)
Notify the IncidenceBase::Observer that the incidence has been updated.
Definition calendarlocal.cpp:380
Journal::List rawJournalsForDate(const QDate &date)
Definition calendarlocal.cpp:629
Event::List rawEvents(EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Definition calendarlocal.cpp:541
bool load(const QString &fileName, CalFormat *format=0)
Loads a calendar on disk in vCalendar or iCalendar format into the current calendar.
Definition calendarlocal.cpp:115
Todo::List rawTodos(TodoSortField sortField=TodoSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Definition calendarlocal.cpp:297
CalendarLocal(const KDateTime::Spec &timeSpec)
Definition calendarlocal.cpp:97
void close()
Clears out the current calendar, freeing all used memory etc.
Definition calendarlocal.cpp:158
Todo::List rawTodosForDate(const QDate &date)
Definition calendarlocal.cpp:309
Alarm::List alarms(const KDateTime &from, const KDateTime &to)
Definition calendarlocal.cpp:329
Journal::List rawJournals(JournalSortField sortField=JournalSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Definition calendarlocal.cpp:617
Event::List rawEventsForDate(const QDate &date, const KDateTime::Spec &timeSpec=KDateTime::Spec(), EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Returns an unfiltered list of all Events which occur on the given date.
Definition calendarlocal.cpp:417
Alarm::List alarmsTo(const KDateTime &to)
Return a list of Alarms that occur before the specified timestamp.
Definition calendarlocal.cpp:324
bool deleteJournal(Journal *journal)
Definition calendarlocal.cpp:583
Calendar(const KDateTime::Spec &timeSpec)
Constructs a calendar with a specified time zone timeZoneid.
Definition calendar.cpp:106
QString timeZoneId() const
Returns the time zone ID used for creating or modifying incidences in the calendar.
Definition calendar.cpp:189
KDateTime::Spec timeSpec() const
Get the time specification (time zone etc.) used for creating or modifying incidences in the Calendar...
Definition calendar.cpp:145
An abstract class that provides a common base for all calendar incidence classes.
Definition incidencebase.h:103
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.