KCalCore Library
Go to the documentation of this file.
28 #ifndef KCALCORE_EVENT_H
29 #define KCALCORE_EVENT_H
31 #include "kcalcore_export.h"
33 #include "supertrait.h"
55 typedef QSharedPointer<Event>
Ptr;
88 QByteArray typeStr()
const;
101 virtual void setDtStart(
const KDateTime &dt);
111 void setDtEnd(
const KDateTime &dtEnd);
120 virtual KDateTime dtEnd()
const;
127 QDate dateEnd()
const;
134 KDE_DEPRECATED
void setHasEndDate(
bool b);
139 bool hasEndDate()
const;
151 bool isMultiDay(
const KDateTime::Spec &spec = KDateTime::Spec())
const;
157 virtual void shiftTimes(
const KDateTime::Spec &oldSpec,
158 const KDateTime::Spec &newSpec);
175 void setDuration(
const Duration &duration);
181 void setAllDay(
bool allDay);
193 void setDateTime(
const KDateTime &dateTime,
DateTimeRole role);
199 QLatin1String mimeType()
const;
205 QLatin1String iconName(
const KDateTime &recurrenceId = KDateTime())
const;
210 static QLatin1String eventMimeType();
229 virtual void virtual_hook(
int id,
void *data);
259 namespace KPIMUtils {
261 template <>
struct SuperClass<KCalCore::Event> :
public SuperClassTrait<KCalCore::Incidence> {};
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Thu Jan 9 2014 17:48:39 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.