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

libsolidcontrol

Solid::Control::BluetoothManager

Solid::Control::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::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

BluetoothInterfaceList bluetoothInterfaces () const
QString defaultInterface () const
BluetoothInterface findBluetoothInterface (const QString &ubi) const
QString findInterface (const QString &name) const

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 60 of file bluetoothmanager.h.


Member Function Documentation

Solid::Control::BluetoothInterfaceList Solid::Control::BluetoothManager::bluetoothInterfaces (  )  const

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

Definition at line 128 of file bluetoothmanager.cpp.

QString Solid::Control::BluetoothManager::defaultInterface (  )  const

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

Returns:
the UBI of the default bluetooth interface

Definition at line 144 of file bluetoothmanager.cpp.

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

This signal is emitted when the default bluetooth interface changed.

Parameters:
ubi the bluetooth interface identifier

Solid::Control::BluetoothInterface Solid::Control::BluetoothManager::findBluetoothInterface ( const QString &  ubi  )  const

Find a new BluetoothInterface object given its UBI.

Parameters:
ubi the identifier of the bluetooth interface to find
Returns:
a valid BlueoothInterface object if there's a device having the given UBI, an invalid one otherwise

Definition at line 149 of file bluetoothmanager.cpp.

QString Solid::Control::BluetoothManager::findInterface ( const QString &  name  )  const

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

Definition at line 164 of file bluetoothmanager.cpp.

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

Find a new BluetoothInputDevice object given its UBI.

Parameters:
ubi the identifier of the bluetooth input device to find
Returns:
a valid BlueoothInputDevice object if there's a device having the given UBI, an invalid one otherwise Retrieves the list of Universal Bluetooth Identifiers (UBIs) of bluetooth input devices which are configured in the system. Configured means also not connected devices.

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:
the 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::BluetoothManager::interfaceRemoved ( const QString &  ubi  )  [signal]

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

Parameters:
ubi the bluetooth interface identifier


The documentation for this class was generated from the following files:
  • bluetoothmanager.h
  • 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