KItinerary::Ticket

Search for usage in LXR

KItinerary::Ticket Class Reference

#include <ticket.h>

Public Types

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

Properties

QVariant ticketTokenData
 
KItinerary::Token::TokenType ticketTokenType
 

Public Member Functions

QVariant ticketTokenData () const
 
Token::TokenType ticketTokenType () const
 

Detailed Description

A booked ticket.

See also
https://schema.org/Ticket

Definition at line 40 of file ticket.h.

Member Enumeration Documentation

◆ TicketTokenType

Non-standard extension for ticket validity time ranges.

The type of content in the ticketToken property.

Deprecated:
Use Token::TokenType instead.
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 75 of file ticket.h.

Property Documentation

◆ ticketTokenData

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 57 of file ticket.h.

◆ ticketTokenType

Token::TokenType KItinerary::Ticket::ticketTokenType
read

The raw ticket token string.

See also
ticketTokenType, ticketTokenData The type of the content in ticketToken.

Definition at line 53 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-2023 The KDE developers.
Generated on Fri Sep 29 2023 04:01:28 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.