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

◆ endDateTime()

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

◆ isBefore()

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

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

Definition at line 144 of file sortutil.cpp.

◆ startDateTime()

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

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Jun 28 2022 04:02:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.