qwskeyboardhandler.3qt man page

QWSKeyboardHandler — Implements the keyboard driver for Qt/Embedded

Synopsis

#include <qkeyboard_qws.h>

Inherits QObject.

Public Members

QWSKeyboardHandler ()

virtual ~QWSKeyboardHandler ()

Protected Members

virtual void processKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )

Description

The QWSKeyboardHandler class implements the keyboard driver for Qt/Embedded.

The keyboard driver handles events from system devices and generates key events.

A QWSKeyboardHandler will usually open some system device in its constructor, create a QSocketNotifier on that opened device and when it receives data, it will call processKeyEvent() to send the event to Qt/Embedded for relaying to clients.

See also Qt/Embedded.

QWSKeyboardHandler::QWSKeyboardHandler ()

Constructs a keyboard handler. The handler may be passed to the system for later destruction with QWSServer::setKeyboardHandler(), although even without doing this, the handler can function, calling processKeyEvent() to emit events.

QWSKeyboardHandler::~QWSKeyboardHandler () [virtual]

Destroys a keyboard handler. Note that if you have called QWSServer::setKeyboardHandler(), you must not delete the handler.

void QWSKeyboardHandler::processKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ) [virtual protected]

Subclasses call this function to send a key event. The server may additionally filter the event before sending it on to applications.

<center>.nf

See Also

http://doc.trolltech.com/qwskeyboardhan… http://www.trolltech.com/faq/tech.html

Author

Generated automatically from the source code.

Bugs

If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you.

The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech.

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qwskeyboardhandler.3qt) and the Qt version (3.3.8).

Referenced By

QWSKeyboardHandler.3qt(3) is an alias of qwskeyboardhandler.3qt(3).

2 February 2007 Trolltech AS