summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2015-09-12 22:37:35 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-12 14:02:32 -0700
commit547203693193ab1428cb7e1e8c4704d7e68ed3bd (patch)
treee86f27e9d0c8038c3d667d425dd6a3916fe3c44e /qt-ui/configuredivecomputerdialog.h
parenta42df06dbfc9d55d74ee416d14ab79a8606f34f7 (diff)
downloadsubsurface-547203693193ab1428cb7e1e8c4704d7e68ed3bd.tar.gz
Connect up custom serial in dc configuration
This connects up the custom serial code in the configure dive computer dialogs. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.h')
-rw-r--r--qt-ui/configuredivecomputerdialog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.h b/qt-ui/configuredivecomputerdialog.h
index d11726873..7092e9708 100644
--- a/qt-ui/configuredivecomputerdialog.h
+++ b/qt-ui/configuredivecomputerdialog.h
@@ -8,6 +8,7 @@
#include "configuredivecomputer.h"
#include <QStyledItemDelegate>
#include <QNetworkAccessManager>
+#include "btdeviceselectiondialog.h"
class GasSpinBoxItemDelegate : public QStyledItemDelegate {
Q_OBJECT
@@ -84,6 +85,11 @@ slots:
void dc_open();
void dc_close();
+#if BT_SUPPORT
+ void bluetoothSelectionDialogIsFinished(int result);
+ void selectRemoteBluetoothDevice();
+#endif
+
private:
Ui::ConfigureDiveComputerDialog ui;
@@ -112,6 +118,8 @@ private:
QString selected_vendor;
QString selected_product;
bool fw_upgrade_possible;
+
+ BtDeviceSelectionDialog *btDeviceSelectionDialog;
};
class OstcFirmwareCheck : QObject {