calhelper.cpp
Go to the documentation of this file.
bool isMyCalendarIncidence(Calendar *calendar, Incidence *incidence)
Determine if the specified incidence is likely owned by the the user, independent of the Resource typ...
Definition: calhelper.cpp:55
ResourceCalendar * incResourceCalendar(Calendar *calendar, Incidence *incidence)
Returns the ResourceCalendar where the Incidence is stored, if any.
Definition: calhelper.cpp:139
virtual bool canHaveSubresources() const
Is this subresource capable of having subresources or not?
Definition: resourcecalendar.h:351
This class provides a Calendar which is composed of other Calendars known as "Resources".
Definition: calendarresources.h:64
TQPair< ResourceCalendar *, TQString > incSubResourceCalendar(Calendar *calendar, Incidence *incidence)
Returns the (ResourceCalendar, SubResourceCalendar) pair where the Incidence is stored, if any.
Definition: calhelper.cpp:149
This class provides the interfaces for a calendar resource.
Definition: resourcecalendar.h:57
Provides a Calendar composed of several Calendar Resources.
This file is part of the API for handling calendar data and provides static convenience functions for...
This class provides the base class common to all calendar components.
Definition: incidence.h:47
Incidence * incidence(const TQString &uid)
Returns the Incidence associated with the given unique identifier.
Definition: calendar.cpp:576
ResourceCalendar * resource(Incidence *incidence)
Get the Resource associated with a specified Incidence.
Definition: calendarresources.cpp:772
virtual TQString subresourceIdentifier(Incidence *incidence)
Get the identifier of the subresource associated with a specified incidence.
Definition: resourcecalendar.h:378
bool hasMyWritableEventsFolders(const TQString &family)
Determines if the Calendar has any writable folders with Events content that are owned by me...
Definition: calhelper.cpp:100
bool usingGroupware(Calendar *calendar)
Determines if the Calendar is using a Groupware resource type.
Definition: calhelper.cpp:82
CalendarResourceManager * resourceManager() const
Get the CalendarResourceManager used by this calendar.
Definition: calendarresources.h:241
Namespace KCal is for global classes, objects and/or functions in libkcal.
Definition: alarm.h:38
bool isMyKolabIncidence(Calendar *calendar, Incidence *incidence)
Determine if the specified incidence is likely a Kolab incidence owned by the the user...
Definition: calhelper.cpp:37
virtual Incidence::List incidences()
Return a filtered list of all Incidences for this Calendar.
Definition: calendar.cpp:178
Incidence * findMyCalendarIncidenceByUid(Calendar *calendar, const TQString &uid)
Searches for the specified Incidence by UID, returning an Incidence pointer if and only if the found ...
Definition: calhelper.cpp:60