KItinerary::SSBTicketReader

KItinerary::SSBTicketReader Namespace Reference

Functions

bool maybeSSB (const QByteArray &data)
 
QVariant read (const QByteArray &data, int versionOverride=0)
 

Detailed Description

Factory function for the various ERA SSB variants.

Function Documentation

◆ maybeSSB()

bool KItinerary::SSBTicketReader::maybeSSB ( const QByteArray & data)
nodiscard

Returns whether data could be an ERA SSB ticket.

Definition at line 26 of file ssbticketreader.cpp.

◆ read()

QVariant KItinerary::SSBTicketReader::read ( const QByteArray & data,
int versionOverride = 0 )
nodiscard

Attempt to read an SSB ticket.

The variant is auto-detected, unless versionOverride is specified.

Definition at line 69 of file ssbticketreader.cpp.

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

KDE's Doxygen guidelines are available online.