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;
133 void setHasEndDate(
bool b );
138 bool hasEndDate()
const;
150 bool isMultiDay(
const KDateTime::Spec &spec = KDateTime::Spec() )
const;
156 virtual void shiftTimes(
const KDateTime::Spec &oldSpec,
157 const KDateTime::Spec &newSpec );
174 void setDuration(
const Duration &duration );
180 void setAllDay(
bool allDay );
192 void setDateTime(
const KDateTime &dateTime,
DateTimeRole role );
198 QLatin1String mimeType()
const;
204 QLatin1String iconName(
const KDateTime &recurrenceId = KDateTime() )
const;
209 static QLatin1String eventMimeType();
228 virtual void virtual_hook(
int id,
void *data );
256 namespace KPIMUtils {
258 template <>
struct SuperClass<KCalCore::Event> :
public SuperClassTrait<KCalCore::Incidence>{};
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:24:51 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.