summaryrefslogtreecommitdiffstats
path: root/configuredivecomputerthreads.h
diff options
context:
space:
mode:
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;
};