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

libsolidcontrol

Solid::Control::Ifaces::BluetoothRemoteDevice

Solid::Control::Ifaces::BluetoothRemoteDevice Class Reference

#include <bluetoothremotedevice.h>

Inheritance diagram for Solid::Control::Ifaces::BluetoothRemoteDevice:

Inheritance graph
[legend]

List of all members.


Detailed Description

This interface represents a remote bluetooth device which we may be connected to.

Definition at line 40 of file ifaces/bluetoothremotedevice.h.


Public Slots

virtual void cancelBondingProcess ()=0
virtual void clearAlias ()=0
virtual void disconnect ()=0
virtual void removeBonding ()=0
virtual void serviceHandles (const QString &filter) const =0
virtual void serviceRecordAsXml (uint handle) const =0
virtual void setAlias (const QString &alias)=0

Signals

virtual void aliasChanged (const QString &alias)=0
virtual void aliasCleared ()=0
virtual void bondingCreated ()=0
virtual void bondingRemoved ()=0
virtual void classChanged (uint deviceClass)=0
virtual void connected ()=0
virtual void disconnected ()=0
virtual void nameChanged (const QString &name)=0
virtual void nameResolvingFailed ()=0
virtual void requestDisconnection ()=0
virtual void serviceHandlesAvailable (const QString &ubi, const QList< uint > &handles)=0
virtual void serviceRecordXmlAvailable (const QString &ubi, const QString &record)=0

Public Member Functions

virtual QString address () const =0
virtual QString alias () const =0
 BluetoothRemoteDevice (QObject *parent=0)
virtual QString company () const =0
virtual KJob * createBonding ()=0
virtual int encryptionKeySize () const =0
virtual bool hasBonding () const =0
virtual bool isConnected () const =0
virtual QString lastSeen () const =0
virtual QString lastUsed () const =0
virtual QString majorClass () const =0
virtual QString manufacturer () const =0
virtual QString minorClass () const =0
virtual QString name () const =0
virtual int pinCodeLength () const =0
virtual QString revision () const =0
virtual QStringList serviceClasses () const =0
virtual QString ubi () const =0
virtual QString version () const =0
virtual ~BluetoothRemoteDevice ()

Constructor & Destructor Documentation

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

Create a BluetoothRemoteDevice.

Parameters:
parent the parent object

Definition at line 24 of file ifaces/bluetoothremotedevice.cpp.

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

Destructs a BluetoothRemoteDevice object.

Definition at line 27 of file ifaces/bluetoothremotedevice.cpp.


Member Function Documentation

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::address (  )  const [pure virtual]

Retrieves MAC address of the bluetooth remote device.

Returns:
MAC address of remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::alias (  )  const [pure virtual]

Retrieves alias of remote device.

This is a local alias name for the remote device. If this string is empty the frontend should should use name(). This is handy if someone is using several bluetooth remote device with the same name. alias() should be preferred used by the frontend. Example: "Company mobile"

local alias of remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::aliasChanged ( const QString &  alias  )  [pure virtual, signal]

Alias has been changed of remote device.

alias the alias of the remote device

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::aliasCleared (  )  [pure virtual, signal]

Alias got cleared of remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::bondingCreated (  )  [pure virtual, signal]

Bonding with remote device has been created.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::bondingRemoved (  )  [pure virtual, signal]

Bonding has been removed of remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::cancelBondingProcess (  )  [pure virtual, slot]

Cancel bonding process of remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::classChanged ( uint  deviceClass  )  [pure virtual, signal]

Class has been changed of remote device.

deviceClass the device class of the remote device

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::clearAlias (  )  [pure virtual, slot]

Clear alias for remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::company (  )  const [pure virtual]

Retrieves the manufacturer of the bluetooth chip of the remote device.

Returns:
company string of the bluetooth chip.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::connected (  )  [pure virtual, signal]

Remote device has been connected.

Implemented in FakeBluetoothRemoteDevice.

virtual KJob* Solid::Control::Ifaces::BluetoothRemoteDevice::createBonding (  )  [pure virtual]

Create bonding ("pairing") with remote device.

Returns:
the job handling of the operation.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::disconnect (  )  [pure virtual, slot]

Disconnect remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::disconnected (  )  [pure virtual, signal]

Remote device has been disconnected.

Implemented in FakeBluetoothRemoteDevice.

virtual int Solid::Control::Ifaces::BluetoothRemoteDevice::encryptionKeySize (  )  const [pure virtual]

Retrieves currently used encryption key size of remote device.

Returns:
encryption key size.

Implemented in FakeBluetoothRemoteDevice.

virtual bool Solid::Control::Ifaces::BluetoothRemoteDevice::hasBonding (  )  const [pure virtual]

Retrieves true if remote device has bonding.

Returns:
true if remote device has bonding.

Implemented in FakeBluetoothRemoteDevice.

virtual bool Solid::Control::Ifaces::BluetoothRemoteDevice::isConnected (  )  const [pure virtual]

Retrieves true if remote device is connected.

Returns:
true if remote bluetooth device is connected otherwise false.

Implemented in FakeBluetoothRemoteDevice.

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::lastSeen (  )  const [pure virtual]

Retrieves the date and time when the remote device has been seen.

Example: "2007-03-20 22:14:00 GMT"

Returns:
date and time when the remote device has been seen.

Implemented in FakeBluetoothRemoteDevice.

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::lastUsed (  )  const [pure virtual]

Retrieves the date and time when the remote device has been used.

Example: "2007-03-20 22:14:00 GMT"

Returns:
date and time when the remote device has been used.

Implemented in FakeBluetoothRemoteDevice.

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::majorClass (  )  const [pure virtual]

Retrieves the major class of the remote device.

Example: "computer"

Returns:
major class of remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::manufacturer (  )  const [pure virtual]

Retrieves company name based on the device address.

Returns:
manufacturer string of bluetooth chip.

Implemented in FakeBluetoothRemoteDevice.

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::minorClass (  )  const [pure virtual]

Retrieves the minor class of the remote device.

Exampe: "laptop"

Returns:
minor class of the remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::name (  )  const [pure virtual]

Retrieves the real name of the remote device.

See also alias(). Example: "Daniel's mobile"

Returns:
name of remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::nameChanged ( const QString &  name  )  [pure virtual, signal]

Name has beend changed of remote device.

name the name of the remote device

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::nameResolvingFailed (  )  [pure virtual, signal]

Resolving of remote device name failed.

Implemented in FakeBluetoothRemoteDevice.

virtual int Solid::Control::Ifaces::BluetoothRemoteDevice::pinCodeLength (  )  const [pure virtual]

Retrieves PIN code length that was used in the pairing process of remote device.

Returns:
PIN code length of pairing.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::removeBonding (  )  [pure virtual, slot]

Remove bonding bonding of remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::requestDisconnection (  )  [pure virtual, signal]

Disconnection has been requested for remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::revision (  )  const [pure virtual]

Retrieves the revision of the bluetooth chip of the remote device.

Returns:
revision of bluetooth chip.

Implemented in FakeBluetoothRemoteDevice.

virtual QStringList Solid::Control::Ifaces::BluetoothRemoteDevice::serviceClasses (  )  const [pure virtual]

Retrieves a list of service classes of the remote device.

Example: ["networking", "object transfer"]

Returns:
list of service classes of the remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::serviceHandles ( const QString &  filter  )  const [pure virtual, slot]

Obtains a list of unique identifiers to each service provided by this remote device.

As this is a slow operation, this method only queues the message in the dbus and returns the list of handles using the serviceHandlesAvailable signal

NOTE: Most local adapters won't support more than one search at a time, so serialize your requests

Parameters:
filter A filter to apply to the search (look at http://wiki.bluez.org/wiki/HOWTO/DiscoveringServices#Searchpatterns)

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::serviceHandlesAvailable ( const QString &  ubi,
const QList< uint > &  handles 
) [pure virtual, signal]

Search for service handles is done.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::serviceRecordAsXml ( uint  handle  )  const [pure virtual, slot]

Requests the service record associated with the given handle.

As this is a slow operation, this method only queues the message in the dbus and returns the XML record using the serviceRecordXmlAvailable signal.

NOTE: Most local adapters won't support more than one search at a time, so serialize your requests

Parameters:
handle The handle that uniquely identifies the service record requested.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::serviceRecordXmlAvailable ( const QString &  ubi,
const QString &  record 
) [pure virtual, signal]

A new service record is available.

Implemented in FakeBluetoothRemoteDevice.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::setAlias ( const QString &  alias  )  [pure virtual, slot]

Set alias for remote device.

Parameters:
alias new alias name

Implemented in FakeBluetoothRemoteDevice.

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::ubi (  )  const [pure virtual]

Retrieves the Universal Bluetooth Identifier (UBI) of the remote device.

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

Returns:
the Universal Bluetooth Identifier of the current remote device.

Implemented in FakeBluetoothRemoteDevice.

virtual QString Solid::Control::Ifaces::BluetoothRemoteDevice::version (  )  const [pure virtual]

Retrieves the bluetooth version of the remote device.

LMP version (+ EDR support)

Returns:
version of bluetooth chip.

Implemented in FakeBluetoothRemoteDevice.


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