KCalCore Library
Go to the documentation of this file.
31 #ifndef KCALCORE_FREEBUSY_H
32 #define KCALCORE_FREEBUSY_H
34 #include "kcalcore_export.h"
40 #include <QtCore/QMetaType>
54 friend KCALCORE_EXPORT QDataStream &
operator<<(QDataStream &s,
56 friend KCALCORE_EXPORT QDataStream &
operator>>(QDataStream &s,
64 typedef QSharedPointer<FreeBusy>
Ptr;
100 FreeBusy(
const KDateTime &start,
const KDateTime &end);
126 QByteArray typeStr()
const;
135 virtual void setDtStart(
const KDateTime &start);
144 void setDtEnd(
const KDateTime &end);
151 virtual KDateTime dtEnd()
const;
157 virtual void shiftTimes(
const KDateTime::Spec &oldSpec,
158 const KDateTime::Spec &newSpec);
176 void addPeriod(
const KDateTime &start,
const KDateTime &end);
184 void addPeriod(
const KDateTime &start,
const Duration &duration);
226 void setDateTime(
const KDateTime &dateTime,
DateTimeRole role);
232 QLatin1String mimeType()
const;
237 static QLatin1String freeBusyMimeType();
256 virtual void virtual_hook(
int id,
void *data);
282 KCALCORE_EXPORT QDataStream &
operator<<(QDataStream &stream,
287 KCALCORE_EXPORT QDataStream &
operator>>(QDataStream &stream,
QSharedPointer< IncidenceBase > Ptr
A shared pointer to an IncidenceBase.
QVector< Period > List
List of periods.
This class provides the interface for a visitor of calendar components.
DateTimeRole
The different types of incidence date/times roles.
Represents a span of time measured in seconds or days.
Provides information about the free/busy time of a calendar.
QVector< FreeBusyPeriod > List
List of periods.
KCALCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalCore::Alarm::Ptr &)
Alarm deserializer.
QVector< Ptr > List
List of events.
An abstract class that provides a common base for all calendar incidence classes.
QSharedPointer< FreeBusy > Ptr
A shared pointer to a FreeBusy object.
IncidenceType
The different types of incidences, per RFC2445.
Represents a period of time.
QVector< Ptr > List
List of FreeBusy objects.
Represents a period of time.
KCALCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalCore::Alarm::Ptr &)
Alarm serializer.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.