diff options
Diffstat (limited to 'src/gui/itemviews/qitemselectionmodel_p.h')
-rw-r--r-- | src/gui/itemviews/qitemselectionmodel_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/itemviews/qitemselectionmodel_p.h b/src/gui/itemviews/qitemselectionmodel_p.h index 5afa90d..c2fe976 100644 --- a/src/gui/itemviews/qitemselectionmodel_p.h +++ b/src/gui/itemviews/qitemselectionmodel_p.h @@ -78,6 +78,7 @@ public: void _q_columnsAboutToBeInserted(const QModelIndex &parent, int start, int end); void _q_layoutAboutToBeChanged(); void _q_layoutChanged(); + void _q_modelAboutToBeReset(); inline void remove(QList<QItemSelectionRange> &r) { @@ -93,6 +94,8 @@ public: currentSelection.clear(); } + void clearCurrentIndex(); + QPointer<QAbstractItemModel> model; QItemSelection ranges; QItemSelection currentSelection; |