KCalendarCore
period.cpp
Go to the documentation of this file.
144 QDataStream &KCalendarCore::operator<<(QDataStream &stream, const KCalendarCore::Period &period)
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
Alarm serializer.
Definition: alarm.cpp:820
Represents a span of time measured in seconds or days.
Definition: duration.h:43
bool hasDuration() const
Returns true if this period has a set duration, false if it just has a start and an end.
Definition: period.cpp:129
The period can be defined by either a start time and an end time or by a start time and a duration.
Definition: period.h:37
KCALENDARCORE_EXPORT bool identical(QDateTime, QDateTime)
Compare two QDateTimes for extended equality.
Definition: incidencebase.cpp:618
KCALENDARCORE_EXPORT QDataStream & operator>>(QDataStream &in, const KCalendarCore::Alarm::Ptr &)
Alarm deserializer.
Definition: alarm.cpp:833
Q_SCRIPTABLE Q_NOREPLY void start()
bool isValid() const const
Period & operator=(const Period &other)
Sets this period equal to the other one.
Definition: period.cpp:89
bool operator==(const Period &other) const
Returns true if this period is equal to the other one.
Definition: period.cpp:83
KCALENDARCORE_EXPORT uint qHash(const KCalendarCore::Person &key)
Return a hash value for a Person argument.
Definition: person.cpp:147
bool operator<(const Period &other) const
Returns true if the start of this period is earlier than the start of the other one.
Definition: period.cpp:78
QString toString(Qt::DateFormat format) const const
bool isDaily() const
Returns whether the duration is specified in terms of days rather than seconds.
Definition: duration.cpp:181
Represents a period of time.
const QList< QKeySequence > & end()
void shiftTimes(const QTimeZone &oldZone, const QTimeZone &newZone)
Shift the times of the period so that they appear at the same clock time as before but in a new time ...
Definition: period.cpp:134
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 28 2023 03:53:12 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 28 2023 03:53:12 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.