• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kdelirc

KLircClient Class Reference

#include <klircclient.h>

Inheritance diagram for KLircClient:

Inheritance graph
[legend]

List of all members.


Detailed Description

Author:
Malte Starostik

Author:
Gav Wood

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

Retrieve list of remote controls.

Returns:
said list.

Definition at line 88 of file klircclient.cpp.

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:
  • klircclient.h
  • klircclient.cpp

kdelirc

Skip menu "kdelirc"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal