summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-12-26 22:39:53 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-27 07:14:31 -0800
commit230ba7ace8fe274f0130a9b25fa532ceb39ecbdd (patch)
treeb1d9fa81c2a49c1eb8a1510aef09dd30fced61b2 /qt-ui/configuredivecomputerdialog.h
parent1e04aec7fd46afc2c922f6d019e0344f0e1f4fa1 (diff)
downloadsubsurface-230ba7ace8fe274f0130a9b25fa532ceb39ecbdd.tar.gz
Read current version from H&W web page
This is only partial. It prints the current version string (to be processed by a regex) via qDebug(). Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.h')
-rw-r--r--qt-ui/configuredivecomputerdialog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.h b/qt-ui/configuredivecomputerdialog.h
index 2f7fc296f..99f1e9c32 100644
--- a/qt-ui/configuredivecomputerdialog.h
+++ b/qt-ui/configuredivecomputerdialog.h
@@ -7,6 +7,7 @@
#include "../libdivecomputer.h"
#include "configuredivecomputer.h"
#include <QStyledItemDelegate>
+#include <QWebPage>
class GasSpinBoxItemDelegate : public QStyledItemDelegate
{
@@ -73,6 +74,8 @@ private slots:
void on_updateFirmwareButton_clicked();
void on_DiveComputerList_currentRowChanged(int currentRow);
+ void findVersion();
+
private:
Ui::ConfigureDiveComputerDialog ui;
@@ -99,6 +102,8 @@ private:
QString selected_vendor;
QString selected_product;
+ QWebPage hwVersionPage;
+
};
#endif // CONFIGUREDIVECOMPUTERDIALOG_H