KCal Library
Go to the documentation of this file.
32 #include <kpimutils/supertrait.h>
33 #include <QtCore/QByteArray>
60 typedef boost::shared_ptr<Event>
Ptr;
65 typedef boost::shared_ptr<const Event>
ConstPtr;
93 bool operator==(
const Event &event )
const;
99 QByteArray type()
const;
117 void setDtEnd(
const KDateTime &dtEnd );
123 virtual KDateTime dtEnd()
const;
130 QDate dateEnd()
const;
142 KCAL_DEPRECATED QString dtEndTimeStr(
143 bool shortfmt =
true,
const KDateTime::Spec &spec = KDateTime::Spec() )
const;
155 KCAL_DEPRECATED QString dtEndDateStr(
156 bool shortfmt =
true,
const KDateTime::Spec &spec = KDateTime::Spec() )
const;
168 KCAL_DEPRECATED QString dtEndStr(
169 bool shortfmt =
true,
const KDateTime::Spec &spec = KDateTime::Spec() )
const;
175 void setHasEndDate(
bool b );
180 bool hasEndDate()
const;
188 bool isMultiDay(
const KDateTime::Spec &spec = KDateTime::Spec() )
const;
194 virtual void shiftTimes(
const KDateTime::Spec &oldSpec,
195 const KDateTime::Spec &newSpec );
212 void setDuration(
const Duration &duration );
218 virtual KDateTime endDateRecurrenceBase()
const;
237 namespace KPIMUtils {
238 template <>
struct SuperClass<KCal::Event> :
public SuperClassTrait<KCal::Incidence>{};
@ Opaque
Event appears in free/busy time.
ListBase< Event > List
List of events.
This class provides an Event in the sense of RFC2445.
boost::shared_ptr< Event > Ptr
A shared pointer to an Event object.
boost::shared_ptr< const Event > ConstPtr
A shared pointer to a non-mutable Event.
This class provides a template for lists of pointers.
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
This class provides the interface for a visitor of calendar components.
Represents a span of time measured in seconds or days.
virtual bool visit(Event *event)
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a...
Transparency
The different Event transparency types.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by
doxygen 1.8.18 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.