diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 20:09:57 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 20:09:57 -0800 |
commit | 76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (patch) | |
tree | 8b50298f41bd29d55bbd6f4301f36ad31dc0b008 /qt-ui/downloadfromdivecomputer.h | |
parent | 006265d7a088cff4fea665159dbb454956c2cd76 (diff) | |
download | subsurface-76e6420f6b3503b76bd3eec00ab0e53d6ea17a20.tar.gz |
Massive automated whitespace cleanup
I know everyone will hate it.
Go ahead. Complain. Call me names.
At least now things are consistent and reproducible.
If you want changes, have your complaint come with a patch to
scripts/whitespace.pl so that we can automate it.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h index 4e4c04266..e20ba3051 100644 --- a/qt-ui/downloadfromdivecomputer.h +++ b/qt-ui/downloadfromdivecomputer.h @@ -9,21 +9,22 @@ #include "../libdivecomputer.h" #include "ui_downloadfromdivecomputer.h" -class DownloadThread : public QThread{ +class DownloadThread : public QThread { Q_OBJECT public: - DownloadThread(QObject* parent, device_data_t* data); + DownloadThread(QObject *parent, device_data_t *data); virtual void run(); QString error; + private: device_data_t *data; }; -class DownloadFromDCWidget : public QDialog{ +class DownloadFromDCWidget : public QDialog { Q_OBJECT public: - explicit DownloadFromDCWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); + explicit DownloadFromDCWidget(QWidget *parent = 0, Qt::WindowFlags f = 0); void reject(); enum states { @@ -35,11 +36,12 @@ public: DONE, }; -public slots: +public +slots: void on_ok_clicked(); void on_cancel_clicked(); void on_search_clicked(); - void on_vendor_currentIndexChanged(const QString& vendor); + void on_vendor_currentIndexChanged(const QString &vendor); void on_product_currentIndexChanged(); void onDownloadThreadFinished(); @@ -76,7 +78,6 @@ public: bool preferDownloaded(); void updateState(states state); states currentState; - }; #endif // DOWNLOADFROMDIVECOMPUTER_H |