KCal Library
event.cpp
Go to the documentation of this file.
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
bool isMultiDay(const KDateTime::Spec &spec=KDateTime::Spec()) const
Returns true if the event spans multiple days, otherwise return false.
Definition event.cpp:231
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
virtual void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
Definition event.cpp:251
void setTransparency(Transparency transparency)
Sets the event's time transparency level.
Definition event.cpp:261
Transparency transparency() const
Returns the event's time transparency level.
Definition event.cpp:270
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
virtual KDateTime endDateRecurrenceBase() const
Returns the end date/time of the base incidence.
Definition event.cpp:281
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
void updated()
Call this to notify the observers after the IncidenceBase object has changed.
Definition incidencebase.cpp:475
bool allDay() const
Returns true or false depending on whether the incidence is all-day.
Definition incidencebase.cpp:310
Duration duration() const
Returns the length of the incidence duration.
Definition incidencebase.cpp:448
virtual KDateTime dtStart() const
Returns an incidence's starting date/time as a KDateTime.
Definition incidencebase.cpp:248
virtual void setDuration(const Duration &duration)
Sets the incidence duration.
Definition incidencebase.cpp:441
void setHasDuration(bool hasDuration)
Sets if the incidence has a duration.
Definition incidencebase.cpp:453
bool hasDuration() const
Returns true if the incidence has a duration; false otherwise.
Definition incidencebase.cpp:458
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition incidence.h:70
bool operator==(const Incidence &incidence) const
Compares this with Incidence ib for equality.
Definition incidence.cpp:235
virtual void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
Definition incidence.cpp:363
This file is part of the API for handling calendar data and defines the Event class.
This file is part of the API for handling calendar data and provides static functions for formatting ...
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.