summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-29 19:55:24 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-29 19:55:24 +0900
commit8df20f414966db685e4709eb101e071b4783c09f (patch)
treee92d0772b2a393ae3ca73ebb47ac74e37adeb9d1 /qt-ui/divelistview.h
parent4371a4a29859c9419a646cb7ed1182c19f54d7ab (diff)
parent5a994b08f6323680fe8362f129f097c9c2aaef2e (diff)
downloadsubsurface-8df20f414966db685e4709eb101e071b4783c09f.tar.gz
Merge branch 'bug111' of https://github.com/tcanabrava/subsurface
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r--qt-ui/divelistview.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h
index c1a33db51..99154d4ac 100644
--- a/qt-ui/divelistview.h
+++ b/qt-ui/divelistview.h
@@ -15,6 +15,7 @@
*/
#include <QTreeView>
+#include "models.h"
class DiveListView : public QTreeView
{
@@ -28,11 +29,12 @@ public:
void keyPressEvent(QKeyEvent* event);
void keyReleaseEvent(QKeyEvent*);
void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command);
- void reload();
+ void reload(DiveTripModel::Layout layout = DiveTripModel::TREE);
public slots:
void toggleColumnVisibilityByIndex();
void reloadHeaderActions();
+ void headerClicked(int);
Q_SIGNALS:
void currentDiveChanged(int divenr);