From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- doc/html/qwsmousehandler.html | 113 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 doc/html/qwsmousehandler.html (limited to 'doc/html/qwsmousehandler.html') diff --git a/doc/html/qwsmousehandler.html b/doc/html/qwsmousehandler.html new file mode 100644 index 0000000..19d7374 --- /dev/null +++ b/doc/html/qwsmousehandler.html @@ -0,0 +1,113 @@ + + + + + +QWSMouseHandler Class + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

QWSMouseHandler Class Reference

+ +

The QWSMouseHandler class is a mouse driver for Qt/Embedded. +More... +

#include <qmouse_qws.h> +

List of all member functions. +

Public Members

+ +

Detailed Description

+ + +The QWSMouseHandler class is a mouse driver for Qt/Embedded. +

+

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 Qt/Embedded for relaying to clients. +

See also Qt/Embedded. + +


Member Function Documentation

+

QWSMouseHandler::QWSMouseHandler ( const QString & driver = QString::null, const QString & device = QString::null ) +

+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. + +

QWSMouseHandler::~QWSMouseHandler () [virtual] +

+Destroys the mouse handler. You should not call this directly. + +

void QWSMouseHandler::calibrate ( QWSPointerCalibrationData * ) [virtual] +

+ +

This method is reimplemented in the calibrated mouse handler to +set calibration information (from, for instance, the Qtopia +calibration screen). This version does nothing. + +

void QWSMouseHandler::clearCalibration () [virtual] +

+ +

This method is reimplemented in the calibrated mouse handler to +clear calibration information. This version does nothing. + +

void QWSMouseHandler::limitToScreen ( QPoint & pt ) +

+Ensures that the given point, pt is within the screen's +boundaries, changing pt if necessary. + +

void QWSMouseHandler::mouseChanged ( const QPoint & pos, int bstate ) +

+When a mouse event occurs this function is called with the mouse's +position in pos, and the state of its buttons in bstate. + +

const QPoint & QWSMouseHandler::pos () const +

+ +

Returns the mouse position. + + +


+This file is part of the Qt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


+ +
Copyright © 2007 +TrolltechTrademarks +
Qt 3.3.8
+
+ -- cgit v1.2.3