KItinerary::BarcodeDecoder::Result
KItinerary::BarcodeDecoder::Result Class Reference
#include <barcodedecoder.h>
Public Types | |
| enum | ContentType { None = 0 , ByteArray = 1 , String = 2 , Any = 3 } |
Public Member Functions | |
| QByteArray | toByteArray () const |
| QString | toString () const |
Public Attributes | |
| QVariant | content |
| int | contentType = None |
Detailed Description
Barcode decoding result.
Can be a QByteArray, a QString or empty.
Definition at line 56 of file barcodedecoder.h.
Member Enumeration Documentation
◆ ContentType
| enum KItinerary::BarcodeDecoder::Result::ContentType |
Definition at line 58 of file barcodedecoder.h.
Member Function Documentation
◆ toByteArray()
| QByteArray BarcodeDecoder::Result::toByteArray | ( | ) | const |
Definition at line 38 of file barcodedecoder.cpp.
◆ toString()
| QString BarcodeDecoder::Result::toString | ( | ) | const |
Definition at line 43 of file barcodedecoder.cpp.
Member Data Documentation
◆ content
| QVariant KItinerary::BarcodeDecoder::Result::content |
Definition at line 65 of file barcodedecoder.h.
◆ contentType
| int KItinerary::BarcodeDecoder::Result::contentType = None |
Definition at line 64 of file barcodedecoder.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:54:59 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 11:54:59 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.