kalarm

#include <alarmcalendar.h>

Inherits TQObject.

Public Types

enum  CalID {
  ACTIVE , EXPIRED , DISPLAY , TEMPLATE ,
  NCALS
}
 

Signals

void calendarSaved (AlarmCalendar *)
 
void purged ()
 
void emptyStatus (bool empty)
 

Public Member Functions

bool valid () const
 
KAEvent::Status type () const
 
bool open ()
 
int load ()
 
bool reload ()
 
bool save ()
 
void close ()
 
void startUpdate ()
 
bool endUpdate ()
 
KCal::Eventevent (const TQString &uniqueID)
 
KCal::Event::List events ()
 
KCal::Event::List eventsWithAlarms (const TQDateTime &from, const TQDateTime &to)
 
KCal::EventaddEvent (KAEvent &, bool useEventID=false)
 
void updateEvent (const KAEvent &)
 
bool deleteEvent (const TQString &eventID, bool save=false)
 
void emitEmptyStatus ()
 
void purgeAll ()
 
void setPurgeDays (int days)
 
void purgeIfQueued ()
 
bool isOpen () const
 
TQString path () const
 
TQString urlString () const
 

Static Public Member Functions

static TQString 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 (TQWidget *)
 
static const KCal::EventgetEvent (const TQString &uniqueID)
 

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.


The documentation for this class was generated from the following files: