Classes - Annotated - Tree - Functions - Home - Structure

QWSMouseHandler Class Reference

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

#include <qwsmouse_qws.h>

Inherits QObject.

List of all member functions.

Public Members

Signals


Detailed Description

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

The mouse driver/handler 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.


Member Function Documentation

QWSMouseHandler::QWSMouseHandler ()

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.

QWSMouseHandler::~QWSMouseHandler () [virtual]

Destroys the mouse handler. You should not invoke this directly.

void QWSMouseHandler::mouseChanged ( const QPoint & pos, int bstate ) [signal]

This signal is emited by the mouse handler to signal that the mouse is now at position pos and the mouse buttons are now in the state bstate.


Search the documentation, FAQ, qt-interest archive and more (uses www.trolltech.com):


This file is part of the Qt toolkit, copyright © 1995-2001 Trolltech, all rights reserved.


Copyright © 2001 TrolltechTrademarks
Qt version 3.0.0-beta1-beta1