summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-03 21:49:40 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-03 21:49:40 -0300
commit7add8594a71db739d86966ea2bc1e15aa7a6674f (patch)
treeae805f95ed24703c57a48fa544118c31e0f63401 /qt-ui/mainwindow.h
parentc385e7aae8c7ac0d381a94440e32ecb3b115e9fc (diff)
downloadsubsurface-7add8594a71db739d86966ea2bc1e15aa7a6674f.tar.gz
Added code to select / desselect a range of items
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h4
1 files changed, 3 insertions, 1 deletions
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 *);