incidence.cpp
488 //kdDebug(5800) << "Incidence::startDateTimesForDate " << date << ", incidence=" << summary() << endl;
533 TQValueList<TQDateTime> Incidence::startDateTimesForDateTime( const TQDateTime &datetime ) const
535 // kdDebug(5800) << "Incidence::startDateTimesForDateTime " << datetime << ", incidence=" << summary() << endl;
Provides the main "calendar" object class.
This class represents information related to an attachment.
Definition: attachment.h:35
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: incidencebase.h:46
void updated()
Call this to notify the observers after the IncidenceBas object has changed.
Definition: incidencebase.cpp:405
bool doesFloat() const
Return true or false depending on whether the incidence "floats," i.e.
Definition: incidencebase.cpp:222
virtual TQDateTime dtStart() const
returns an event's starting date/time as a TQDateTime.
Definition: incidencebase.cpp:201
virtual void setDtStart(const TQDateTime &dtStart)
for setting the event's starting date/time with a TQDateTime.
Definition: incidencebase.cpp:194
void setLastModified(const TQDateTime &lm)
Sets the time the incidence was last modified.
Definition: incidencebase.cpp:145
This class provides the base class common to all calendar components.
Definition: incidence.h:48
TQString relatedToUid() const
What event does this one relate to? This function should only be used when constructing a calendar be...
Definition: incidence.cpp:340
void setLocation(const TQString &location)
Set the event's/todo's location.
Definition: incidence.cpp:868
void deleteAttachment(Attachment *attachment)
Remove and delete a specific attachment.
Definition: incidence.cpp:681
bool recursAt(const TQDateTime &qdt) const
Returns true if the date/time specified is one on which the incidence will recur.
Definition: incidence.cpp:430
const Alarm::List & alarms() const
All alarms that are associated with this incidence.
Definition: incidence.cpp:828
void setCustomStatus(const TQString &status)
Sets the incidence status to a non-standard status value.
Definition: incidence.cpp:749
void clearAlarms()
Remove all alarms that are associated with this incidence.
Definition: incidence.cpp:853
virtual void recurrenceUpdated(Recurrence *)
Observer interface for the recurrence class.
Definition: incidence.cpp:942
void setSchedulingID(const TQString &sid)
Set the event's/todo's scheduling ID.
Definition: incidence.cpp:880
Alarm * newAlarm()
Create a new alarm which is associated with this incidence.
Definition: incidence.cpp:833
void setRelatedTo(Incidence *relatedTo)
Point at some other event to which the event relates.
Definition: incidence.cpp:345
int revision() const
Return the number of revisions this event has seen.
Definition: incidence.cpp:259
virtual TQValueList< TQDateTime > startDateTimesForDateTime(const TQDateTime &datetime) const
Calculates the start date/time for all recurrences that happen at the given time.
Definition: incidence.cpp:533
IncidenceList childIncidences() const
Returns an EventList of all child incidences.
Definition: incidence.cpp:934
static TQString secrecyName(int)
Return human-readable translated name of secrecy class.
Definition: incidence.cpp:803
static TQString statusName(Status)
Return human-readable translated name of status value.
Definition: incidence.cpp:769
void setStatus(Status status)
Sets the incidence status to a standard status value.
Definition: incidence.cpp:741
void removeRelation(Incidence *)
Remove event that is related to this event.
Definition: incidence.cpp:377
void setDescription(const TQString &description)
Set the long description.
Definition: incidence.cpp:273
void setRelatedToUid(const TQString &)
Point at some other event to which the event relates.
Definition: incidence.cpp:333
bool isAlarmEnabled() const
Return whether any alarm associated with this incidence is enabled.
Definition: incidence.cpp:859
virtual void setDtStart(const TQDateTime &dtStart)
Set starting date/time.
Definition: incidence.cpp:264
bool hasRecurrenceID() const
Returns true if the incidence has recurrenceID, otherwise return false.
Definition: incidence.cpp:893
static TQStringList secrecyList()
Return list of all available secrecy states as list of translated strings.
Definition: incidence.cpp:817
void deleteAttachments(const TQString &mime)
Remove and delete all attachments with this mime type.
Definition: incidence.cpp:686
void setResources(const TQStringList &resources)
Set resources used, such as Office, Car, etc.
Definition: incidence.cpp:716
Incidence::List relations() const
All events that are related to this event.
Definition: incidence.cpp:365
virtual TQValueList< TQDateTime > startDateTimesForDate(const TQDate &date) const
Calculates the start date/time for all recurrences that happen at some time on the given date (might ...
Definition: incidence.cpp:486
void addAlarm(Alarm *)
Add an alarm which is associated with this incidence.
Definition: incidence.cpp:841
virtual TQDateTime endDateRecurrenceBase() const
Return the end date/time of the base incidence (e.g.
Definition: incidence.h:552
void removeAlarm(Alarm *)
Remove an alarm that is associated with this incidence.
Definition: incidence.cpp:847
void clearRecurrence()
Removes all recurrence and exception rules and dates.
Definition: incidence.cpp:404
Attachment::List attachments() const
Return list of all associated attachments.
Definition: incidence.cpp:695
TQString categoriesStr() const
Return categories as a comma separated string.
Definition: incidence.cpp:328
Recurrence * recurrence() const
Return the recurrence rule associated with this incidence.
Definition: incidence.cpp:390
void setRevision(int rev)
Set the number of revisions this event has seen.
Definition: incidence.cpp:251
void addChildIncidence(TQString childIncidence)
Attach a child incidence to a parent incidence.
Definition: incidence.cpp:924
void deleteChildIncidence(TQString childIncidence)
Detach a child incidence from its parent incidence.
Definition: incidence.cpp:929
virtual bool recursOn(const TQDate &qd) const
Returns true if the date specified is one on which the incidence will recur.
Definition: incidence.cpp:422
void addRelation(Incidence *)
Add an event which is related to this event.
Definition: incidence.cpp:370
void setHasRecurrenceID(bool hasRecurrenceID)
Sets if the incidence has recurrenceID.
Definition: incidence.cpp:898
virtual TQDateTime endDateForStart(const TQDateTime &startDt) const
Return the end time of the occurrence if it starts at the given date/time.
Definition: incidence.cpp:573
void setRecurrenceID(const TQDateTime &recurrenceID)
Set the incidences recurrenceID.
Definition: incidence.cpp:913
This class represents a recurrence rule for a calendar incidence.
Definition: recurrence.h:90
void setFloats(bool floats)
Sets whether the dtstart is a floating time (i.e.
Definition: recurrence.cpp:133
void setStartDateTime(const TQDateTime &start)
Set start of recurrence, as a date and time.
Definition: recurrence.cpp:444
void setRecurReadOnly(bool readOnly)
Set if recurrence is read-only or can be changed.
Definition: recurrence.h:139
TQValueList< TQTime > recurTimesOn(const TQDate &date) const
Returns a list of the times on the specified date at which the recurrence will occur.
Definition: recurrence.cpp:721
bool recursAt(const TQDateTime &) const
Returns true if the date/time specified is one at which the event will recur.
Definition: recurrence.cpp:328
bool recursOn(const TQDate &qd) const
Returns true if the date specified is one on which the event will recur.
Definition: recurrence.cpp:268
Namespace KCal is for global classes, objects and/or functions in libkcal.
Definition: alarm.h:38