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

QWSServer::KeyMap Class Reference
[QtGui module]

The KeyMap class is used for mapping scancodes. More...

#include <QWSServer>

Public Variables


Detailed Description

The KeyMap class is used for mapping scancodes.

The data from a keyboard comes mainly in the form of scancodes, produced by key presses or used in the protocol with the computer. Qtopia Core maintains a keyboard mapping table which it uses to convert the scancode data to Qt::Key and Unicode values.

The mapping table is a collection of KeyMap objects, each object records the mapping between a single keyboard scancode and its Qt::Key and Unicode values.

See also QWSServer::keyMap().


Member Variable Documentation

ushort KeyMap::ctrl_unicode

This variable holds the unicode value identifying the combination of the Ctrl key and the keyboard scancode associated with this KeyMap object.

int KeyMap::key_code

This variable holds the Qt::Key value identfying the keyboard scancode associated with this KeyMap object.

ushort KeyMap::shift_unicode

This variable holds the unicode value identifying the combination of the Shift key and the keyboard scancode associated with this KeyMap object.

ushort KeyMap::unicode

This variable holds the unicode value identfying the keyborad scancode associated with this KeyMap object.


Copyright © 2006 Trolltech Trademarks
Qt 4.1.3