Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |
The QWSMouseHandler class is a mouse driver for Qtopia Core. More...
#include <QWSMouseHandler>
The QWSMouseHandler class is a mouse driver for Qtopia Core.
The mouse driver handles events from system devices and generates mouse events.
A QWSMouseHandler will usually open some system device in its constructor, create a QSocketNotifier on that opened device and when it receives data, it will call mouseChanged() to send the event to Qtopia Core for relaying to clients.
Constructs a mouse handler. This becomes the primary mouse handler.
Note that once created, mouse handlers are controlled by the system and should not be deleted.
The driver and device arguments are not used by this base class.
Destroys the mouse handler. You should not call this directly.
This method is reimplemented in the calibrated mouse handler to set calibration information passed in data, for example, from the Qtopia calibration screen. This version does nothing.
This method is reimplemented in the calibrated mouse handler to clear calibration information. This version does nothing.
Ensures that the given point, pt is within the screen's boundaries, changing pt if necessary.
When a mouse event occurs this function is called with the mouse's position in pos, the state of its buttons in bstate, and the wheel motion in wheel.
Returns the mouse position.
Must be implemented in subclasses to resume handling mouse events.
See also suspend().
Must be implemented in subclasses to suspend reading and handling of mouse events.
See also resume().
Copyright © 2005 Trolltech | Trademarks | Qt 4.1.0 |