libsolidcontrol
Solid::Control::BluetoothInputDevice Class Reference
#include <bluetoothinputdevice.h>

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 | ( | ) |
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] |
void Solid::Control::BluetoothInputDevice::slotDisconnect | ( | ) | [slot] |
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: