summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Dyomin <artem.dyomin@qt.io>2025-08-17 15:38:33 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2025-08-19 19:09:24 +0200
commitc28a574b6cda65c99c6ac8551b7976113d391cda (patch)
treec1db7a7b5be5d6f790091adfa3eb93e8e63c179c
parent2fc05b1439f7d1dab848e55878f3f98eff3b8b35 (diff)
QRM: remove unused roleNames() method
QRMImpl::roleNames is not used anymore. Pick-to: 6.10 Change-Id: I99f6f934c82980271d4edf1342687852d79e5274 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r--src/corelib/itemmodels/qrangemodel.h4
-rw-r--r--src/corelib/itemmodels/qrangemodel_impl.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/src/corelib/itemmodels/qrangemodel.h b/src/corelib/itemmodels/qrangemodel.h
index 52038ed2541..a73f0e2c53c 100644
--- a/src/corelib/itemmodels/qrangemodel.h
+++ b/src/corelib/itemmodels/qrangemodel.h
@@ -115,10 +115,6 @@ void QRangeModelImplBase::changePersistentIndexList(const QModelIndexList &from,
{
m_rangeModel->changePersistentIndexList(from, to);
}
-QHash<int, QByteArray> QRangeModelImplBase::roleNames() const
-{
- return m_rangeModel->roleNames();
-}
void QRangeModelImplBase::dataChanged(const QModelIndex &from, const QModelIndex &to,
const QList<int> &roles)
{
diff --git a/src/corelib/itemmodels/qrangemodel_impl.h b/src/corelib/itemmodels/qrangemodel_impl.h
index 0328a27c7ca..4dfc07be37d 100644
--- a/src/corelib/itemmodels/qrangemodel_impl.h
+++ b/src/corelib/itemmodels/qrangemodel_impl.h
@@ -716,7 +716,6 @@ protected:
inline QModelIndex createIndex(int row, int column, const void *ptr = nullptr) const;
inline void changePersistentIndexList(const QModelIndexList &from, const QModelIndexList &to);
- inline QHash<int, QByteArray> roleNames() const;
inline void dataChanged(const QModelIndex &from, const QModelIndex &to,
const QList<int> &roles);
inline void beginInsertColumns(const QModelIndex &parent, int start, int count);