KItinerary::IataBcbpParser Namespace Reference


QList< QVariantparse (const IataBcbp &bcbp, const QDateTime &contextDate)
QList< QVariantparse (const QString &message, const QDateTime &externalIssueDateTime=QDateTime())

Detailed Description

Function Documentation

◆ parse() [1/2]

QList< QVariant > KItinerary::IataBcbpParser::parse ( const IataBcbp & bcbp,
const QDateTime & contextDate )

Definition at line 56 of file iatabcbpparser.cpp.

◆ parse() [2/2]

QList< QVariant > KItinerary::IataBcbpParser::parse ( const QString & message,
const QDateTime & externalIssueDateTime = QDateTime() )

Parses the bar coded boarding pass message message into a list of FlightReservation instances.

messageThe message.
externalIssueDateThe date the boarding pass was issued (or a sufficiently close approximation). This is necessary as by default the BCBP data only contains day and month of the flight, not the year.

Definition at line 29 of file iatabcbpparser.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:40:33 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.