MagicSmoke  $VERSION$
MBarcodeHub Class Reference

central barcode scanner hub, this is used by widgets that require barcodes, plugins report (indirectly) to the hub More...

#include <barcode-plugin.h>

Inheritance diagram for MBarcodeHub:

Signals

void newBarcode (QString)
 this is emitted whenever any of the barcode scanners find a new barcode More...
 

Public Member Functions

QList< MBarcodeScanner * > allScanners ()
 returns all currently active scanners More...
 
void initialize ()
 initializes plugins (unless already initialized) More...
 

Static Public Member Functions

static MBarcodeHubinstance ()
 returns the hub object More...
 

Detailed Description

central barcode scanner hub, this is used by widgets that require barcodes, plugins report (indirectly) to the hub

Member Function Documentation

QList< MBarcodeScanner * > MBarcodeHub::allScanners ( )

returns all currently active scanners

References allscanners.

void MBarcodeHub::initialize ( )

initializes plugins (unless already initialized)

References allplugins.

Referenced by MagicSmokeMain::realmain().

MBarcodeHub * MBarcodeHub::instance ( )
static
void MBarcodeHub::newBarcode ( QString  )
signal

this is emitted whenever any of the barcode scanners find a new barcode


The documentation for this class was generated from the following files: