• 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
  • ifaces
remotecontrolinterface.h
Go to the documentation of this file.
1 /*
2  Copyright (C) <2011> Michael Zanetti <mzanetti@kde.org>
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 #ifndef REMOTECONTROLIFACE_H
21 #define REMOTECONTROLIFACE_H
22 
23 #include <QObject>
24 
25 #include "../remotecontrol.h"
26 
27 namespace Iface
28 {
29 
30 class KREMOTECONTROL_EXPORT RemoteControl
31 {
32 public:
33  virtual ~RemoteControl() {}
34 
35  virtual QString name() const = 0;
36 
37  virtual QList<RemoteControlButton> buttons() const = 0;
38 
39 
40 protected:
41 Q_SIGNALS:
42  void buttonPressed(const RemoteControlButton &button);
43 };
44 }
45 
46 Q_DECLARE_INTERFACE(Iface::RemoteControl, "org.kde.KRemoteControl.Ifaces.RemoteControl/0.1")
47 
48 #endif // REMOTECONTROLIFACE_H
KREMOTECONTROL_EXPORT
#define KREMOTECONTROL_EXPORT
Definition: kremotecontrol_export.h:37
Iface::RemoteControl::~RemoteControl
virtual ~RemoteControl()
Definition: remotecontrolinterface.h:33
Iface::RemoteControl
Definition: remotecontrolinterface.h:30
RemoteControlButton
Definition: remotecontrolbutton.h:30
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