kalarm
AlarmCalendar Class Reference
#include <alarmcalendar.h>
Detailed Description
Provides read and write access to calendar files.Either vCalendar or iCalendar files may be read, but the calendar is saved only in iCalendar format to avoid information loss.
Definition at line 36 of file alarmcalendar.h.
Public Types | |
enum | CalID { ACTIVE, EXPIRED, DISPLAY, TEMPLATE, NCALS } |
Signals | |
void | calendarSaved (AlarmCalendar *) |
void | purged () |
void | emptyStatus (bool empty) |
Public Member Functions | |
virtual | ~AlarmCalendar () |
bool | valid () const |
KAEvent::Status | type () const |
bool | open () |
int | load () |
bool | reload () |
bool | save () |
void | close () |
void | startUpdate () |
bool | endUpdate () |
KCal::Event * | event (const QString &uniqueID) |
KCal::Event::List | events () |
KCal::Event::List | eventsWithAlarms (const QDateTime &from, const QDateTime &to) |
KCal::Event * | addEvent (KAEvent &, bool useEventID=false) |
void | updateEvent (const KAEvent &) |
bool | deleteEvent (const QString &eventID, bool save=false) |
void | emitEmptyStatus () |
void | purgeAll () |
void | setPurgeDays (int days) |
void | purgeIfQueued () |
bool | isOpen () const |
QString | path () const |
QString | urlString () const |
Static Public Member Functions | |
static QString | icalProductId () |
static bool | initialiseCalendars () |
static void | terminateCalendars () |
static AlarmCalendar * | activeCalendar () |
static AlarmCalendar * | expiredCalendar () |
static AlarmCalendar * | displayCalendar () |
static AlarmCalendar * | templateCalendar () |
static AlarmCalendar * | activeCalendarOpen () |
static AlarmCalendar * | expiredCalendarOpen () |
static AlarmCalendar * | displayCalendarOpen () |
static AlarmCalendar * | templateCalendarOpen () |
static bool | importAlarms (QWidget *) |
static const KCal::Event * | getEvent (const QString &uniqueID) |
The documentation for this class was generated from the following files: