KCalCore 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:198
virtual void setDtStart(const KDateTime &dt)
Sets the incidence starting date/time.
Definition event.cpp:132
virtual void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
Definition event.cpp:233
QLatin1String iconName(const KDateTime &recurrenceId=KDateTime()) const
Definition event.cpp:353
void setDateTime(const KDateTime &dateTime, DateTimeRole role)
Definition event.cpp:310
void setTransparency(Transparency transparency)
Sets the event's time transparency level.
Definition event.cpp:243
Transparency transparency() const
Returns the event's time transparency level.
Definition event.cpp:254
KCALCORE_DEPRECATED void setHasEndDate(bool b)
Sets whether the event has an end date/time.
Definition event.cpp:187
static QLatin1String eventMimeType()
Returns the Akonadi specific sub MIME type of a KCalCore::Event.
Definition event.cpp:348
virtual IncidenceBase & assign(const IncidenceBase &other)
Definition event.cpp:97
virtual bool equals(const IncidenceBase &event) const
Compares two events for equality.
Definition event.cpp:107
An abstract class that provides a common base for all calendar incidence classes.
Definition incidencebase.h:110
bool allDay() const
Returns true or false depending on whether the incidence is all-day.
Definition incidencebase.cpp:326
Duration duration() const
Returns the length of the incidence duration.
Definition incidencebase.cpp:555
QSharedPointer< IncidenceBase > Ptr
A shared pointer to an IncidenceBase.
Definition incidencebase.h:115
This class provides the interface for a visitor of calendar components.
Definition visitor.h:44
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.