Qt 4.8
|
Public Types | |
enum | UsageResult { Insufficient, Motion, Button } |
Public Functions | |
void | appendData (uchar *data, int length) |
int | buttonState () const |
void | closeIfNot (int &f) |
int | file () const |
void | initState () |
bool | motionPending () const |
QWSPcMouseSubHandler (int f) | |
bool | reliable () const |
QPoint | takeMotion () |
int | takeWheel () |
UsageResult | useData () |
void | worse (int by=1) |
virtual | ~QWSPcMouseSubHandler () |
Protected Types | |
enum | { max_buf =32 } |
Protected Functions | |
virtual int | tryData ()=0 |
Protected Variables | |
int | badness |
int | bstate |
uchar | buffer [max_buf] |
int | fd |
int | goodness |
QPoint | motion |
int | nbuf |
int | wheel |
Definition at line 80 of file qmousepc_qws.cpp.
|
protected |
Enumerator | |
---|---|
Insufficient | |
Motion | |
Button |
Definition at line 130 of file qmousepc_qws.cpp.
|
inline |
Definition at line 99 of file qmousepc_qws.cpp.
|
inlinevirtual |
Definition at line 103 of file qmousepc_qws.cpp.
|
inline |
Definition at line 124 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseHandlerPrivate::readMouseData().
|
inline |
Definition at line 119 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseHandlerPrivate::sendEvent().
|
inline |
Definition at line 107 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseHandlerPrivate::closeDevices().
|
inline |
Definition at line 105 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseHandlerPrivate::readMouseData().
|
inline |
|
inline |
Definition at line 120 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseHandlerPrivate::readMouseData().
|
inline |
Definition at line 118 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseHandlerPrivate::readMouseData(), and QWSPcMouseHandlerPrivate::sendEvent().
|
inline |
Definition at line 121 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseHandlerPrivate::sendEvent().
|
inline |
Definition at line 122 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseHandlerPrivate::sendEvent().
|
protectedpure virtual |
Implemented in QWSPcMouseSubHandler_ms, QWSPcMouseSubHandler_mousesystems, QWSPcMouseSubHandler_mouseman, and QWSPcMouseSubHandler_intellimouse.
Referenced by useData().
|
inline |
Definition at line 132 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseHandlerPrivate::readMouseData().
|
inline |
Definition at line 117 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseHandlerPrivate::sendEvent().
|
protected |
Definition at line 94 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseSubHandler_intellimouse::init(), QWSPcMouseSubHandler_mousesystems::init(), QWSPcMouseSubHandler_ms::init(), QWSPcMouseSubHandler_intellimouse::tryData(), QWSPcMouseSubHandler_mouseman::tryData(), QWSPcMouseSubHandler_mousesystems::tryData(), and QWSPcMouseSubHandler_ms::tryData().
|
protected |
Definition at line 90 of file qmousepc_qws.cpp.
Referenced by buttonState(), QWSPcMouseSubHandler_intellimouse::tryData(), QWSPcMouseSubHandler_mouseman::tryData(), QWSPcMouseSubHandler_mousesystems::tryData(), QWSPcMouseSubHandler_ms::tryData(), and useData().
Definition at line 86 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseSubHandler_intellimouse::tryData(), QWSPcMouseSubHandler_mouseman::tryData(), QWSPcMouseSubHandler_mousesystems::tryData(), and QWSPcMouseSubHandler_ms::tryData().
|
protected |
Definition at line 84 of file qmousepc_qws.cpp.
Referenced by closeIfNot(), file(), QWSPcMouseSubHandler_intellimouse::init(), QWSPcMouseSubHandler_mouseman::init(), QWSPcMouseSubHandler_mousesystems::init(), QWSPcMouseSubHandler_ms::init(), QWSPcMouseSubHandler_serial::initSerial(), and QWSPcMouseSubHandler_serial::setflags().
|
protected |
Definition at line 93 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseSubHandler_intellimouse::init(), QWSPcMouseSubHandler_intellimouse::tryData(), QWSPcMouseSubHandler_mouseman::tryData(), QWSPcMouseSubHandler_mousesystems::tryData(), and QWSPcMouseSubHandler_ms::tryData().
|
protected |
Definition at line 89 of file qmousepc_qws.cpp.
Referenced by takeMotion(), QWSPcMouseSubHandler_intellimouse::tryData(), QWSPcMouseSubHandler_mouseman::tryData(), QWSPcMouseSubHandler_mousesystems::tryData(), and QWSPcMouseSubHandler_ms::tryData().
|
protected |
Definition at line 87 of file qmousepc_qws.cpp.
Referenced by QWSPcMouseSubHandler_intellimouse::tryData(), QWSPcMouseSubHandler_mouseman::tryData(), QWSPcMouseSubHandler_mousesystems::tryData(), and QWSPcMouseSubHandler_ms::tryData().
|
protected |
Definition at line 91 of file qmousepc_qws.cpp.
Referenced by takeWheel(), and QWSPcMouseSubHandler_intellimouse::tryData().