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

libsolidcontrol

Solid::Control::Ifaces::BluetoothRemoteDevice

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

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

#include <bluetoothremotedevice.h>

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

Inheritance graph
[legend]

List of all members.


Public Slots

virtual void cancelDiscovery ()=0
virtual void disconnect ()=0
virtual void setProperty (const QString &name, const QVariant &value)=0

Signals

virtual void disconnectRequested ()=0
virtual void propertyChanged (const QString &name, const QVariant &value)=0
virtual void serviceDiscoverAvailable (const QString &status, const QMap< uint, QString > &services)=0

Public Member Functions

 BluetoothRemoteDevice (QObject *parent=0)
virtual void discoverServices (const QString &pattern) const =0
virtual QMap< QString, QVariant > getProperties () const =0
virtual QStringList listNodes () const =0
virtual QString ubi () const =0
virtual ~BluetoothRemoteDevice ()

Detailed Description

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

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


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 void Solid::Control::Ifaces::BluetoothRemoteDevice::cancelDiscovery (  )  [pure virtual, slot]

Cancel a started service Discovery.

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

Request a disconnect from the remote device.

Implemented in FakeBluetoothRemoteDevice.

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

Disconnect to the remote device requested.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::discoverServices ( const QString &  pattern  )  const [pure virtual]

Discover all available Services from the remote Device.

When the call is finished serviceDiscoverAvailable is thrown.

Parameters:
pattern a service handle pattern to search for

virtual QMap<QString,QVariant> Solid::Control::Ifaces::BluetoothRemoteDevice::getProperties (  )  const [pure virtual]

Retrieve all properties from the remote device.

Returns:
a hash of named properties

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

List all defined Nodes.

Returns:
a List of ObjectPaths from all defined Nodes

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

A Property for the remote device has changed.

Parameters:
name the name of the changed property
value the new value

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::serviceDiscoverAvailable ( const QString &  status,
const QMap< uint, QString > &  services 
) [pure virtual, signal]

Search for services is done.

Parameters:
status the result of the discovering.
services the discovered Services.

virtual void Solid::Control::Ifaces::BluetoothRemoteDevice::setProperty ( const QString &  name,
const QVariant &  value 
) [pure virtual, slot]

Set a new Value for a named property.

Parameters:
name the name of the property
value the new value to be set

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

The UBI of the remote device.

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
  •   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