Qt 4.8
Public Functions | Properties | List of all members
QWSUmKeyboardHandler Class Reference

#include <qkbdum_qws.h>

Inheritance diagram for QWSUmKeyboardHandler:
QWSKeyboardHandler

Public Functions

 QWSUmKeyboardHandler (const QString &)
 
virtual ~QWSUmKeyboardHandler ()
 
- Public Functions inherited from QWSKeyboardHandler
KeycodeAction processKeycode (quint16 keycode, bool pressed, bool autorepeat)
 Maps keycode according to a keymap and sends that key event to the Qt for Embedded Linux server application. More...
 
virtual void processKeyEvent (int unicode, int keycode, Qt::KeyboardModifiers modifiers, bool isPress, bool autoRepeat)
 Sends a key event to the Qt for Embedded Linux server application. More...
 
 QWSKeyboardHandler ()
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
 QWSKeyboardHandler (const QString &device)
 Constructs a keyboard driver. More...
 
virtual ~QWSKeyboardHandler ()
 Destroys this keyboard driver. More...
 

Properties

QWSUmKeyboardHandlerPrivated
 

Additional Inherited Members

- Public Types inherited from QWSKeyboardHandler
enum  KeycodeAction {
  None = 0, CapsLockOff = 0x01000000, CapsLockOn = 0x01000001, NumLockOff = 0x02000000,
  NumLockOn = 0x02000001, ScrollLockOff = 0x03000000, ScrollLockOn = 0x03000001, Reboot = 0x04000000,
  PreviousConsole = 0x05000000, NextConsole = 0x05000001, SwitchConsoleFirst = 0x06000000, SwitchConsoleLast = 0x0600007f,
  SwitchConsoleMask = 0x0000007f
}
 This enum describes the various special actions that actual QWSKeyboardHandler implementations have to take care of. More...
 
- Protected Functions inherited from QWSKeyboardHandler
void beginAutoRepeat (int uni, int code, Qt::KeyboardModifiers mod)
 Begins auto-repeating the specified key press; after a short delay the key press is sent periodically until the endAutoRepeat() function is called. More...
 
void endAutoRepeat ()
 Stops auto-repeating a key press. More...
 
int transformDirKey (int key)
 Transforms the arrow key specified by the given keycode, to the orientation of the display and returns the transformed keycode. More...
 

Detailed Description

Definition at line 59 of file qkbdum_qws.h.

Constructors and Destructors

◆ QWSUmKeyboardHandler()

QWSUmKeyboardHandler::QWSUmKeyboardHandler ( const QString device)

Definition at line 129 of file qkbdum_qws.cpp.

131 {
132  d = new QWSUmKeyboardHandlerPrivate(device);
133 }
QWSKeyboardHandler()
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: qkbd_qws.cpp:323
QWSUmKeyboardHandlerPrivate * d
Definition: qkbdum_qws.h:67

◆ ~QWSUmKeyboardHandler()

QWSUmKeyboardHandler::~QWSUmKeyboardHandler ( )
virtual

Definition at line 135 of file qkbdum_qws.cpp.

136 {
137  delete d;
138 }
QWSUmKeyboardHandlerPrivate * d
Definition: qkbdum_qws.h:67

Properties

◆ d

QWSUmKeyboardHandlerPrivate* QWSUmKeyboardHandler::d
private

Definition at line 67 of file qkbdum_qws.h.

Referenced by QWSUmKeyboardHandler(), and ~QWSUmKeyboardHandler().


The documentation for this class was generated from the following files: