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

kremotecontrol

  • Iface
  • RemoteControlManager
Signals | Public Member Functions | List of all members
Iface::RemoteControlManager Class Referenceabstract

#include <remotecontrolmanagerinterface.h>

Inheritance diagram for Iface::RemoteControlManager:
Inheritance graph
[legend]

Signals

void remoteControlAdded (const QString &name)
 
void remoteControlRemoved (const QString &name)
 
void statusChanged (bool connected)
 

Public Member Functions

 RemoteControlManager (QObject *parent=0)
 
virtual ~RemoteControlManager ()
 
virtual bool connected () const =0
 
virtual Iface::RemoteControl * createRemoteControl (const QString &name)=0
 
virtual QStringList remoteNames () const =0
 

Detailed Description

This class specifies the interface a backend will have to implement in order to be used in the system.

A remote control manager allows to query the underlying platform to discover the available remote controls and their buttons.

Definition at line 39 of file remotecontrolmanagerinterface.h.

Constructor & Destructor Documentation

Iface::RemoteControlManager::RemoteControlManager ( QObject *  parent = 0)

Constructs a RemoteControl.

Parameters
parentthe parent object

Definition at line 24 of file remotecontrolmanagerinterface.cpp.

Iface::RemoteControlManager::~RemoteControlManager ( )
virtual

Destructs a RemoteControl object.

Definition at line 29 of file remotecontrolmanagerinterface.cpp.

Member Function Documentation

virtual bool Iface::RemoteControlManager::connected ( ) const
pure virtual

Get the manager connection state.

Implemented in LircRemoteControlManager.

virtual Iface::RemoteControl* Iface::RemoteControlManager::createRemoteControl ( const QString &  name)
pure virtual

Instantiates a new RemoteControlInterface object from this backend given its remote.

Parameters
namethe identifier of the remote control interface instantiated
Returns
a new RemoteControl object if there's a device having the given remote, 0 otherwise

Implemented in LircRemoteControlManager.

void Iface::RemoteControlManager::remoteControlAdded ( const QString &  name)
signal

This signal is emitted when a new remote control is available.

Parameters
namethe name of the RemoteControl
void Iface::RemoteControlManager::remoteControlRemoved ( const QString &  name)
signal

This signal is emitted when a remote control is not available anymore.

Parameters
namethe name of the RemoteControl
virtual QStringList Iface::RemoteControlManager::remoteNames ( ) const
pure virtual

Retrieves the list of all the remotes installed in the system.

Returns
the list of remote controls available in this system

Implemented in LircRemoteControlManager.

void Iface::RemoteControlManager::statusChanged ( bool  connected)
signal

This signal is emitted when the system's connection state changes.


The documentation for this class was generated from the following files:
  • remotecontrolmanagerinterface.h
  • remotecontrolmanagerinterface.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