Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

QWSEvent Class Reference
[QtGui module]

The QWSEvent class encapsulates an event in Qtopia Core. More...

#include <QWSEvent>

Public Types


Detailed Description

The QWSEvent class encapsulates an event in Qtopia Core.

When running a Qtopia Core application, it either runs as a server or connects to an existing server. In the client/server protocol, each event is sent as a QWSEvent object to the server.

QWSEvent provides the Type enum specifying the origin of the event. Internally, each type is represented by a QWSEvent subclass, e.g. QWSKeyEvent.

Note that the QApplication class provides the virtual qwsEventFilter() function which can be reimplemented to get direct access to all QWS (Q Window System) events that are received from the QWS master process.

See also QWSServer and QWSClient.


Member Type Documentation

enum QWSEvent::Type

This enum specifies the event's type.

ConstantValueDescription
QWSEvent::NoEvent0No event has occurred.
QWSEvent::Connected1An application has connected to the server.
QWSEvent::Mouse2A mouse button is pressed or released, or the mouse cursor is moved. See also Pointer Handling.
QWSEvent::Focus3A window has lost or received focus.
QWSEvent::Key4A key is pressed or released. See also Character Input.
QWSEvent::Region5A region has changed.
QWSEvent::Creation6The server has created an ID, typically for a window.
QWSEvent::PropertyNotify7A property has changed.
QWSEvent::PropertyReply8The server is responding to a request for a property's value.
QWSEvent::SelectionClear9A selection is deleted.
QWSEvent::SelectionRequest10The server has queried for a selection.
QWSEvent::SelectionNotify11A new selection has been created.
QWSEvent::MaxWindowRect12The server has changed the maximum window for an application.
QWSEvent::QCopMessage13A new Qt Cop message has appeared.
QWSEvent::WindowOperation14A window operation, e.g. resizing, has occured.
QWSEvent::IMEvent15An input method has been used to enter text for languages with non-Latin alphabets. See also QWSInputMethod.
QWSEvent::IMQuery16An input method query for a specified property has occurred. See also QWSInputMethod.
QWSEvent::IMInit17 
QWSEvent::NEvent18The number of events has changed.


Copyright © 2006 Trolltech Trademarks
Qt 4.1.3