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/globe.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/globe.h')
-rw-r--r-- | qt-ui/globe.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/qt-ui/globe.h b/qt-ui/globe.h index dad3cf99f..80d9613dd 100644 --- a/qt-ui/globe.h +++ b/qt-ui/globe.h @@ -11,32 +11,34 @@ class KMessageWidget; using namespace Marble; struct dive; -class GlobeGPS : public MarbleWidget{ +class GlobeGPS : public MarbleWidget { Q_OBJECT public: using MarbleWidget::centerOn; GlobeGPS(QWidget *parent); void reload(); void repopulateLabels(); - void centerOn(struct dive* dive); - bool eventFilter(QObject*, QEvent*); + void centerOn(struct dive *dive); + bool eventFilter(QObject *, QEvent *); + protected: /* reimp */ void resizeEvent(QResizeEvent *event); - /* reimp */ void mousePressEvent(QMouseEvent* event); - /* reimp */ void contextMenuEvent(QContextMenuEvent*); + /* reimp */ void mousePressEvent(QMouseEvent *event); + /* reimp */ void contextMenuEvent(QContextMenuEvent *); + private: GeoDataDocument *loadedDives; - KMessageWidget* messageWidget; + KMessageWidget *messageWidget; QTimer *fixZoomTimer; int currentZoomLevel; bool editingDiveLocation; -public slots: - void changeDiveGeoPosition(qreal lon,qreal lat,GeoDataCoordinates::Unit); +public +slots: + void changeDiveGeoPosition(qreal lon, qreal lat, GeoDataCoordinates::Unit); void mouseClicked(qreal lon, qreal lat, GeoDataCoordinates::Unit); void fixZoom(); void prepareForGetDiveCoordinates(); - }; #endif // GLOBE_H |