KCal::ResourceExchange Class Reference
This class provides a calendar stored on a Microsoft Exchange 2000 server. More...
#include <resourceexchange.h>
Public Member Functions | |
ResourceExchange (const KConfig *) | |
virtual void | writeConfig (KConfig *config) |
virtual bool | load () |
virtual bool | save () |
KABC::Lock * | lock () |
bool | addEvent (Event *anEvent) |
void | deleteEvent (Event *) |
Event * | event (const QString &UniqueStr) |
Event::List | rawEvents () |
QString | getHolidayForDate (const QDate &qd) |
virtual void | subscribeEvents (const QDate &start, const QDate &end) |
virtual void | unsubscribeEvents (const QDate &start, const QDate &end) |
bool | addTodo (Todo *todo) |
void | deleteTodo (Todo *) |
Todo * | todo (const QString &uid) |
Todo::List | rawTodos () |
Todo::List | todos (const QDate &date) |
virtual bool | addJournal (Journal *) |
virtual void | deleteJournal (Journal *) |
virtual Journal * | journal (const QDate &) |
virtual Journal * | journal (const QString &UID) |
Journal::List | journals () |
Alarm::List | alarms (const QDateTime &from, const QDateTime &to) |
Alarm::List | alarmsTo (const QDateTime &to) |
Protected Slots | |
void | slotMonitorNotify (const QValueList< long > &IDs, const QValueList< KURL > &urls) |
void | slotMonitorError (int errorCode, const QString &moreInfo) |
void | slotDownloadFinished (int result, const QString &moreinfo) |
void | downloadedEvent (KCal::Event *, const KURL &) |
Protected Member Functions | |
virtual bool | doOpen () |
virtual void | doClose () |
Event::List | rawEventsForDate (const QDate &date, bool sorted=false) |
Event::List | rawEventsForDate (const QDateTime &qdt) |
Event::List | rawEvents (const QDate &start, const QDate &end, bool inclusive=false) |
void | update (IncidenceBase *incidence) |
void | incidenceUpdated (IncidenceBase *i) |
void | uploadEvent (Event *event) |
void | setTimeZoneId (const QString &tzid) |
Detailed Description
This class provides a calendar stored on a Microsoft Exchange 2000 server.
Definition at line 47 of file resourceexchange.h.
Member Function Documentation
|
Writes calendar to storage. Writes calendar to disk file, writes updates to server, whatever. |
|
Add Event to calendar.
|
|
deletes an event from this calendar.
|
|
Retrieves an event on the basis of the unique string ID.
|
|
Return unfiltered list of all events in calendar. Use with care, since this causes a LOT of network activity |
|
Stop receiving event signals for the given period (inclusive). After this call, the calendar resource will no longer send eventsAdded, eventsModified or eventsDeleted signals for events falling completely in this period. The resource MAY delete the Events objects. The application MUST NOT dereference pointers to the relevant Events after this call. |
|
Add a todo to the todolist.
|
|
Remove a todo from the todolist.
|
|
Searches todolist for an event with this unique string identifier, returns a pointer or null.
|
|
Return list of all todos.
|
|
Returns list of todos due on the specified date.
|
|
Add a Journal entry to calendar.
|
|
deletes an event from this calendar.
|
|
Return Journal for given date.
|
|
Return Journal with given UID.
|
|
Return list of all Journals stored in calendar.
|
|
Return all alarms, which ocur in the given time interval.
|
|
Return all alarms, which ocur before given date.
|
|
Prepare the calendar for use. Load the calendar from disk, open connections to the calendaring server, whatever. Must be called before other methods can be called. |
|
clears out the current calendar, freeing all used memory etc. etc. |
|
Builds and then returns a list of all events that match for the date specified. useful for dayView, etc. etc. |
|
Get unfiltered events for date qdt.
|
|
Get unfiltered events in a range of dates. If inclusive is set to true, only events are returned, which are completely included in the range. |
|
this method should be called whenever a Event is modified directly via it's pointer. It makes sure that the calendar is internally consistent. Referenced by incidenceUpdated(). |
|
Notification function of IncidenceBase::Observer.
Definition at line 202 of file resourceexchange.h. References update(). |
|
Append alarms of recurring events in interval to list of alarms.
|
The documentation for this class was generated from the following file: