summaryrefslogtreecommitdiffstats
path: root/configuredivecomputerthreads.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 /configuredivecomputerthreads.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 'configuredivecomputerthreads.h')
-rw-r--r--configuredivecomputerthreads.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/configuredivecomputerthreads.h b/configuredivecomputerthreads.h
index 13f54c406..5c33c9de2 100644
--- a/configuredivecomputerthreads.h
+++ b/configuredivecomputerthreads.h
@@ -8,8 +8,7 @@
#include <QDateTime>
#include "devicedetails.h"
-class ReadSettingsThread : public QThread
-{
+class ReadSettingsThread : public QThread {
Q_OBJECT
public:
ReadSettingsThread(QObject *parent, device_data_t *data);
@@ -19,12 +18,12 @@ public:
signals:
void error(QString err);
void devicedetails(DeviceDetails *newDeviceDetails);
+
private:
device_data_t *m_data;
};
-class WriteSettingsThread : public QThread
-{
+class WriteSettingsThread : public QThread {
Q_OBJECT
public:
WriteSettingsThread(QObject *parent, device_data_t *data);
@@ -34,13 +33,13 @@ public:
QString lastError;
signals:
void error(QString err);
+
private:
device_data_t *m_data;
DeviceDetails *m_deviceDetails;
};
-class FirmwareUpdateThread : public QThread
-{
+class FirmwareUpdateThread : public QThread {
Q_OBJECT
public:
FirmwareUpdateThread(QObject *parent, device_data_t *data, QString fileName);
@@ -50,13 +49,13 @@ signals:
void progress(int percent);
void message(QString msg);
void error(QString err);
+
private:
device_data_t *m_data;
QString m_fileName;
};
-class ResetSettingsThread : public QThread
-{
+class ResetSettingsThread : public QThread {
Q_OBJECT
public:
ResetSettingsThread(QObject *parent, device_data_t *data);
@@ -66,6 +65,7 @@ signals:
void progress(int percent);
void message(QString msg);
void error(QString err);
+
private:
device_data_t *m_data;
};