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

kremotecontrol

Signals | Public Member Functions | Static Public Member Functions | List of all members
LircClient Class Reference

#include <lircclient.h>

Inheritance diagram for LircClient:
Inheritance graph
[legend]

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

Author
Malte Starostik
Gav Wood
Michael Zanetti

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.

void LircClient::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 LircClient::connectionClosed ( )
signal

Emitted when the Lirc connection is closed.

bool LircClient::connectToLirc ( )

Connects to lirc.

Returns
true if connection is made.

Definition at line 61 of file lircclient.cpp.

bool LircClient::isConnected ( ) const

Query status of connection.

Returns
true if connected to lircd.

Definition at line 220 of file lircclient.cpp.

void LircClient::newRemoteList ( const QStringList &  remoteList)
signal

Emitted when the list of controls / buttons was changed by lircd (SIGHUP)

const QStringList LircClient::remotes ( ) const

Retrieve list of remote controls.

Returns
said list.

Definition at line 114 of file lircclient.cpp.

LircClient * LircClient::self ( )
static

Get the instance,.

Returns
Instance to the LircClient

Definition at line 57 of file lircclient.cpp.


The documentation for this class was generated from the following files:
  • lircclient.h
  • lircclient.cpp
This file is part of the KDE documentation.
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.

kremotecontrol

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal