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

libsolidcontrol

Solid::Control::Ifaces::BluetoothManager

Solid::Control::Ifaces::BluetoothManager Class Reference

This class specifies the interface a backend will have to implement in order to be used in the system. More...

#include <bluetoothmanager.h>

Inheritance diagram for Solid::Control::Ifaces::BluetoothManager:

Inheritance graph
[legend]

List of all members.


Signals

void defaultInterfaceChanged (const QString &ubi)
void interfaceAdded (const QString &ubi)
void interfaceRemoved (const QString &ubi)

Public Member Functions

virtual QStringList bluetoothInterfaces () const =0
 BluetoothManager (QObject *parent=0)
virtual QObject * createInterface (const QString &ubi)=0
virtual QString defaultInterface () const =0
virtual QString findInterface (const QString &name) const =0
virtual void removeInterface (const QString &ubi)=0
virtual ~BluetoothManager ()

Detailed Description

This class specifies the interface a backend will have to implement in order to be used in the system.

A bluetooth manager allow to query the underlying platform to discover the available bluetooth interfaces.

Definition at line 44 of file ifaces/bluetoothmanager.h.


Constructor & Destructor Documentation

Solid::Control::Ifaces::BluetoothManager::BluetoothManager ( QObject *  parent = 0  ) 

Constructs a BluetoothManager.

Parameters:
parent the parent object

Definition at line 25 of file ifaces/bluetoothmanager.cpp.

Solid::Control::Ifaces::BluetoothManager::~BluetoothManager (  )  [virtual]

Destructs a BluetoothManager object.

Definition at line 28 of file ifaces/bluetoothmanager.cpp.


Member Function Documentation

virtual QStringList Solid::Control::Ifaces::BluetoothManager::bluetoothInterfaces (  )  const [pure virtual]

Retrieves the list of all the bluetooth interfaces Universal Bluetooth Identifiers (UBIs) in the system.

Returns:
the list of bluetooth interfaces available in this system

Implemented in FakeBluetoothManager.

virtual QObject* Solid::Control::Ifaces::BluetoothManager::createInterface ( const QString &  ubi  )  [pure virtual]

Instantiates a new BluetoothInterface object from this backend given its UBI.

Parameters:
ubi the identifier of the bluetooth interface instantiated
Returns:
a new BluetoothInterface object if there's a device having the given UBI, 0 otherwise

Implemented in FakeBluetoothManager.

virtual QString Solid::Control::Ifaces::BluetoothManager::defaultInterface (  )  const [pure virtual]

Retrieves the default bluetooth interface Universal Bluetooth Identifiers (UBIs) of the system.

Returns:
the UBI of the default bluetooth interface

Implemented in FakeBluetoothManager.

void Solid::Control::Ifaces::BluetoothManager::defaultInterfaceChanged ( const QString &  ubi  )  [signal]

This signal is emitted when the default bluetooth interface changed.

Parameters:
ubi the bluetooth interface identifier

virtual QString Solid::Control::Ifaces::BluetoothManager::findInterface ( const QString &  name  )  const [pure virtual]

Returns the UBI of the Bluetooth Interface given its name (e.g.

'hci0'), if found on the system.

Returns:
the found UBI of the named bluetooth interface

void Solid::Control::Ifaces::BluetoothManager::interfaceAdded ( const QString &  ubi  )  [signal]

Retrieves the list of Universal Bluetooth Identifiers (UBIs) of bluetooth input devices which are configured in the system.

Configured means also not connected devices.

Returns:
the list of bluetooth input devices configured in this system Instantiates a new BluetoothInputDevice object from this backend given its UBI.
Parameters:
ubi the identifier of the bluetooth input device instantiated
Returns:
a new BluetoothInputDevice object if there's a device having the given UBI, 0 otherwise Setup a new bluetooth input device.
Parameters:
ubi the ubi of the bluetooth input device
Returns:
job handling of the operation. Gets an instance of BluetoothSecurity to handle pairing/authorization requests Remove the configuraiton of a bluetooth input device.
Parameters:
ubi the bluetooth input device identifier This signal is emitted when a new bluetooth interface is available.
ubi the bluetooth interface identifier

void Solid::Control::Ifaces::BluetoothManager::interfaceRemoved ( const QString &  ubi  )  [signal]

This signal is emitted when a bluetooth interface is not available anymore.

Parameters:
ubi the bluetooth interface identifier

virtual void Solid::Control::Ifaces::BluetoothManager::removeInterface ( const QString &  ubi  )  [pure virtual]

Removes a BluetoothInterface object from this backend given its UBI.

Parameters:
ubi the identifier of the bluetooth interface instantiated


The documentation for this class was generated from the following files:
  • ifaces/bluetoothmanager.h
  • ifaces/bluetoothmanager.cpp

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