Inherits QObject. QWSKeyboardHandler () virtual void processKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )
virtual ~QWSKeyboardHandler ()
virtual void processKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )
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.
Member Function Documentation
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.
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.
Generated automatically from the source code.
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 email@example.com. Please include the name of the manual page (qwskeyboardhandler.3qt) and the Qt version (3.3.8).
The man page QWSKeyboardHandler.3qt(3) is an alias of qwskeyboardhandler.3qt(3).