KItinerary::SortUtil

KItinerary::SortUtil Namespace Reference

Functions

QDateTime endDateTime (const QVariant &res)
 
bool isBefore (const QVariant &lhs, const QVariant &rhs)
 
QDateTime startDateTime (const QVariant &elem)
 

Detailed Description

Utility function for sorting reservations/visits/events.

Function Documentation

QDateTime KItinerary::SortUtil::endDateTime ( const QVariant res)

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 83 of file sortutil.cpp.

bool KItinerary::SortUtil::isBefore ( const QVariant lhs,
const QVariant rhs 
)

Sorting function for top-level reservation/visit/event elements.

Definition at line 138 of file sortutil.cpp.

QDateTime KItinerary::SortUtil::startDateTime ( const QVariant elem)

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 26 of file sortutil.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Jul 11 2020 23:13:37 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.