diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-06-21 16:24:28 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-21 17:47:16 +0200 |
commit | fbcb438226c141d4b4ab6ebeed96d23eba750956 (patch) | |
tree | 52de14de7bdae0d9f1ee3e1b039e057b9e2727c8 | |
parent | 42dc1c8aefaa4faf533d7d42a621dad586980ef1 (diff) |
Update the docs about setRoleNames deprecation.
Change-Id: I5aff626979238014d34cba1d383051cd4b048499
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
-rw-r--r-- | src/corelib/itemmodels/qabstractitemmodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp index 0b390341e4..c94b3cb540 100644 --- a/src/corelib/itemmodels/qabstractitemmodel.cpp +++ b/src/corelib/itemmodels/qabstractitemmodel.cpp @@ -2200,6 +2200,8 @@ QSize QAbstractItemModel::span(const QModelIndex &) const \since 4.6 \obsolete + This function is obsolete. Reimplement roleNames() instead. + Sets the model's role names to \a roleNames. This function allows mapping of role identifiers to role property names in |