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

libsolidcontrol

bluetoothmanager.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_BLUETOOTHMANAGER
00023 #define SOLID_IFACES_BLUETOOTHMANAGER
00024 
00025 #include <QtCore/QObject>
00026 #include "../solid_control_export.h"
00027 
00028 class KJob;
00029 
00030 namespace Solid
00031 {
00032 namespace Control
00033 {
00034 namespace Ifaces
00035 {
00036 class BluetoothSecurity;
00044 class SOLIDCONTROLIFACES_EXPORT BluetoothManager : public QObject
00045 {
00046     Q_OBJECT
00047 public:
00053     BluetoothManager(QObject * parent = 0);
00057     virtual ~BluetoothManager();
00058 
00065     virtual QStringList bluetoothInterfaces() const = 0;
00066 
00073     virtual QString defaultInterface() const = 0;
00074 
00081     virtual QString findInterface(const QString &name) const = 0;
00082 
00089      virtual QObject *createInterface(const QString &ubi) = 0;
00090 
00096      virtual void removeInterface(const QString &ubi) = 0;
00097 
00104 //  virtual QStringList bluetoothInputDevices() const = 0;
00105 
00112 //  virtual QObject *createBluetoothInputDevice(const QString &ubi) = 0;
00113 
00120 //  virtual KJob *setupInputDevice(const QString &ubi) = 0;
00121     
00125 //  virtual Solid::Control::Ifaces::BluetoothSecurity* security(const QString &interface) = 0;
00126 
00127 public Q_SLOTS:
00133 //  virtual void removeInputDevice(const QString  & ubi) = 0;
00134 
00135 Q_SIGNALS:
00141     void interfaceAdded(const QString  & ubi);
00142 
00148     void interfaceRemoved(const QString  & ubi);
00149 
00155     void defaultInterfaceChanged(const QString  & ubi);
00156 
00162 //   void inputDeviceCreated(const QString  & ubi);
00163 
00169 //    void inputDeviceRemoved(const QString  & ubi);
00170 
00171 };
00172 
00173 } // Ifaces
00174 
00175 } // Control
00176 
00177 } // Solid
00178 
00179 #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
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
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