KCal Library
event.cpp
Go to the documentation of this file.
virtual void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
Definition: incidence.cpp:363
bool operator==(const Incidence &incidence) const
Compares this with Incidence ib for equality.
Definition: incidence.cpp:235
void updated()
Call this to notify the observers after the IncidenceBase object has changed.
Definition: incidencebase.cpp:475
virtual KDateTime dtStart() const
Returns an incidence's starting date/time as a KDateTime.
Definition: incidencebase.cpp:248
bool hasDuration() const
Returns true if the incidence has a duration; false otherwise.
Definition: incidencebase.cpp:458
bool operator==(const Event &event) const
Compares two events for equality.
Definition: event.cpp:99
bool isMultiDay(const KDateTime::Spec &spec=KDateTime::Spec()) const
Returns true if the event spans multiple days, otherwise return false.
Definition: event.cpp:231
This file is part of the API for handling calendar data and provides static functions for formatting ...
virtual void setDuration(const Duration &duration)
Sets the incidence duration.
Definition: incidencebase.cpp:441
virtual void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
Definition: event.cpp:251
bool allDay() const
Returns true or false depending on whether the incidence is all-day.
Definition: incidencebase.cpp:310
void setTransparency(Transparency transparency)
Sets the event's time transparency level.
Definition: event.cpp:261
KCAL_DEPRECATED QString dtEndStr(bool shortfmt=true, const KDateTime::Spec &spec=KDateTime::Spec()) const
Returns the event end date/time as string formatted according to the user's locale settings...
Definition: event.cpp:198
void setHasDuration(bool hasDuration)
Sets if the incidence has a duration.
Definition: incidencebase.cpp:453
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition: incidence.h:68
virtual KDateTime endDateRecurrenceBase() const
Returns the end date/time of the base incidence.
Definition: event.cpp:281
Duration duration() const
Returns the length of the incidence duration.
Definition: incidencebase.cpp:448
KCAL_DEPRECATED QString dtEndTimeStr(bool shortfmt=true, const KDateTime::Spec &spec=KDateTime::Spec()) const
Returns the event end time as a string formatted according to the user's locale settings.
Definition: event.cpp:163
This file is part of the API for handling calendar data and defines the Event class.
KCAL_DEPRECATED QString dtEndDateStr(bool shortfmt=true, const KDateTime::Spec &spec=KDateTime::Spec()) const
Returns the event end date as a string formatted according to the user's locale settings.
Definition: event.cpp:179
KCAL_DEPRECATED_EXPORT QString dateToString(const KDateTime &date, bool shortfmt=true, const KDateTime::Spec &spec=KDateTime::Spec())
Build a QString date representation of a KDateTime object.
Definition: incidenceformatter.cpp:3737
Transparency transparency() const
Returns the event's time transparency level.
Definition: event.cpp:270
KDateTime end(const KDateTime &start) const
Computes a duration end time by adding the number of seconds or days in the duration to the specified...
Definition: duration.cpp:183
void setDuration(const Duration &duration)
Sets the duration of this event.
Definition: event.cpp:275
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.