From: Stephen Kelly Date: Thu, 21 Jun 2012 14:24:28 +0000 (+0200) Subject: Update the docs about setRoleNames deprecation. X-Git-Tag: 071012110112~304 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbcb438226c141d4b4ab6ebeed96d23eba750956;p=profile%2Fivi%2Fqtbase.git Update the docs about setRoleNames deprecation. Change-Id: I5aff626979238014d34cba1d383051cd4b048499 Reviewed-by: Kevin Krammer Reviewed-by: Giuseppe D'Angelo --- diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp index 0b39034..c94b3cb 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