kalarm

AlarmCalendar Class Reference

#include <alarmcalendar.h>

List of all members.


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::Eventevent (const QString &uniqueID)
KCal::Event::List events ()
KCal::Event::List eventsWithAlarms (const QDateTime &from, const QDateTime &to)
KCal::EventaddEvent (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 AlarmCalendaractiveCalendar ()
static AlarmCalendarexpiredCalendar ()
static AlarmCalendardisplayCalendar ()
static AlarmCalendartemplateCalendar ()
static AlarmCalendaractiveCalendarOpen ()
static AlarmCalendarexpiredCalendarOpen ()
static AlarmCalendardisplayCalendarOpen ()
static AlarmCalendartemplateCalendarOpen ()
static bool importAlarms (QWidget *)
static const KCal::EventgetEvent (const QString &uniqueID)

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys