summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-11-08 20:30:17 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-09 15:32:37 +0900
commit7dbf76384f78b415250ec3de3090ea1ae68e3ac3 (patch)
tree041def1120191df9dc4e87d4cbcba901bddd4421 /qt-ui/divelistview.h
parentba638cae05a3b285cd7a7f5790f9a3290eef7343 (diff)
downloadsubsurface-7dbf76384f78b415250ec3de3090ea1ae68e3ac3.tar.gz
Moved the code that handles DiveList column sizes to its correct file.
I got a bit lost trying to find the code that handled DiveList columns today, so I thought it was better to move it to its file, after all we do have a divelistview.h :) Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r--qt-ui/divelistview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h
index 384ece9a3..73f417951 100644
--- a/qt-ui/divelistview.h
+++ b/qt-ui/divelistview.h
@@ -19,6 +19,7 @@ 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 reload(DiveTripModel::Layout layout, bool forceSort = true);
@@ -54,6 +55,7 @@ private:
QLineEdit *searchBox;
QModelIndex contextMenuIndex;
void merge_trip(const QModelIndex &a, const int offset);
+ void setupUi();
};
#endif // DIVELISTVIEW_H