KItinerary::SSBTicketBase

Search for usage in LXR

#include <ssbticketbase.h>

Inheritance diagram for KItinerary::SSBTicketBase:

Protected Member Functions

Q_INVOKABLE quint64 readNumber (int start, int length) const
 
Q_INVOKABLE QString readString (int start, int length) const
 

Static Protected Member Functions

static QDate dayNumberToDate (int days, const QDateTime &context)
 

Protected Attributes

QByteArray m_data
 

Detailed Description

Internal base class for ERA SSB tickets.

Definition at line 22 of file ssbticketbase.h.

Member Function Documentation

◆ dayNumberToDate()

QDate SSBTicketBase::dayNumberToDate ( int days,
const QDateTime & context )
staticnodiscardprotected

Convert a SSBv1 or v2 day number to a date based on context.

Definition at line 61 of file ssbticketbase.cpp.

◆ readNumber()

quint64 SSBTicketBase::readNumber ( int start,
int length ) const
nodiscardprotected

Definition at line 22 of file ssbticketbase.cpp.

◆ readString()

QString SSBTicketBase::readString ( int start,
int length ) const
nodiscardprotected

Definition at line 40 of file ssbticketbase.cpp.

Member Data Documentation

◆ m_data

QByteArray KItinerary::SSBTicketBase::m_data
protected

Definition at line 36 of file ssbticketbase.h.


The documentation for this class was generated from the following files:
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.