kremotecontrol
#include <lircclient.h>

Signals | |
void | commandReceived (const QString &remote, const QString &button, int repeatCounter) |
void | connectionClosed () |
void | newRemoteList (const QStringList &remoteList) |
Public Member Functions | |
LircClient () | |
~LircClient () | |
const QStringList | buttons (const QString &theRemote) const |
bool | connectToLirc () |
bool | isConnected () const |
const QStringList | remotes () const |
Static Public Member Functions | |
static LircClient * | self () |
Detailed Description
Definition at line 37 of file lircclient.h.
Constructor & Destructor Documentation
LircClient::LircClient | ( | ) |
Definition at line 53 of file lircclient.cpp.
LircClient::~LircClient | ( | ) |
Definition at line 101 of file lircclient.cpp.
Member Function Documentation
const QStringList LircClient::buttons | ( | const QString & | theRemote | ) | const |
Retrieve list of buttons of a praticular remote control.
- Returns
- said list.
Definition at line 119 of file lircclient.cpp.
|
signal |
Emitted when a IR command was received.
The arguments are the name of the remote control used, the name of the button pressed and the repeat counter.
The signal is emitted repeatedly as long as the button on the remote control remains pressed. The repeat counter starts with 0 and increases every time this signal is emitted.
|
signal |
Emitted when the Lirc connection is closed.
bool LircClient::connectToLirc | ( | ) |
bool LircClient::isConnected | ( | ) | const |
Query status of connection.
- Returns
- true if connected to lircd.
Definition at line 220 of file lircclient.cpp.
|
signal |
Emitted when the list of controls / buttons was changed by lircd (SIGHUP)
const QStringList LircClient::remotes | ( | ) | const |
|
static |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.