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

kremotecontrol

  • sources
  • kde-4.12
  • kdeutils
  • kremotecontrol
  • libkremotecontrol
  • backends
  • lirc
lircremotecontrolmanager.h
Go to the documentation of this file.
1 /*
2  Copyright (C) <2009> Michael Zanetti <michael_zanetti@gmx.net>
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License along
15  with this program; if not, write to the Free Software Foundation, Inc.,
16  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 
18 */
19 
20 
21 #ifndef LIRC_REMOTECONTROLMANAGER
22 #define LIRC_REMOTECONTROLMANAGER
23 
24 #include <QObject>
25 #include "ifaces/remotecontrolmanagerinterface.h"
26 
27 #include <kdemacros.h>
28 
29 #include <QVariantList>
30 #include <QTimer>
31 #include <KDirWatch>
32 
33 class LircRemoteControlManagerPrivate;
34 class KDE_EXPORT LircRemoteControlManager : public Iface::RemoteControlManager
35 {
36  Q_INTERFACES(Iface::RemoteControlManager)
37  Q_OBJECT
38 
39 public:
40  LircRemoteControlManager(QObject * parent, const QVariantList & args);
41  virtual ~LircRemoteControlManager();
42  bool connected() const;
43  Iface::RemoteControl * createRemoteControl(const QString &);
44  QStringList remoteNames() const;
45 
46 private Q_SLOTS:
47  void reconnect();
48  void connectionClosed();
49  void newRemoteList(const QStringList &remoteList);
50 
51 private:
52  LircRemoteControlManagerPrivate * d;
53  QStringList m_remotes;
54  KDirWatch m_dirWatch;
55 
56  void readRemotes();
57 };
58 
59 #endif
Iface::RemoteControlManager::connected
virtual bool connected() const =0
Get the manager connection state.
QObject
remotecontrolmanagerinterface.h
Iface::RemoteControl
Definition: remotecontrolinterface.h:30
Iface::RemoteControlManager::remoteNames
virtual QStringList remoteNames() const =0
Retrieves the list of all the remotes installed in the system.
Iface::RemoteControlManager
This class specifies the interface a backend will have to implement in order to be used in the system...
Definition: remotecontrolmanagerinterface.h:39
LircRemoteControlManager
Definition: lircremotecontrolmanager.h:34
Iface::RemoteControlManager::createRemoteControl
virtual Iface::RemoteControl * createRemoteControl(const QString &name)=0
Instantiates a new RemoteControlInterface object from this backend given its remote.
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