kremotecontrol
#include <remotecontrolmanagerinterface.h>

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
-
parent the parent object
Definition at line 24 of file remotecontrolmanagerinterface.cpp.
|
virtual |
Destructs a RemoteControl object.
Definition at line 29 of file remotecontrolmanagerinterface.cpp.
Member Function Documentation
|
pure virtual |
Get the manager connection state.
Implemented in LircRemoteControlManager.
|
pure virtual |
Instantiates a new RemoteControlInterface object from this backend given its remote.
- Parameters
-
name the 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.
|
signal |
This signal is emitted when a new remote control is available.
- Parameters
-
name the name of the RemoteControl
|
signal |
This signal is emitted when a remote control is not available anymore.
- Parameters
-
name the name of the RemoteControl
|
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.
|
signal |
This signal is emitted when the system's connection state changes.
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.