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

#include <qkbdtty_qws.h>

Inheritance diagram for QWSTtyKeyboardHandler:
QWSKeyboardHandler

Public Functions

virtual bool filterKeycode (char &code)
 
 QWSTtyKeyboardHandler (const QString &)
 
virtual ~QWSTtyKeyboardHandler ()
 
- 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

QWSTtyKbPrivated
 

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 qkbdtty_qws.h.

Constructors and Destructors

◆ QWSTtyKeyboardHandler()

QWSTtyKeyboardHandler::QWSTtyKeyboardHandler ( const QString device)
explicit

Definition at line 97 of file qkbdtty_qws.cpp.

98  : QWSKeyboardHandler(device)
99 {
100  d = new QWSTtyKbPrivate(this, device);
101 }
QWSKeyboardHandler()
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: qkbd_qws.cpp:323
QWSTtyKbPrivate * d
Definition: qkbdtty_qws.h:68

◆ ~QWSTtyKeyboardHandler()

QWSTtyKeyboardHandler::~QWSTtyKeyboardHandler ( )
virtual

Definition at line 103 of file qkbdtty_qws.cpp.

104 {
105  delete d;
106 }
QWSTtyKbPrivate * d
Definition: qkbdtty_qws.h:68

Functions

◆ filterKeycode()

bool QWSTtyKeyboardHandler::filterKeycode ( char &  code)
virtual

Definition at line 108 of file qkbdtty_qws.cpp.

Referenced by QWSTtyKbPrivate::readKeycode().

109 {
110  return false;
111 }

Properties

◆ d

QWSTtyKbPrivate* QWSTtyKeyboardHandler::d
private

Definition at line 68 of file qkbdtty_qws.h.

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


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