From ee7097b0a77c7fe416cdff3bf88292409c97945b Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Thu, 31 Dec 2020 13:56:16 +0100 Subject: Make some methods protected in ModListView. --- src/modlistview.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/modlistview.h') diff --git a/src/modlistview.h b/src/modlistview.h index 87d8eac5..098466bc 100644 --- a/src/modlistview.h +++ b/src/modlistview.h @@ -107,6 +107,11 @@ public slots: // void refreshFilters(); +protected: + + friend class ModListContextMenu; + friend class ModListViewActions; + // map from/to the view indexes to the model // QModelIndex indexModelToView(const QModelIndex& index) const; @@ -114,8 +119,6 @@ public slots: QModelIndex indexViewToModel(const QModelIndex& index) const; QModelIndexList indexViewToModel(const QModelIndexList& index) const; -protected: - // returns the next/previous index of the given index // QModelIndex nextIndex(const QModelIndex& index) const; -- cgit v1.3.1