libsolidcontrol
Solid::Control::BluetoothInputDevice Class Reference
Represents a bluetooth remote device as seen by the bluetoothing subsystem. More...
#include <bluetoothinputdevice.h>

Public Slots | |
void | connect () |
void | disconnect () |
Signals | |
void | propertyChanged (const QString &name, const QVariant &value) |
Public Member Functions | |
BluetoothInputDevice (const BluetoothInputDevice &device) | |
BluetoothInputDevice (QObject *backendObject=0) | |
QMap< QString, QVariant > | getProperties () const |
BluetoothInputDevice & | operator= (const BluetoothInputDevice &device) |
QString | ubi () const |
~BluetoothInputDevice () |
Detailed Description
Represents a bluetooth remote device as seen by the bluetoothing subsystem.Definition at line 41 of file bluetoothinputdevice.h.
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 47 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 53 of file bluetoothinputdevice.cpp.
Solid::Control::BluetoothInputDevice::~BluetoothInputDevice | ( | ) |
Member Function Documentation
void Solid::Control::BluetoothInputDevice::connect | ( | ) | [slot] |
void Solid::Control::BluetoothInputDevice::disconnect | ( | ) | [slot] |
Retrieve all properties from the input device.
- Returns:
- a hash of named properties
Definition at line 74 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 62 of file bluetoothinputdevice.cpp.
void Solid::Control::BluetoothInputDevice::propertyChanged | ( | const QString & | name, | |
const QVariant & | value | |||
) | [signal] |
A Property for the input device has changed.
- Parameters:
-
name the name of the changed property value the new value
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 69 of file bluetoothinputdevice.cpp.
The documentation for this class was generated from the following files: