From 7add8594a71db739d86966ea2bc1e15aa7a6674f Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 3 May 2013 21:49:40 -0300 Subject: Added code to select / desselect a range of items Signed-off-by: Tomaz Canabrava --- qt-ui/mainwindow.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qt-ui/mainwindow.h') diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index e94cb5b7c..3b35d44e5 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -22,6 +22,7 @@ class DiveInfo; class DiveNotes; class Stats; class Equipment; +class QItemSelection; class MainWindow : public QMainWindow { @@ -67,7 +68,8 @@ private Q_SLOTS: void on_actionAboutSubsurface_triggered(); void on_actionUserManual_triggered(); - void diveSelected(const QModelIndex& index); + void dive_selection_changed(const QItemSelection& newSelection, + const QItemSelection& oldSelection); protected: void closeEvent(QCloseEvent *); -- cgit v1.2.3-70-g09d2