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
|
@ -13,9 +13,10 @@ extern QTranslator *qtTranslator, *ssrfTranslator;
|
|||
|
||||
class DiveComputerNode {
|
||||
public:
|
||||
DiveComputerNode(QString m, uint32_t d, QString s, QString f, QString n) : model(m), deviceId(d), serialNumber(s), firmware(f), nickName(n) {};
|
||||
bool operator ==(const DiveComputerNode &a) const;
|
||||
bool operator !=(const DiveComputerNode &a) const;
|
||||
DiveComputerNode(QString m, uint32_t d, QString s, QString f, QString n)
|
||||
: model(m), deviceId(d), serialNumber(s), firmware(f), nickName(n) {};
|
||||
bool operator==(const DiveComputerNode &a) const;
|
||||
bool operator!=(const DiveComputerNode &a) const;
|
||||
bool changesValues(const DiveComputerNode &b) const;
|
||||
QString model;
|
||||
uint32_t deviceId;
|
||||
|
@ -39,7 +40,7 @@ public:
|
|||
};
|
||||
|
||||
QString weight_string(int weight_in_grams);
|
||||
bool gpsHasChanged(struct dive* dive, struct dive *master, const QString &gps_text, bool *parsed);
|
||||
bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_text, bool *parsed);
|
||||
|
||||
QList<int> getDivesInTrip(dive_trip_t *trip);
|
||||
#endif // QTHELPER_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue