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/divelistview.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/divelistview.h')
-rw-r--r-- | qt-ui/divelistview.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h index f078a33f8..f395720bd 100644 --- a/qt-ui/divelistview.h +++ b/qt-ui/divelistview.h @@ -15,24 +15,24 @@ #include <QLineEdit> #include "models.h" -class DiveListView : public QTreeView -{ +class DiveListView : public QTreeView { Q_OBJECT public: DiveListView(QWidget *parent = 0); ~DiveListView(); - void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); - void currentChanged(const QModelIndex& current, const QModelIndex& previous); + void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected); + void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); void reload(DiveTripModel::Layout layout, bool forceSort = true); - bool eventFilter(QObject* , QEvent* ); + bool eventFilter(QObject *, QEvent *); void unselectDives(); void selectDive(int dive_table_idx, bool scrollto = false, bool toggle = false); - void selectDives(const QList<int>& newDiveSelection); + void selectDives(const QList<int> &newDiveSelection); void rememberSelection(); void restoreSelection(); void contextMenuEvent(QContextMenuEvent *event); - QList<dive_trip_t*> selectedTrips(); -public slots: + QList<dive_trip_t *> selectedTrips(); +public +slots: void toggleColumnVisibilityByIndex(); void reloadHeaderActions(); void headerClicked(int); @@ -73,8 +73,8 @@ private: void backupExpandedRows(); void restoreExpandedRows(); int lastVisibleColumn(); - void selectTrip ( dive_trip_t* trip ); - void updateLastUsedImageDir(const QString& s); + void selectTrip(dive_trip_t *trip); + void updateLastUsedImageDir(const QString &s); void updateLastImageTimeOffset(int offset); int lastImageTimeOffset(); }; |