KCal Library
Go to the documentation of this file.
28#ifndef KCAL_CALENDARNULL_H
29#define KCAL_CALENDARNULL_H
32#include "kcal_export.h"
60 explicit CalendarNull(
const KDateTime::Spec &timeSpec );
107 bool addEvent(
Event *event );
113 bool deleteEvent(
Event *event );
119 void deleteAllEvents();
132 Event::List rawEvents(
const QDate &start,
const QDate &end,
133 const KDateTime::Spec &timeSpec = KDateTime::Spec(),
134 bool inclusive =
false );
148 const KDateTime::Spec &timeSpec = KDateTime::Spec(),
156 Event::List rawEventsForDate(
const KDateTime &dt );
162 Event *event(
const QString &uid );
170 bool addTodo(
Todo *todo );
176 bool deleteTodo(
Todo *todo );
182 void deleteAllTodos();
195 Todo::List rawTodosForDate(
const QDate &date );
201 Todo *todo(
const QString &uid );
209 bool addJournal(
Journal *journal );
215 bool deleteJournal(
Journal *journal );
221 void deleteAllJournals();
240 Journal *journal(
const QString &uid );
248 Alarm::List alarms(
const KDateTime &from,
const KDateTime &to );
258 using QObject::event;
This file is part of the API for handling calendar data and defines the Calendar class.
TodoSortField
Calendar Todo sort keys.
JournalSortField
Calendar Journal sort keys.
EventSortField
Calendar Event sort keys.
@ EventSortUnsorted
Do not sort Events.
SortDirection
Calendar Incidence sort directions.
@ SortDirectionAscending
Sort in ascending order (first to last)
Represents a null calendar class; that is, a calendar which contains no information and provides no c...
Represents the main calendar class.
This class provides an Event in the sense of RFC2445.
An abstract class that provides a common base for all calendar incidence classes.
Provides a Journal in the sense of RFC2445.
This class provides a template for lists of pointers.
Provides a To-do in the sense of RFC2445.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by
doxygen 1.9.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.