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/qwskeyboardhandler.html | 106 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 doc/html/qwskeyboardhandler.html (limited to 'doc/html/qwskeyboardhandler.html') diff --git a/doc/html/qwskeyboardhandler.html b/doc/html/qwskeyboardhandler.html new file mode 100644 index 0000000..f9679b6 --- /dev/null +++ b/doc/html/qwskeyboardhandler.html @@ -0,0 +1,106 @@ + + + + + +QWSKeyboardHandler Class + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

QWSKeyboardHandler Class Reference

+ +

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

#include <qkeyboard_qws.h> +

Inherits QObject. +

List of all member functions. +

Public Members

+ +

Protected Members

+ +

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


Member Function Documentation

+

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

+
Parameter Meaning +
unicode +The Unicode value for the key, or 0xFFFF is none is appropriate. +
keycode +The Qt keycode for the key (see Qt::Key for the list of codes). +
modifiers +The set of modifier keys (see Qt::Modifier). +
isPress +Whether this is a press or a release. +
autoRepeat +Whether this event was generated by an auto-repeat +mechanism, or an actual key press. +
+ + +

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