MagicSmoke  $VERSION$
MHidBarcodeScanner Class Reference

#include <hidscanner.h>

Inheritance diagram for MHidBarcodeScanner:
MBarcodeScanner

Public Member Functions

 MHidBarcodeScanner (QString path, QString setGrp, QObject *parent=0)
 
virtual ~MHidBarcodeScanner ()
 
void activate () override
 attempts to activate the scanner More...
 
void deactivate () override
 attempts to de-activate the scanner More...
 
bool isActive () const override
 returns whether the scanner is currently active More...
 
bool matchPath (const QString &p)
 
QString readableName () const override
 returns a human readable name for the scanner More...
 
- Public Member Functions inherited from MBarcodeScanner
 MBarcodeScanner (QObject *parent=0)
 

Additional Inherited Members

- Public Slots inherited from MBarcodeScanner
- Signals inherited from MBarcodeScanner
void activated ()
 emitted when the scanner becomes active More...
 
void deactivated ()
 emitted when the scanner becomes inactive More...
 
void newBarcode (QString)
 emitted when a new barcode is available More...
 

Constructor & Destructor Documentation

MHidBarcodeScanner::~MHidBarcodeScanner ( )
virtual

References deactivate().

Member Function Documentation

void MHidBarcodeScanner::activate ( )
overridevirtual

attempts to activate the scanner

Implements MBarcodeScanner.

References MBarcodeScanner::activated().

Referenced by MHidBarcodeScanner().

void MHidBarcodeScanner::deactivate ( )
overridevirtual

attempts to de-activate the scanner

Implements MBarcodeScanner.

References MBarcodeScanner::deactivated().

Referenced by ~MHidBarcodeScanner().

bool MHidBarcodeScanner::isActive ( ) const
inlineoverridevirtual

returns whether the scanner is currently active

Implements MBarcodeScanner.

bool MHidBarcodeScanner::matchPath ( const QString &  p)
inline
QString MHidBarcodeScanner::readableName ( ) const
overridevirtual

returns a human readable name for the scanner

Implements MBarcodeScanner.


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