sAlarm 0.5
Signals | Public Member Functions | Protected Member Functions
KeyCatcher Class Reference

This object provides basic key filter. More...

#include <keycatcher.h>

List of all members.

Signals

void keyPressed (int key)
 Is emmited when some key is pressed.

Public Member Functions

 KeyCatcher (QObject *parent=0)
 Constructor.

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event)
 The Event filter.

Detailed Description

This object provides basic key filter.

It is used for catching Enter and Return key in the scheduler.


Constructor & Destructor Documentation

KeyCatcher::KeyCatcher ( QObject *  parent = 0) [explicit]

Constructor.

Parameters:
parentpointer to parent object

Member Function Documentation

bool KeyCatcher::eventFilter ( QObject *  object,
QEvent *  event 
) [protected]

The Event filter.

Parameters:
objectpointer to object
event
void KeyCatcher::keyPressed ( int  key) [signal]

Is emmited when some key is pressed.

Parameters:
keyis the integer value of pressed key

The documentation for this class was generated from the following files:
 All Classes Functions Enumerations