KCal Library
Go to the documentation of this file.
32#include <kpimutils/supertrait.h>
33#include <QtCore/QByteArray>
55 typedef ListBase<Event>
List;
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;
225 bool accept(
Visitor &v ) {
return v.visit(
this ); }
238 template <>
struct SuperClass<KCal::Event> :
public SuperClassTrait<KCal::Incidence>{};
Represents a span of time measured in seconds or days.
This class provides an Event in the sense of RFC2445.
boost::shared_ptr< const Event > ConstPtr
A shared pointer to a non-mutable Event.
ListBase< Event > List
List of events.
Transparency
The different Event transparency types.
@ Opaque
Event appears in free/busy time.
boost::shared_ptr< Event > Ptr
A shared pointer to an Event object.
This class provides the interface for a visitor of calendar components.
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
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-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.