aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-28 20:56:58 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-28 21:02:28 -0800
commitb2f4896f3cf4361e9fc499cb8669eba0d114b4fa (patch)
tree729bb3153658548983dbb2d96983a1a11e7617ab /qt-ui/configuredivecomputerdialog.h
parent4559a26e316931695f892b205257979f0ea13afa (diff)
downloadsubsurface-b2f4896f3cf4361e9fc499cb8669eba0d114b4fa.tar.gz
Whitespace cleanup
Plus removal of a few qDebug() calls I introduced earlier. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.h')
-rw-r--r--qt-ui/configuredivecomputerdialog.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/qt-ui/configuredivecomputerdialog.h b/qt-ui/configuredivecomputerdialog.h
index e36e88d1f..b2e4ff636 100644
--- a/qt-ui/configuredivecomputerdialog.h
+++ b/qt-ui/configuredivecomputerdialog.h
@@ -9,8 +9,7 @@
#include <QStyledItemDelegate>
#include <QNetworkAccessManager>
-class GasSpinBoxItemDelegate : public QStyledItemDelegate
-{
+class GasSpinBoxItemDelegate : public QStyledItemDelegate {
Q_OBJECT
public:
@@ -25,12 +24,12 @@ public:
virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const;
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
+
private:
column_type type;
};
-class GasTypeComboBoxItemDelegate : public QStyledItemDelegate
-{
+class GasTypeComboBoxItemDelegate : public QStyledItemDelegate {
Q_OBJECT
public:
@@ -45,19 +44,20 @@ public:
virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
virtual void setEditorData(QWidget *editor, const QModelIndex &index) const;
virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
+
private:
computer_type type;
};
-class ConfigureDiveComputerDialog : public QDialog
-{
+class ConfigureDiveComputerDialog : public QDialog {
Q_OBJECT
public:
explicit ConfigureDiveComputerDialog(QWidget *parent = 0);
~ConfigureDiveComputerDialog();
-private slots:
+private
+slots:
void readSettings();
void resetSettings();
void configMessage(QString msg);
@@ -102,8 +102,7 @@ private:
QString selected_product;
};
-class OstcFirmwareCheck : QObject
-{
+class OstcFirmwareCheck : QObject {
Q_OBJECT
public:
explicit OstcFirmwareCheck(QString product);
@@ -111,7 +110,8 @@ public:
public
slots:
void parseOstcFwVersion(QNetworkReply *reply);
- void saveOstcFirmware(QNetworkReply * reply);
+ void saveOstcFirmware(QNetworkReply *reply);
+
private:
void upgradeFirmware();
device_data_t devData;