calendarresources.cpp
void setException(ErrorFormat *e)
Sets information about the last error occurred.
Definition: calendar.cpp:85
TDE_DEPRECATED bool endChange(Incidence *incidence)
Flag that a change to a Calendar Incidence has completed.
Definition: calendarresources.cpp:905
void setTimeZoneIdViewOnly(const TQString &tz)
Set the viewing time zone, which requires that all resources are saved, and then reloaded such that t...
Definition: calendarresources.cpp:820
void beginAddingIncidences()
All addIncidence( Incidence * ), addTodo( Todo * ) addEvent( Event * ) and addJournal( Journal * ) ca...
Definition: calendarresources.cpp:943
void setStandardDestinationPolicy()
Set the destination policy such that Incidences are always added to the standard Resource.
Definition: calendarresources.cpp:206
void closeJournals()
Clear out the current Calendar, freeing all used memory etc.
Definition: calendarresources.cpp:271
ResourceCalendar * resource(Incidence *incidence)
Get the Resource associated with a specified Incidence.
Definition: calendarresources.cpp:772
void closeTodos()
Clear out the current Calendar, freeing all used memory etc.
Definition: calendarresources.cpp:256
static Todo::List sortTodos(Todo::List *todoList, TodoSortField sortField, SortDirection sortDirection)
Sort a list of Todos.
Definition: calendar.cpp:611
void endAddingIncidences()
Definition: calendarresources.cpp:949
Journal::List rawJournalsForDate(const TQDate &date)
Return an unfiltered list of all Journals for on the specifed date.
Definition: calendarresources.cpp:740
CalendarResources(const TQString &timeZoneId, const TQString &family=TQString::fromLatin1("calendar"))
Construct CalendarResource object using a Time Zone and a Family name.
Definition: calendarresources.cpp:115
virtual void doSetTimeZoneId(const TQString &timeZoneId)
Let CalendarResource subclasses set the Time Zone ID.
Definition: calendarresources.cpp:810
Alarm::List alarms(const TQDateTime &from, const TQDateTime &to)
Return a list of Alarms within a time range for this Calendar.
Definition: calendarresources.cpp:572
static Event::List sortEventsForDate(Event::List *eventList, const TQDate &date, EventSortField sortField, SortDirection sortDirection)
Sort a list of Events that occur on a specified date.
Definition: calendar.cpp:291
void calendarLoaded()
Signal that the Calendar has been loaded into memory.
Todo::List rawTodosForDate(const TQDate &date)
Return an unfiltered list of all Todos which are due on the specified date.
Definition: calendarresources.cpp:540
Event::List rawEventsForDate(const TQDateTime &qdt)
Return an unfiltered list of all Events which occur on the given timestamp.
Definition: calendarresources.cpp:628
TQWidget * dialogParentWidget()
Returns the current parent for new dialogs.
Definition: calendarresources.cpp:216
void setDialogParentWidget(TQWidget *parent)
Set the widget parent for new dialogs.
Definition: calendarresources.cpp:221
virtual Journal::List journals(JournalSortField sortField=JournalSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Return a sorted, filtered list of all Journals for this Calendar.
Definition: calendar.cpp:823
virtual Todo::List todos(TodoSortField sortField=TodoSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Return a sorted, filtered list of all Todos for this Calendar.
Definition: calendar.cpp:755
void batchAddingBegins()
void signalResourceDeleted(ResourceCalendar *resource)
Signal that an Incidence has been removed from the Resource.
void readConfig(TDEConfig *config=0)
Read the Resources settings from a config file.
Definition: calendarresources.cpp:146
bool deleteEvent(Event *event)
Remove an Event from the Calendar.
Definition: calendarresources.cpp:428
Alarm::List alarmsTo(const TQDateTime &to)
Return a list of Alarms that occur before the specified timestamp.
Definition: calendarresources.cpp:557
Definition: alarm.h:38
void setTimeZoneId(const TQString &timeZoneId)
Set the Time Zone Id for the Calendar.
Definition: calendar.cpp:103
Journal * journal(const TQString &uid)
Returns the Journal associated with the given unique identifier.
Definition: calendarresources.cpp:705
int decrementChangeCount(ResourceCalendar *resource)
Decrement the number of times this Resource has been changed by 1.
Definition: calendarresources.cpp:974
virtual Incidence::List incidences()
Return a filtered list of all Incidences for this Calendar.
Definition: calendar.cpp:178
static Event::List sortEvents(Event::List *eventList, EventSortField sortField, SortDirection sortDirection)
Sort a list of Events.
Definition: calendar.cpp:188
Journal::List rawJournals(JournalSortField sortField=JournalSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Return a sorted, unfiltered list of all Journals for this Calendar.
Definition: calendarresources.cpp:722
Ticket * requestSaveTicket(ResourceCalendar *resource)
Request ticket for saving the Calendar.
Definition: calendarresources.cpp:826
Todo::List rawTodos(TodoSortField sortField=TodoSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Return a sorted, unfiltered list of all Todos for this Calendar.
Definition: calendarresources.cpp:506
bool addJournal(Journal *journal)
Insert a Journal into the Calendar.
Definition: calendarresources.cpp:665
bool addTodo(Todo *todo)
Insert a Todo into a Calendar Resource.
Definition: calendarresources.cpp:468
Definition: calendar.h:169
bool addIncidence(Incidence *incidence)
Insert an Incidence into the Calendar.
Definition: calendarresources.cpp:356
void close()
Clear out the current Calendar, freeing all used memory etc.
Definition: calendarresources.cpp:226
static Journal::List sortJournals(Journal::List *journalList, JournalSortField sortField, SortDirection sortDirection)
Sort a list of Journals.
Definition: calendar.cpp:770
This class provides the base class common to all calendar components.
Definition: incidence.h:47
bool reload(const TQString &tz)
Reloads all incidences from all resources.
Definition: calendarresources.cpp:197
Todo * todo(const TQString &uid)
Returns the Todo associated with the given unique identifier.
Definition: calendarresources.cpp:523
void signalErrorMessage(const TQString &err)
Signal an error message.
Event * event(const TQString &uid)
Returns the Event associated with the given unique identifier.
Definition: calendarresources.cpp:453
ErrorFormat * exception()
Returns an exception, if there is any, containing information about the last error that occurred.
Definition: resourcecalendar.cpp:58
virtual void releaseSaveTicket(Ticket *ticket)
Release the save Ticket.
Definition: calendarresources.cpp:857
This class provides the interfaces for a calendar resource.
Definition: resourcecalendar.h:57
void batchAddingEnds()
void closeEvents()
Clear out the current Calendar, freeing all used memory etc.
Definition: calendarresources.cpp:241
bool isSaving()
Determine if the Calendar is currently being saved.
Definition: calendarresources.cpp:300
void signalResourceModified(ResourceCalendar *resource)
Signal that the Resource has been modified.
TDE_DEPRECATED bool beginChange(Incidence *incidence)
Flag that a change to a Calendar Incidence is starting.
Definition: calendarresources.cpp:863
bool deleteJournal(Journal *journal)
Remove a Journal from the Calendar.
Definition: calendarresources.cpp:684
void notifyIncidenceAdded(Incidence *incidence)
Let Calendar subclasses notify that they inserted an Incidence.
Definition: calendar.cpp:977
void signalResourceAdded(ResourceCalendar *resource)
Signal that an Incidence has been inserted to the Resource.
virtual TDE_DEPRECATED bool addIncidence(Incidence *)
Add incidence to resource.
Definition: resourcecalendar.cpp:101
void notifyIncidenceDeleted(Incidence *incidence)
Let Calendar subclasses notify that they removed an Incidence.
Definition: calendar.cpp:1001
void resourceAdded(ResourceCalendar *resource)
Add a Resource to the Calendar.
Definition: calendarresources.cpp:780
Event::List rawEvents(EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Return a sorted, unfiltered list of all Events.
Definition: calendarresources.cpp:646
int incrementChangeCount(ResourceCalendar *resource)
Increment the number of times this Resource has been changed by 1.
Definition: calendarresources.cpp:961
void setAskDestinationPolicy()
Set the destination policy such that Incidences are added to a Resource which is queried.
Definition: calendarresources.cpp:211
Incidence * incidence(const TQString &uid)
Returns the Incidence associated with the given unique identifier.
Definition: calendar.cpp:576