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 Sat Dec 21 2024 16:56:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.