#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::Event * | event (const TQString &uniqueID) |
KCal::Event::List | events () |
KCal::Event::List | eventsWithAlarms (const TQDateTime &from, const TQDateTime &to) |
KCal::Event * | addEvent (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 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 (TQWidget *) |
static const KCal::Event * | getEvent (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.
Member Enumeration Documentation
◆ CalID
enum AlarmCalendar::CalID |
Definition at line 79 of file alarmcalendar.h.
Constructor & Destructor Documentation
◆ ~AlarmCalendar()
|
virtual |
Definition at line 247 of file alarmcalendar.cpp.
Member Function Documentation
◆ activeCalendar()
|
inlinestatic |
Definition at line 68 of file alarmcalendar.h.
◆ activeCalendarOpen()
|
inlinestatic |
Definition at line 72 of file alarmcalendar.h.
◆ addEvent()
Definition at line 730 of file alarmcalendar.cpp.
◆ close()
void AlarmCalendar::close | ( | ) |
Definition at line 423 of file alarmcalendar.cpp.
◆ deleteEvent()
bool AlarmCalendar::deleteEvent | ( | const TQString & | eventID, |
bool | save = false |
||
) |
Definition at line 787 of file alarmcalendar.cpp.
◆ displayCalendar()
|
inlinestatic |
Definition at line 70 of file alarmcalendar.h.
◆ displayCalendarOpen()
|
inlinestatic |
Definition at line 74 of file alarmcalendar.h.
◆ emitEmptyStatus()
void AlarmCalendar::emitEmptyStatus | ( | ) |
Definition at line 810 of file alarmcalendar.cpp.
◆ endUpdate()
bool AlarmCalendar::endUpdate | ( | ) |
Definition at line 581 of file alarmcalendar.cpp.
◆ event()
KCal::Event * AlarmCalendar::event | ( | const TQString & | uniqueID | ) |
Definition at line 818 of file alarmcalendar.cpp.
◆ events()
KCal::Event::List AlarmCalendar::events | ( | ) |
Definition at line 826 of file alarmcalendar.cpp.
◆ eventsWithAlarms()
Event::List AlarmCalendar::eventsWithAlarms | ( | const TQDateTime & | from, |
const TQDateTime & | to | ||
) |
Definition at line 846 of file alarmcalendar.cpp.
◆ expiredCalendar()
|
inlinestatic |
Definition at line 69 of file alarmcalendar.h.
◆ expiredCalendarOpen()
|
inlinestatic |
Definition at line 73 of file alarmcalendar.h.
◆ getEvent()
|
static |
Definition at line 204 of file alarmcalendar.cpp.
◆ icalProductId()
|
static |
Definition at line 62 of file alarmcalendar.cpp.
◆ importAlarms()
|
static |
Definition at line 446 of file alarmcalendar.cpp.
◆ initialiseCalendars()
|
static |
Definition at line 91 of file alarmcalendar.cpp.
◆ isOpen()
|
inline |
Definition at line 61 of file alarmcalendar.h.
◆ load()
int AlarmCalendar::load | ( | ) |
Definition at line 314 of file alarmcalendar.cpp.
◆ open()
bool AlarmCalendar::open | ( | ) |
Definition at line 255 of file alarmcalendar.cpp.
◆ path()
|
inline |
Definition at line 62 of file alarmcalendar.h.
◆ purgeAll()
|
inline |
Definition at line 58 of file alarmcalendar.h.
◆ purgeIfQueued()
void AlarmCalendar::purgeIfQueued | ( | ) |
Definition at line 683 of file alarmcalendar.cpp.
◆ reload()
bool AlarmCalendar::reload | ( | ) |
Definition at line 360 of file alarmcalendar.cpp.
◆ save()
bool AlarmCalendar::save | ( | ) |
Definition at line 596 of file alarmcalendar.cpp.
◆ setPurgeDays()
void AlarmCalendar::setPurgeDays | ( | int | days | ) |
Definition at line 633 of file alarmcalendar.cpp.
◆ startUpdate()
void AlarmCalendar::startUpdate | ( | ) |
Definition at line 572 of file alarmcalendar.cpp.
◆ templateCalendar()
|
inlinestatic |
Definition at line 71 of file alarmcalendar.h.
◆ templateCalendarOpen()
|
inlinestatic |
Definition at line 75 of file alarmcalendar.h.
◆ terminateCalendars()
|
static |
Definition at line 175 of file alarmcalendar.cpp.
◆ type()
|
inline |
Definition at line 43 of file alarmcalendar.h.
◆ updateEvent()
void AlarmCalendar::updateEvent | ( | const KAEvent & | evnt | ) |
Definition at line 765 of file alarmcalendar.cpp.
◆ urlString()
|
inline |
Definition at line 63 of file alarmcalendar.h.
◆ valid()
|
inline |
Definition at line 42 of file alarmcalendar.h.
The documentation for this class was generated from the following files: