KCal Library
event.h
Go to the documentation of this file.
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
boost::shared_ptr< const Event > ConstPtr
A shared pointer to a non-mutable Event.
Definition event.h:65
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
This class provides the interface for a visitor of calendar components.
Definition incidencebase.h:113
virtual bool visit(Event *event)
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a...
Definition incidencebase.cpp:513
Duration duration() const
Returns the length of the incidence duration.
Definition incidencebase.cpp:448
This file is part of the API for handling calendar data and defines the Incidence class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.