KCalCore Library
duration.cpp
Go to the documentation of this file.
Type type() const
Returns the time units (seconds or days) used to specify the duration.
Definition: duration.cpp:190
bool isDaily() const
Returns whether the duration is specified in terms of days rather than seconds.
Definition: duration.cpp:195
bool operator==(const Duration &other) const
Returns true if this duration is equal to the other.
Definition: duration.cpp:140
KDateTime end(const KDateTime &start) const
Computes a duration end time by adding the number of seconds or days in the duration to the specified...
Definition: duration.cpp:184
Duration & operator=(const Duration &duration)
Sets this duration equal to duration.
Definition: duration.cpp:115
Duration & operator+=(const Duration &other)
Adds another duration to this one.
Definition: duration.cpp:149
KCALCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalCore::Alarm::Ptr &)
Alarm deserializer.
Definition: alarm.cpp:863
int value() const
Returns the length of the duration in seconds or days.
Definition: duration.cpp:210
bool operator<(const Duration &other) const
Returns true if this duration is smaller than the other.
Definition: duration.cpp:131
This file is part of the API for handling calendar data and defines the Duration class.
Duration & operator-=(const Duration &other)
Subtracts another duration from this one.
Definition: duration.cpp:167
KCALCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalCore::Alarm::Ptr &)
Alarm serializer.
Definition: alarm.cpp:853
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.