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()

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-2023 The KDE developers.
Generated on Sat Sep 30 2023 03:55:23 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.