doc: fix FilterRole and RegExpRole doc

This commit is contained in:
Grecko 2018-10-01 21:24:24 +02:00
parent fd147bbb57
commit 8d6f679f49
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ namespace qqsfpm {
A FilterRole is a \l ProxyRole that returns \c true for rows matching all its filters.
In the following example, the \c isAdult role will be equal to \c true if the \c age role is superior or equal to 18.
\code
SortFilterProxyModel {
sourceModel: personModel
proxyRoles: FilterRole {

View File

@ -13,6 +13,7 @@ namespace qqsfpm {
A RegExpRole is a \l ProxyRole that provides a role for each named capture group of its regular expression \l pattern.
In the following example, the \c date role of the source model will be extracted in 3 roles in the proxy moodel: \c year, \c month and \c day.
\code
SortFilterProxyModel {
sourceModel: eventModel
proxyRoles: RegExpRole {