diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2020-06-05 20:29:48 +0200 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2020-06-07 10:01:48 +0200 |
commit | 32b586864e3a4398da38c045f4ac0823c3dc3c57 (patch) | |
tree | 65969a26c8f5f19b296b697a856f44fc55054a0d /src/gui/itemmodels/qstandarditemmodel.h | |
parent | 45b0f1be686cfba8dcecb9be5c875cae59c69276 (diff) |
QAbstractItemModel: remove deprecated setRoleNames()
Remove setRoleNames() and all its now unneeded helper functions.
Change-Id: I0a83751aace35700655d4cc7c79278325994cbdd
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/itemmodels/qstandarditemmodel.h')
-rw-r--r-- | src/gui/itemmodels/qstandarditemmodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/itemmodels/qstandarditemmodel.h b/src/gui/itemmodels/qstandarditemmodel.h index e0b274649a..34747fa86b 100644 --- a/src/gui/itemmodels/qstandarditemmodel.h +++ b/src/gui/itemmodels/qstandarditemmodel.h @@ -321,6 +321,7 @@ public: ~QStandardItemModel(); void setItemRoleNames(const QHash<int,QByteArray> &roleNames); + QHash<int, QByteArray> roleNames() const override; QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override; QModelIndex parent(const QModelIndex &child) const override; |