KItinerary::Ticket
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 } |
Public Member Functions | |
QVariant | ticketTokenData () const |
Token::TokenType | ticketTokenType () const |
Detailed Description
Member Enumeration Documentation
◆ TicketTokenType
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. |
Property Documentation
◆ identifier
◆ issuedBy
|
readwrite |
◆ name
◆ priceCurrency
◆ subjectOf
◆ ticketedSeat
|
readwrite |
◆ ticketNumber
◆ ticketToken
|
readwrite |
The raw ticket token string.
- See also
- ticketTokenType, ticketTokenData
◆ ticketTokenData
|
read |
The ticket token payload for barcodes, otherwise the same as ticketToken.
For binary content barcodes this is a QByteArray, otherwise a QString.
◆ ticketTokenType
|
read |
◆ totalPrice
◆ underName
|
readwrite |
◆ validFrom
|
readwrite |
◆ validUntil
Member Function Documentation
◆ ticketTokenData()
QVariant KItinerary::Ticket::ticketTokenData | ( | ) | const |
Definition at line 73 of file ticket.cpp.
◆ ticketTokenType()
Token::TokenType KItinerary::Ticket::ticketTokenType | ( | ) | const |
Definition at line 68 of file ticket.cpp.
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
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.