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 93 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 38 of file iatabcbpparser.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 12 2024 11:52:20 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.