KAlarm Library
23 #ifndef KALARM_REPETITION_H 24 #define KALARM_REPETITION_H 26 #include "kalarmcal_export.h" 27 #ifndef KALARMCAL_USE_KRESOURCES 30 #include <kcal/duration.h> 55 #ifndef KALARMCAL_USE_KRESOURCES 64 Repetition(
const KCal::Duration& interval,
int count);
73 #ifndef KALARMCAL_USE_KRESOURCES 78 void set(
const KCal::Duration& interval,
int count);
81 #ifndef KALARMCAL_USE_KRESOURCES 92 void set(
const KCal::Duration& interval);
98 operator bool()
const;
111 #ifndef KALARMCAL_USE_KRESOURCES 124 KCal::Duration interval()
const;
127 KCal::Duration duration()
const;
132 KCal::Duration duration(
int count)
const;
136 bool isDaily()
const;
141 int intervalDays()
const;
146 int intervalMinutes()
const;
149 int intervalSeconds()
const;
155 int nextRepeatCount(
const KDateTime& from,
const KDateTime& preDateTime)
const;
161 int previousRepeatCount(
const KDateTime& from,
const KDateTime& afterDateTime)
const;
172 #endif // KALARM_REPETITION_H
Represents a sub-repetition, defined by interval and repeat count.
bool operator!=(const location &loc1, const location &loc2)
bool operator!() const
Returns whether no repetition is defined.
bool operator==(const location &loc1, const location &loc2)
This file is part of the KDE documentation.
Documentation copyright © 1996-2016 The KDE developers.
Generated on Fri Apr 22 2016 18:38:21 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.