QWSMouseHandler Class Reference

QWSMouseHandler Class Referenceabstract

#include <qmouse_qws.h>

Class Description

Definition at line 66 of file qmouse_qws.h.

+ Inheritance diagram for QWSMouseHandler:

Public Member Functions

 QWSMouseHandler (const QString &driver=QString(), const QString &device=QString())
 
virtual ~QWSMouseHandler ()
 
virtual void clearCalibration ()
 
virtual void calibrate (const QWSPointerCalibrationData *)
 
virtual void getCalibration (QWSPointerCalibrationData *) const
 
virtual void resume ()=0
 
virtual void suspend ()=0
 
void limitToScreen (QPoint &pt)
 
void mouseChanged (const QPoint &pos, int bstate, int wheel=0)
 
const QPointpos () const
 
void setScreen (const QScreen *screen)
 

Protected Attributes

QPointmousePos
 
QWSMouseHandlerPrivate * d_ptr
 

Constructor & Destructor Documentation

QWSMouseHandler ( const QString driver = QString(),
const QString device = QString() 
)
explicit
virtual ~QWSMouseHandler ( )
virtual

Member Function Documentation

virtual void clearCalibration ( )
inlinevirtual

Reimplemented in QWSCalibratedMouseHandler, QIntMouseHandler, and QWSTslibMouseHandler.

Definition at line 73 of file qmouse_qws.h.

73 {}
virtual void calibrate ( const QWSPointerCalibrationData )
inlinevirtual

Reimplemented in QWSCalibratedMouseHandler, QIntMouseHandler, and QWSTslibMouseHandler.

Definition at line 74 of file qmouse_qws.h.

74 {}
virtual void getCalibration ( QWSPointerCalibrationData ) const
inlinevirtual

Reimplemented in QWSCalibratedMouseHandler.

Definition at line 75 of file qmouse_qws.h.

75 {}
void limitToScreen ( QPoint pt)
void mouseChanged ( const QPoint pos,
int  bstate,
int  wheel = 0 
)
const QPoint& pos ( ) const
inline

Definition at line 82 of file qmouse_qws.h.

82 { return mousePos; }
QPoint & mousePos
Definition: qmouse_qws.h:87
void setScreen ( const QScreen screen)

Member Data Documentation

QPoint& mousePos
protected

Definition at line 87 of file qmouse_qws.h.

QWSMouseHandlerPrivate* d_ptr
protected

Definition at line 88 of file qmouse_qws.h.


The documentation for this class was generated from the following file: