kremotecontrol
#include <remotecontrol.h>

Signals | |
void | buttonPressed (const RemoteControlButton &button) |
Public Member Functions | |
RemoteControl (const QString &name) | |
RemoteControl (Iface::RemoteControl *backendObject) | |
RemoteControl (const RemoteControl &remoteControl) | |
virtual | ~RemoteControl () |
QList< RemoteControlButton > | buttons () const |
QString | name () const |
Static Public Member Functions | |
static QStringList | allRemoteNames () |
static QList< RemoteControl * > | allRemotes () |
Protected Member Functions | |
RemoteControl (RemoteControlPrivate &dd, QObject *backendObject) | |
RemoteControl (RemoteControlPrivate &dd, const RemoteControl &name) | |
Protected Attributes | |
RemoteControlPrivate * | d_ptr |
Detailed Description
Definition at line 35 of file remotecontrol.h.
Constructor & Destructor Documentation
RemoteControl::RemoteControl | ( | const QString & | name | ) |
Definition at line 186 of file remotecontrolmanager.cpp.
|
explicit |
Creates a new RemoteControl object.
- Parameters
-
backendObject the RemoteControl object provided by the backend
Definition at line 25 of file remotecontrol.cpp.
RemoteControl::RemoteControl | ( | const RemoteControl & | remoteControl | ) |
Constructs a copy of a remote control.
- Parameters
-
remoteControl the remote control to copy
|
virtual |
Destroys a RemoteControl object.
Definition at line 32 of file remotecontrol.cpp.
|
protected |
|
protected |
Member Function Documentation
|
static |
Get the Names of the available remotes in the system.
Definition at line 37 of file remotecontrol.cpp.
|
static |
Get all RemoteControl's available in the system.
Definition at line 197 of file remotecontrolmanager.cpp.
|
signal |
This signal is emitted when button on the remote is pressed.
- Parameters
-
button The RemoteControlButton pressed
QList< RemoteControlButton > RemoteControl::buttons | ( | ) | const |
Retrieves the buttons of the remote.
- Returns
- Returns the buttons of the remote control
Definition at line 51 of file remotecontrol.cpp.
QString RemoteControl::name | ( | ) | const |
Retrieves the name of the remote.
- Returns
- Returns the name of the remote control
Definition at line 46 of file remotecontrol.cpp.
Member Data Documentation
|
protected |
Definition at line 106 of file remotecontrol.h.
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.