diff options
author | Claudiu Olteanu <olteanu.claudiu@ymail.com> | 2015-07-18 17:50:18 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-20 05:39:43 -0700 |
commit | b5ac3a3fa8168bd6bf38ecb1985f37c7d683e411 (patch) | |
tree | 1575364d8bc66f25e7df8557dc80c14576a1058b /qt-ui/btdeviceselectiondialog.h | |
parent | 000c202d7d41b0240d2483911af00ccb5bc30717 (diff) | |
download | subsurface-b5ac3a3fa8168bd6bf38ecb1985f37c7d683e411.tar.gz |
Add combobox for Bluetooth local device selection
Add a combobox which can be used to list/select the available
local Bluetooth devices. In this way, if a user has more
than one local Bluetooth devices (integrated, dongles, etc.)
he can choose which one he wants to use.
Before this patch, only the default local Bluetooth device
could be used.
Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/btdeviceselectiondialog.h')
-rw-r--r-- | qt-ui/btdeviceselectiondialog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/btdeviceselectiondialog.h b/qt-ui/btdeviceselectiondialog.h index e6086cb82..de64c937d 100644 --- a/qt-ui/btdeviceselectiondialog.h +++ b/qt-ui/btdeviceselectiondialog.h @@ -37,12 +37,15 @@ private slots: void displayPairingMenu(const QPoint &pos); void pairingFinished(const QBluetoothAddress &address,QBluetoothLocalDevice::Pairing pairing); void error(QBluetoothLocalDevice::Error error); + void localDeviceChanged(int); private: Ui::BtDeviceSelectionDialog *ui; QBluetoothLocalDevice *localDevice; QBluetoothDeviceDiscoveryAgent *remoteDeviceDiscoveryAgent; QSharedPointer<QBluetoothDeviceInfo> selectedRemoteDeviceInfo; + + void updateLocalDeviceInformation(); }; #endif // BTDEVICESELECTIONDIALOG_H |