Prison

Prison Namespace Reference

Namespaces

 Format
 

Classes

class  AbstractBarcode
 
class  AztecBarcode
 
class  Code128Barcode
 
class  Code39Barcode
 
class  Code93Barcode
 
class  DataMatrixBarcode
 
class  Pdf417Barcode
 
class  QRCodeBarcode
 
class  ScanResult
 
class  VideoScanner
 

Enumerations

enum  BarcodeType {
  Null = 0, QRCode = 1, DataMatrix = 2, Aztec,
  Code39, Code93, Code128, PDF417
}
 

Functions

PRISON_EXPORT Prison::AbstractBarcodecreateBarcode (BarcodeType type)
 

Detailed Description

Provides classes and methods for generating barcodes.

Enumeration Type Documentation

◆ BarcodeType

possible supported barcode types

Enumerator
Null 

Null barcode.

QRCode 

QRCode 2d barcode.

DataMatrix 

DataMatrix 2d barcode.

Aztec 

Aztec 2d barcode.

Code39 

Code39 barcode.

Code93 

Code93 barcode.

Code128 

Code 128 barcode.

PDF417 

PDF417 barcode.

Definition at line 23 of file prison.h.

Function Documentation

◆ createBarcode()

Prison::AbstractBarcode * Prison::createBarcode ( BarcodeType  type)

Factory method to create a barcode of a given type.

Parameters
typebarcode type. See BarcodeType enum for values
Returns
a barcode provider, or a null pointer if unsupported. Ownership is passed to the caller.

Definition at line 17 of file prison.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Jan 28 2023 04:05:40 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.