KCal Library
Go to the documentation of this file. 30 #ifndef KCAL_CALENDARLOCAL_H 31 #define KCAL_CALENDARLOCAL_H 80 bool load(
const QString &fileName,
CalFormat *format = 0 );
108 bool save(
const QString &fileName,
CalFormat *format = 0 );
121 bool addEvent(
Event *event );
127 bool deleteEvent(
Event *event );
133 void deleteAllEvents();
147 Event::List rawEvents(
const QDate &start,
const QDate &end,
148 const KDateTime::Spec &timeSpec = KDateTime::Spec(),
149 bool inclusive =
false );
163 const QDate &date,
const KDateTime::Spec &timeSpec = KDateTime::Spec(),
171 Event::List rawEventsForDate(
const KDateTime &dt );
177 Event *event(
const QString &uid );
185 bool addTodo(
Todo *todo );
191 bool deleteTodo(
Todo *todo );
197 void deleteAllTodos();
211 Todo::List rawTodosForDate(
const QDate &date );
217 Todo *todo(
const QString &uid );
225 bool addJournal(
Journal *journal );
231 bool deleteJournal(
Journal *journal );
237 void deleteAllJournals();
257 Journal *journal(
const QString &uid );
265 Alarm::List alarms(
const KDateTime &from,
const KDateTime &to );
282 using QObject::event;
Provides a To-do in the sense of RFC2445.
Represents the main calendar class.
An abstract class that provides a common base for all calendar incidence classes. ...
This class provides an Event in the sense of RFC2445.
This class provides a calendar stored as a local file.
SortDirection
Calendar Incidence sort directions.
This file is part of the API for handling calendar data and defines the Calendar class.
This class provides a template for lists of pointers.
Provides a Journal in the sense of RFC2445.
Sort in ascending order (first to last)
JournalSortField
Calendar Journal sort keys.
TodoSortField
Calendar Todo sort keys.
EventSortField
Calendar Event sort keys.
This file is part of the KDE documentation.
Documentation copyright © 1996-2016 The KDE developers.
Generated on Mon Apr 18 2016 16:21:11 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.