Whitespace cleanup

Plus removal of a few qDebug() calls I introduced earlier.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-12-28 20:56:58 -08:00
parent 4559a26e31
commit b2f4896f3c
7 changed files with 394 additions and 410 deletions

View file

@ -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();