Commit c2ff7983 authored by Volker Krause's avatar Volker Krause
Browse files

Remove the long unused JS API for decoding IATA BCBPs

This is no longer needed nowadays, as PDF barcodes are automatically
handled and IATA BCBPs ticket tokens are expanded by the post-processor,
taking away all the use-cases for this.
parent 68abdc37
......@@ -10,7 +10,6 @@
#include <pdf/pdfbarcodeutil_p.h>
#include <KItinerary/BarcodeDecoder>
#include <KItinerary/IataBcbpParser>
#include <KItinerary/PdfDocument>
#include <KItinerary/Uic9183Parser>
#include <KItinerary/VdvTicket>
......@@ -108,11 +107,6 @@ QVariant JsApi::Barcode::decodeUic9183(const QVariant &s) const
return QVariant::fromValue(p);
QVariant JsApi::Barcode::decodeIataBcbp(const QString &s) const
return QVariant::fromValue(IataBcbpParser::parse(s,;
QVariant JsApi::Barcode::decodeVdvTicket(const QVariant &s) const
VdvTicketParser p;
......@@ -53,10 +53,6 @@ public:
* @returns An instance of Uic9183Parser.
Q_INVOKABLE QVariant decodeUic9183(const QVariant &s) const;
/** Decode an IATA BCBP message from a flight boarding pass barcode.
* @returns A JSON-LD structure representing the boarding pass.
Q_INVOKABLE QVariant decodeIataBcbp(const QString &s) const;
/** Decode an VDV ticket barcode.
* @param s A QByteArray containing the raw VDV barcode data.
* @returns An instance of VdvTicket.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment