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

libsolidcontrol

Solid::Control::BluetoothInputDevice

Solid::Control::BluetoothInputDevice Class Reference

#include <bluetoothinputdevice.h>

Inheritance diagram for Solid::Control::BluetoothInputDevice:

Inheritance graph
[legend]

List of all members.


Detailed Description

Represents a bluetooth remote device as seen by the bluetoothing subsystem.

Definition at line 38 of file bluetoothinputdevice.h.


Public Slots

void slotConnect ()
void slotDisconnect ()

Signals

void connected ()
void disconnected ()

Public Member Functions

QString address () const
 BluetoothInputDevice (const BluetoothInputDevice &device)
 BluetoothInputDevice (QObject *backendObject=0)
bool isConnected () const
QString name () const
BluetoothInputDevice & operator= (const BluetoothInputDevice &device)
QString productID () const
QString ubi () const
QString vendorID () const
 ~BluetoothInputDevice ()

Constructor & Destructor Documentation

Solid::Control::BluetoothInputDevice::BluetoothInputDevice ( QObject *  backendObject = 0  ) 

Creates a new BluetoothInputDevice object.

Parameters:
backendObject the bluetooth remote device object provided by the backend

Definition at line 48 of file bluetoothinputdevice.cpp.

Solid::Control::BluetoothInputDevice::BluetoothInputDevice ( const BluetoothInputDevice &  device  ) 

Constructs a copy of a bluetooth remote device.

Parameters:
device the bluetooth remote device to copy

Definition at line 54 of file bluetoothinputdevice.cpp.

Solid::Control::BluetoothInputDevice::~BluetoothInputDevice (  ) 

Destroys the device.

Definition at line 60 of file bluetoothinputdevice.cpp.


Member Function Documentation

QString Solid::Control::BluetoothInputDevice::address (  )  const

Retrieves MAC address of bluetooth input device.

Returns:
MAC address of bluetooth input device

Definition at line 85 of file bluetoothinputdevice.cpp.

void Solid::Control::BluetoothInputDevice::connected (  )  [signal]

This signal is emitted when the bluetooth input device is connected.

void Solid::Control::BluetoothInputDevice::disconnected (  )  [signal]

This signal is emitted when the bluetooth input device is not available anymore.

bool Solid::Control::BluetoothInputDevice::isConnected (  )  const

Retrieves connection status of bluetooth input device.

Returns:
true if bluetooth input device is connected

Definition at line 75 of file bluetoothinputdevice.cpp.

QString Solid::Control::BluetoothInputDevice::name (  )  const

Retrievies Name of bluetooth input device.

Returns:
Name of bluetooth input device

Definition at line 80 of file bluetoothinputdevice.cpp.

Solid::Control::BluetoothInputDevice & Solid::Control::BluetoothInputDevice::operator= ( const BluetoothInputDevice &  device  ) 

Assigns a bluetooth remote device to this bluetooth remote device and returns a reference to it.

Parameters:
device the bluetooth remote device to assign
Returns:
a reference to the bluetooth remote device

Definition at line 63 of file bluetoothinputdevice.cpp.

QString Solid::Control::BluetoothInputDevice::productID (  )  const

Retrieves Product ID of bluetooth input device.

Returns:
Product ID of bluetooth input device

Definition at line 90 of file bluetoothinputdevice.cpp.

void Solid::Control::BluetoothInputDevice::slotConnect (  )  [slot]

Connect bluetooth input device.

Definition at line 100 of file bluetoothinputdevice.cpp.

void Solid::Control::BluetoothInputDevice::slotDisconnect (  )  [slot]

Disconnect bluetooth input device.

Definition at line 105 of file bluetoothinputdevice.cpp.

QString Solid::Control::BluetoothInputDevice::ubi (  )  const

Retrieves the Universal Network Identifier (UBI) of the BluetoothInputDevice.

This identifier is ubique for each bluetooth and bluetooth remote device in the system.

Returns:
the Universal Network Identifier of the current bluetooth remote device

Definition at line 70 of file bluetoothinputdevice.cpp.

QString Solid::Control::BluetoothInputDevice::vendorID (  )  const

Retrieves Vendor ID of bluetooth input device.

Returns:
Vendor ID of bluetooth input device

Definition at line 95 of file bluetoothinputdevice.cpp.


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