summaryrefslogtreecommitdiffstats
path: root/configuredivecomputer.h
diff options
context:
space:
mode:
Diffstat (limited to 'configuredivecomputer.h')
-rw-r--r--configuredivecomputer.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/configuredivecomputer.h b/configuredivecomputer.h
index 66a9bf5f5..6cc9b8fa5 100644
--- a/configuredivecomputer.h
+++ b/configuredivecomputer.h
@@ -10,24 +10,23 @@
#include "libxml/xmlreader.h"
-class ConfigureDiveComputer : public QObject
-{
+class ConfigureDiveComputer : public QObject {
Q_OBJECT
public:
explicit ConfigureDiveComputer();
void readSettings(device_data_t *data);
enum states {
- INITIAL,
- READING,
- WRITING,
- RESETTING,
- FWUPDATE,
- CANCELLING,
- CANCELLED,
- ERROR,
- DONE,
- };
+ INITIAL,
+ READING,
+ WRITING,
+ RESETTING,
+ FWUPDATE,
+ CANCELLING,
+ CANCELLED,
+ ERROR,
+ DONE,
+ };
QString lastError;
states currentState;
@@ -50,7 +49,8 @@ private:
ResetSettingsThread *resetThread;
FirmwareUpdateThread *firmwareThread;
void setState(states newState);
-private slots:
+private
+slots:
void readThreadFinished();
void writeThreadFinished();
void resetThreadFinished();