A custom event sent by scanner drivers. More...
#include <bpsscannerevent.h>
Public Member Functions | |
BpsScannerEvent (char aCode, const QString &aData) | |
char | code () const |
QString | data () const |
![]() | |
void | accept () |
void | ignore () |
bool | isAccepted () const const |
QEvent (QEvent::Type type) | |
void | setAccepted (bool accepted) |
bool | spontaneous () const const |
QEvent::Type | type () const const |
Static Public Member Functions | |
static QEvent::Type | eventType () |
![]() | |
int | registerEventType (int hint) |
A custom event sent by scanner drivers.
BpsScannerEvent::BpsScannerEvent | ( | char | aCode, |
const QString & | aData | ||
) |
aCode | The scanned code type. |
aData | The scanned code without prefix, suffix and code type identifier. |
char BpsScannerEvent::code | ( | ) | const |
QString BpsScannerEvent::data | ( | ) | const |
|
static |