Main Page   Class Hierarchy   Compound List   File List   Compound Members  

Lirc Class Reference

Object for lirc support. More...

#include <lirc.h>

Inheritance diagram for Lirc::

List of all members.

Signals

void event (const QString &key, unsigned repeat)
void command (const QString &cmd, unsigned repeat)

Public Methods

 Lirc (QObject *parent, const QString &appname)
virtual ~Lirc ()
void setDefaultKeyMap (const QMap< QString, QString > &keymap)

Detailed Description

Object for lirc support.


Constructor & Destructor Documentation

Lirc::Lirc QObject * parent,
const QString & appname
 

Creates a lirc connection, and initializes configuration with appname appname.


Member Function Documentation

void Lirc::setDefaultKeyMap const QMap< QString, QString > & keymap [inline]
 

Sets the default keymap to use if there is no lirc config file, or default is specified as command.

keymap will be deleted in the destructor

void Lirc::event const QString & key,
unsigned repeat
[signal]
 

an event received from lirc you get this signal only if a not recognized key is pressed key the name of the key pressed.

void Lirc::command const QString & cmd,
unsigned repeat
[signal]
 

lirc command received cmd the cmd corresponding to pressed lirc key (as defined in the lirc config file).


The documentation for this class was generated from the following file:
Generated at Thu Jan 30 02:56:03 2003 for QtVision by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001