KItinerary::SortUtil
Functions | |
QDateTime | endDateTime (const QVariant &res) |
bool | hasEndTime (const QVariant &elem) |
bool | hasStartTime (const QVariant &elem) |
bool | isBefore (const QVariant &lhs, const QVariant &rhs) |
QDateTime | startDateTime (const QVariant &elem) |
Detailed Description
Utility function for sorting reservations/visits/events.
Function Documentation
◆ endDateTime()
Returns the (end) time associated with the given element.
This can be either a Reservation object, or a reservable object if that has a time associated (such as an Event).
Definition at line 101 of file sortutil.cpp.
◆ hasEndTime()
bool KItinerary::SortUtil::hasEndTime | ( | const QVariant & | elem | ) |
Returns whether the given element has an end time.
- See also
- hasStartTime
Definition at line 216 of file sortutil.cpp.
◆ hasStartTime()
bool KItinerary::SortUtil::hasStartTime | ( | const QVariant & | elem | ) |
Returns whether the given element has a start time.
This can be false
even is SortUtil::startDateTime returns a valid result, if there is only a start date available.
Definition at line 198 of file sortutil.cpp.
◆ isBefore()
Sorting function for top-level reservation/visit/event elements.
Definition at line 169 of file sortutil.cpp.
◆ startDateTime()
Returns the (start) time associated with the given element.
This can be either a Reservation object, or a reservable object if that has a time associated (such as an Event).
Definition at line 29 of file sortutil.cpp.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.