diff options
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r-- | qt-ui/divelistview.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h index a9b986f97..88f52ba7d 100644 --- a/qt-ui/divelistview.h +++ b/qt-ui/divelistview.h @@ -27,8 +27,9 @@ public: void reload(DiveTripModel::Layout layout, bool forceSort = true); bool eventFilter(QObject* , QEvent* ); void unselectDives(); - void selectDive(struct dive *, bool scrollto = false); + void selectDive(struct dive *, bool scrollto = false, bool toggle = false); void contextMenuEvent(QContextMenuEvent *event); + QSet<dive_trip_t *> selectedTrips; public slots: void toggleColumnVisibilityByIndex(); @@ -38,6 +39,7 @@ public slots: void removeFromTrip(); void deleteDive(); void testSlot(); + void fixMessyQtModelBehaviour(); Q_SIGNALS: void currentDiveChanged(int divenr); |