BPS C++ API  2.24.4
bpskeyboardscanner.h
Go to the documentation of this file.
1 
4 #ifndef BPSKEYBOARDSCANNER_H
5 #define BPSKEYBOARDSCANNER_H
6 
7 #include "bpsgui_global.h"
8 #include <QObject>
9 
81 {
82  Q_OBJECT
83 
85 
86 public:
87 
91  BpsKeyboardScanner(QObject* aParent = nullptr);
92 
96  int timeout() const;
97 
102  void setTimeout(int aTimeout);
103 
105  virtual ~BpsKeyboardScanner();
106 
107  virtual bool eventFilter(QObject* aWatched, QEvent* aEvent);
109 };
110 
111 #endif // BPSKEYBOARDSCANNER_H
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
Public include file for BPS GUI library macros.
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
Handles input of scanners that are looped into the keyboard input stream.
Definition: bpskeyboardscanner.h:81
BpsKeyboardScanner(QObject *aParent=nullptr)
void setTimeout(int aTimeout)
Change time out seconds.
int timeout() const
virtual bool eventFilter(QObject *watched, QEvent *event)