MagicSmoke  $VERSION$
MBarcodeScanner Class Referenceabstract

base class of actual scanner implementations More...

#include <barcode-plugin.h>

Inheritance diagram for MBarcodeScanner:
MHidBarcodeScanner

Public Slots

virtual void activate ()=0
 attempts to activate the scanner More...
 
virtual void deactivate ()=0
 attempts to de-activate the scanner More...
 

Signals

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...
 

Public Member Functions

 MBarcodeScanner (QObject *parent=0)
 
virtual bool isActive () const =0
 returns whether the scanner is currently active More...
 
virtual QString readableName () const =0
 returns a human readable name for the scanner More...
 

Detailed Description

base class of actual scanner implementations

Constructor & Destructor Documentation

MBarcodeScanner::MBarcodeScanner ( QObject *  parent = 0)
explicit

Member Function Documentation

virtual void MBarcodeScanner::activate ( )
pure virtualslot

attempts to activate the scanner

Implemented in MHidBarcodeScanner.

void MBarcodeScanner::activated ( )
signal

emitted when the scanner becomes active

Referenced by MHidBarcodeScanner::activate().

virtual void MBarcodeScanner::deactivate ( )
pure virtualslot

attempts to de-activate the scanner

Implemented in MHidBarcodeScanner.

void MBarcodeScanner::deactivated ( )
signal

emitted when the scanner becomes inactive

Referenced by MHidBarcodeScanner::deactivate().

virtual bool MBarcodeScanner::isActive ( ) const
pure virtual

returns whether the scanner is currently active

Implemented in MHidBarcodeScanner.

void MBarcodeScanner::newBarcode ( QString  )
signal

emitted when a new barcode is available

virtual QString MBarcodeScanner::readableName ( ) const
pure virtual

returns a human readable name for the scanner

Implemented in MHidBarcodeScanner.


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