Describes a time event of a time based Rule. More...
Header: | #include <TimeEventItem> |
TimeEventItem() | |
QDateTime | dateTime() const |
bool | evaluate(const QDateTime & lastEvaluationTime, const QDateTime & dateTime) const |
bool | isValid() const |
RepeatingOption | repeatingOption() const |
void | setDateTime(const uint & timeStamp) |
void | setRepeatingOption(const RepeatingOption & repeatingOption) |
void | setTime(const QTime & time) |
QTime | time() const |
Describes a time event of a time based Rule.
See also Rule, TimeDescriptor, and CalendarItem.
Constructs an invalid TimeEventItem.
Returns the dateTime of this TimeEventItem.
See also setDateTime().
Returns true, if the given dateTime matches this TimeEventItem since the last lastEvaluationTime.
Returns true if this TimeEventItem is valid. A TimeEventItem is valid if either the time() or the dateTime() is set.
Returns the RepeatingOption of this TimeEventItem.
See also setRepeatingOption().
Sets the dateTime of this TimeEventItem to the given timeStamp.
See also dateTime().
Sets the repeatingOption of this TimeEventItem.
See also repeatingOption().
Sets the time of this TimeEventItem.
See also time().
Returns the time of this TimeEventItem.
See also setTime().