summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Claudiu Olteanu <olteanu.claudiu@ymail.com>2015-07-06 16:35:13 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-06 08:36:42 -0700
commitdff4e5f33eee0ba112ddd2265410a5e858d6c98f (patch)
tree87c3e50d860999dc6372bb2a1b25f84f962bbbea /qt-ui/downloadfromdivecomputer.h
parentb4c4d95ea4d19d63492a5de4abdab31673ab9725 (diff)
downloadsubsurface-dff4e5f33eee0ba112ddd2265410a5e858d6c98f.tar.gz
Add a dialog for remote Bluetooth devices selection
Implement a dialog which can be used for remote Bluetooth devices selection and to control the local Bluetooth device. Functionalities of the widget: - expose information about the local BT device - scan for remote BT devices - pair/unpair with a remote BT device - turn on/off the local BT device - logging - save the selected BT device The selection dialog is created when the bluetoothMode checkbox is enabled. Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r--qt-ui/downloadfromdivecomputer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index 0b63d28ed..734e5f7d1 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -10,6 +10,7 @@
#include "libdivecomputer.h"
#include "configuredivecomputerdialog.h"
#include "ui_downloadfromdivecomputer.h"
+#include "btdeviceselectiondialog.h"
class QStringListModel;
@@ -81,6 +82,7 @@ slots:
void pickDumpFile();
void pickLogFile();
void selectRemoteBluetoothDevice();
+ void bluetoothSelectionDialogIsFinished(int result);
private:
void markChildrenAsDisabled();
@@ -106,6 +108,7 @@ private:
bool dumpWarningShown;
OstcFirmwareCheck *ostcFirmwareCheck;
DiveImportedModel *diveImportedModel;
+ BtDeviceSelectionDialog *btDeviceSelectionDialog;
public:
bool preferDownloaded();