libsolidcontrol
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:

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] |
| 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 documentation for this class was generated from the following files:
KDE 4.2 API Reference