|
MagicSmoke
$VERSION$
|
base class of actual scanner implementations More...
#include <barcode-plugin.h>
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... | |
base class of actual scanner implementations
|
explicit |
|
pure virtualslot |
attempts to activate the scanner
Implemented in MHidBarcodeScanner.
|
signal |
emitted when the scanner becomes active
Referenced by MHidBarcodeScanner::activate().
|
pure virtualslot |
attempts to de-activate the scanner
Implemented in MHidBarcodeScanner.
|
signal |
emitted when the scanner becomes inactive
Referenced by MHidBarcodeScanner::deactivate().
|
pure virtual |
returns whether the scanner is currently active
Implemented in MHidBarcodeScanner.
|
signal |
emitted when a new barcode is available
|
pure virtual |
returns a human readable name for the scanner
Implemented in MHidBarcodeScanner.