-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10
-
None
Without this it's not possible for users to replace the missing get(int row, string roleName) function with a call to the data function, because that requires an int for the role.
In Grecko's API it's implemented like this:
/*! \qmlmethod int SortFilterProxyModel::roleForName(string roleName) Returns the role number for the given \a roleName. If no role is found for this \a roleName, \c -1 is returned. */ int QQmlSortFilterProxyModel::roleForName(const QString& roleName) const { return m_roleNames.key(roleName.toUtf8(), -1); }
- resulted from
-
QTBUG-140142 No get function in SortFilterProxyModel
-
- Reported
-
- resulted in
-
QTBUG-139995 No count property on SortFilterProxyModel
-
- Reported
-
For Gerrit Dashboard: QTBUG-140141 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
675585,1 | SortFilterProxyModel: add roleForName | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |