calendarresources.h
Go to the documentation of this file.
379 bool beginChange( Incidence *incidence, ResourceCalendar *resource, const TQString &subresource );
Provides the main "calendar" object class.
virtual void doSetTimeZoneId(const TQString &timeZoneId)
Let CalendarResource subclasses set the Time Zone ID.
Definition calendarresources.cpp:810
int incrementChangeCount(ResourceCalendar *resource)
Increment the number of times this Resource has been changed by 1.
Definition calendarresources.cpp:961
ResourceCalendar * resource(Incidence *incidence)
Get the Resource associated with a specified Incidence.
Definition calendarresources.cpp:772
void closeEvents()
Clear out the current Calendar, freeing all used memory etc.
Definition calendarresources.cpp:241
void closeTodos()
Clear out the current Calendar, freeing all used memory etc.
Definition calendarresources.cpp:256
void signalResourceModified(ResourceCalendar *resource)
Signal that the Resource has been modified.
void signalErrorMessage(const TQString &err)
Signal an error message.
void closeJournals()
Clear out the current Calendar, freeing all used memory etc.
Definition calendarresources.cpp:271
void signalResourceDeleted(ResourceCalendar *resource)
Signal that an Incidence has been removed from the Resource.
int decrementChangeCount(ResourceCalendar *resource)
Decrement the number of times this Resource has been changed by 1.
Definition calendarresources.cpp:974
void close()
Clear out the current Calendar, freeing all used memory etc.
Definition calendarresources.cpp:226
void endAddingIncidences()
Definition calendarresources.cpp:949
CalendarResourceManager * resourceManager() const
Get the CalendarResourceManager used by this calendar.
Definition calendarresources.h:241
void beginAddingIncidences()
All addIncidence( Incidence * ), addTodo( Todo * ) addEvent( Event * ) and addJournal( Journal * ) ca...
Definition calendarresources.cpp:943
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 bool save(Ticket *ticket, Incidence *incidence=0)
Save this Calendar.
Definition calendarresources.cpp:839
bool reload(const TQString &tz)
Reloads all incidences from all resources.
Definition calendarresources.cpp:197
bool isSaving()
Determine if the Calendar is currently being saved.
Definition calendarresources.cpp:300
void signalResourceAdded(ResourceCalendar *resource)
Signal that an Incidence has been inserted to the Resource.
Calendar(const TQString &timeZoneId)
Construct Calendar object using a Time Zone.
Definition calendar.cpp:43
Incidence * incidence(const TQString &uid)
Returns the Incidence associated with the given unique identifier.
Definition calendar.cpp:576
This class provides the base class common to all calendar components.
Definition incidence.h:48
This class provides the interfaces for a calendar resource.
Definition resourcecalendar.h:58
