kremotecontrol
remotecontrolmanager.cpp
Go to the documentation of this file.
73 connect(backend, SIGNAL(remoteControlAdded(QString)), this, SLOT(_k_remoteControlAdded(QString)));
74 connect(backend, SIGNAL(remoteControlRemoved(QString)), this, SLOT(_k_remoteControlRemoved(QString)));
126 Iface::RemoteControlManager *backendManager = qobject_cast<Iface::RemoteControlManager*>(sender());
186 RemoteControl::RemoteControl(const QString &name): QObject(), d_ptr(new RemoteControlPrivate(this))
void setBackendObject(Iface::RemoteControl *object)
Definition: remotecontrol.cpp:63
RemoteControlManagerPrivate()
Definition: remotecontrolmanager.cpp:47
RemoteControl * findRemoteControl(const QString &name)
Definition: remotecontrolmanager.cpp:181
void remoteControlRemoved(const QString &name)
This signal is emitted when a remote control is not available anymore.
virtual bool connected() const =0
Get the manager connection state.
Iface::RemoteControl * backendObject() const
Definition: remotecontrol.cpp:74
Definition: remotecontrolinterface.h:30
Definition: remotecontrol.h:35
virtual QStringList remoteNames() const =0
Retrieves the list of all the remotes installed in the system.
KREMOTECONTROL_EXPORT Notifier * notifier()
Definition: remotecontrolmanager.cpp:37
RemoteControlList allRemotes()
Definition: remotecontrolmanager.cpp:167
static QList< RemoteControl * > allRemotes()
Get all RemoteControl's available in the system.
Definition: remotecontrolmanager.cpp:197
void remoteControlAdded(const QString &name)
This signal is emitted when a new remote control is available.
This class specifies the interface a backend will have to implement in order to be used in the system...
Definition: remotecontrolmanagerinterface.h:39
void statusChanged(bool connected)
This signal is emitted when the remote control subsystem becomes available.
virtual Iface::RemoteControl * createRemoteControl(const QString &name)=0
Instantiates a new RemoteControlInterface object from this backend given its remote.
KREMOTECONTROL_EXPORT bool connected()
Get the manager connection state.
Definition: remotecontrolmanager.cpp:32
Definition: remotecontrol_p.h:31
~RemoteControlManagerPrivate()
Definition: remotecontrolmanager.cpp:52
virtual QString name() const =0
RemoteControl(const QString &name)
Definition: remotecontrolmanager.cpp:186
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
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.