QimsysKeyManager Class Reference

This class manages key input. More...

Inheritance diagram for QimsysKeyManager:

Inheritance graph

List of all members.

Public Slots

void process (QString text, int keycode, int modifiers, bool isPress, bool autoRepeat)
 This method makes key event happen.
bool keyPress (const QString &text, int keycode, int modifiers, bool autoRepeat)
bool keyRelease (const QString &text, int keycode, int modifiers, bool autoRepeat)
bool isAccepted () const
void accept ()

Signals

void keyPressed (const QString &text, int keycode, int modifiers, bool autoRepeat)
void keyReleased (const QString &text, int keycode, int modifiers, bool autoRepeat)

Public Member Functions

 QimsysKeyManager (QObject *parent=0, Type type=Client)
 Constructor.
 ~QimsysKeyManager ()
 Destructor.
virtual bool init ()
 Initialize object.

Protected Member Functions

QimsysAbstractIpcObjectserver () const
 returns server instance.

Properties

bool accepted


Detailed Description

This class manages key input.

Application must have a subclass for server to handle key input.

Platform backends use this client to process key input.


Member Function Documentation

bool QimsysKeyManager::init (  )  [virtual]

Initialize object.

Make sure to call init() for every instance.

Reimplemented from QimsysAbstractIpcObject.

void QimsysKeyManager::process ( QString  text,
int  keycode,
int  modifiers,
bool  isPress,
bool  autoRepeat 
) [slot]

This method makes key event happen.

Use this method to make key event happen for testing purpose.

QimsysAbstractIpcObject * QimsysKeyManager::server (  )  const [protected, virtual]


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

Generated on Mon Nov 1 17:12:07 2010 for qimsys by  doxygen 1.5.6