KItinerary::ReservationConverter

KItinerary::ReservationConverter Namespace Reference

Functions

QJsonObject busToTrain (const QJsonObject &busRes)
 
QJsonObject flightToTrain (const QJsonObject &flightRes)
 
QJsonObject trainToBus (const QJsonObject &trainRes)
 

Detailed Description

Convert between different types of reservations, to the extend possible.

Function Documentation

◆ busToTrain()

QJsonObject KItinerary::ReservationConverter::busToTrain ( const QJsonObject & busRes)
nodiscard

Convert a bus reservation to a train reservation.

Definition at line 52 of file reservationconverter.cpp.

◆ flightToTrain()

QJsonObject KItinerary::ReservationConverter::flightToTrain ( const QJsonObject & flightRes)
nodiscard

Convert a flight reservation to a train reservation.

Definition at line 86 of file reservationconverter.cpp.

◆ trainToBus()

QJsonObject KItinerary::ReservationConverter::trainToBus ( const QJsonObject & trainRes)
nodiscard

Convert a train reservation to a bus reservation.

Definition at line 27 of file reservationconverter.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.