KItinerary::Ticket

Search for usage in LXR

KItinerary::Ticket Class Reference

#include <ticket.h>

Public Types

enum  TicketTokenType {
  Unknown, Url, QRCode, AztecCode,
  Code128, DataMatrix, PDF417
}
 

Properties

QString name
 
KItinerary::Seat ticketedSeat
 
QString ticketToken
 
QVariant ticketTokenData
 
TicketTokenType ticketTokenType
 

Public Member Functions

QVariant ticketTokenData () const
 
TicketTokenType ticketTokenType () const
 

Detailed Description

A booked ticket.

See also
https://schema.org/Ticket

Definition at line 35 of file ticket.h.

Member Enumeration Documentation

The type of content in the ticketToken property.

Enumerator
Unknown 

Unknown or empty ticket token.

Url 

A download URL.

QRCode 

QR code.

AztecCode 

Aztec code.

Code128 

Code 128 barcode.

DataMatrix 

A DataMatrix barcode.

PDF417 

A PDF417 barcode.

Definition at line 54 of file ticket.h.

Property Documentation

QString KItinerary::Ticket::ticketToken
readwrite

The raw ticket token string.

See also
ticketTokenType, ticketTokenData

Definition at line 43 of file ticket.h.

QVariant KItinerary::Ticket::ticketTokenData
read

The ticket token payload for barcodes, otherwise the same as ticketToken.

For binary content barcodes this is a QByteArray, otherwise a QString.

Definition at line 50 of file ticket.h.

Ticket::TicketTokenType KItinerary::Ticket::ticketTokenType
read

The type of the content in ticketToken.

Definition at line 46 of file ticket.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:06:14 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.