• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libsolidcontrol

bluetoothinputdevice.h

Go to the documentation of this file.
00001 /*  This file is part of the KDE project
00002     Copyright (C) 2007 Will Stephenson <wstephenson@kde.org>
00003     Copyright (C) 2007 Daniel Gollub <dgollub@suse.de>
00004 
00005 
00006     This library is free software; you can redistribute it and/or
00007     modify it under the terms of the GNU Library General Public
00008     License version 2 as published by the Free Software Foundation.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 
00020 */
00021 
00022 #ifndef SOLID_IFACES_BLUETOOTHINPUTDEVICE
00023 #define SOLID_IFACES_BLUETOOTHINPUTDEVICE
00024 
00025 #include <QtCore/QObject>
00026 #include "../solid_control_export.h"
00027 
00028 namespace Solid
00029 {
00030 namespace Control
00031 {
00032 namespace Ifaces
00033 {
00037 class SOLIDCONTROLIFACES_EXPORT BluetoothInputDevice : public QObject
00038 {
00039     Q_OBJECT
00040 public:
00046     BluetoothInputDevice(QObject * parent = 0);
00047 
00051     virtual ~BluetoothInputDevice();
00052 
00058     virtual QString ubi() const = 0;
00059 
00065     virtual bool isConnected() const = 0;
00066 
00072     virtual QString address() const = 0;
00073 
00079     virtual QString name() const = 0;
00080 
00086     virtual QString productID() const = 0;
00087 
00093     virtual QString vendorID() const = 0;
00094 
00095 public Q_SLOTS:
00099     virtual void slotConnect() = 0;
00100 
00104     virtual void slotDisconnect() = 0;
00105 
00106 Q_SIGNALS:
00112     virtual void connected() = 0;
00113 
00119     virtual void disconnected() = 0;
00120 };
00121 
00122 } // Ifaces
00123 
00124 } // Control
00125 
00126 } // Solid
00127 
00128 Q_DECLARE_INTERFACE(Solid::Control::Ifaces::BluetoothInputDevice, "org.kde.Solid.Control.Ifaces.BluetoothInputDevice/0.1")
00129 
00130 #endif

libsolidcontrol

Skip menu "libsolidcontrol"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal