kdelirc
KLircClient Class Reference
#include <klircclient.h>

Detailed Description
Definition at line 29 of file klircclient.h.
Signals | |
| void | remotesRead () |
| void | commandReceived (const QString &remote, const QString &button, int repeatCounter) |
| void | connectionClosed () |
Public Member Functions | |
| bool | isConnected () const |
| bool | haveFullList () const |
| const QStringList | remotes () const |
| const QStringList | buttons (const QString &theRemote) const |
| bool | connectToLirc () |
| KLircClient (QWidget *parent=0) | |
| ~KLircClient () | |
Constructor & Destructor Documentation
| KLircClient::KLircClient | ( | QWidget * | parent = 0 |
) |
Definition at line 44 of file klircclient.cpp.
| KLircClient::~KLircClient | ( | ) |
Definition at line 75 of file klircclient.cpp.
Member Function Documentation
| void KLircClient::remotesRead | ( | ) | [signal] |
Emitted when the list of controls / buttons was completely read.
| void KLircClient::commandReceived | ( | const QString & | remote, | |
| const QString & | button, | |||
| int | repeatCounter | |||
| ) | [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.
| void KLircClient::connectionClosed | ( | ) | [signal] |
Emitted when the Lirc connection is closed.
| bool KLircClient::isConnected | ( | ) | const |
Query status of connection.
- Returns:
- true if connected to lircd.
Definition at line 204 of file klircclient.cpp.
| bool KLircClient::haveFullList | ( | ) | const |
Query status of remote list.
Make sure this is true before calling remotes()/buttons(...).
- Returns:
- true if up to date.
Definition at line 210 of file klircclient.cpp.
| const QStringList KLircClient::remotes | ( | ) | const |
| const QStringList KLircClient::buttons | ( | const QString & | theRemote | ) | const |
Retrieve list of buttons of a praticular remote control.
- Returns:
- said list.
Definition at line 97 of file klircclient.cpp.
| bool KLircClient::connectToLirc | ( | ) |
Connects to lirc.
- Returns:
- true if connection is made.
Definition at line 49 of file klircclient.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference