mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
006265d7a0
commit
76e6420f6b
114 changed files with 4370 additions and 3717 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue