From 8d6f679f49ce72fdf05496eeca0a0ce9dc610e4c Mon Sep 17 00:00:00 2001 From: Grecko Date: Mon, 1 Oct 2018 21:24:24 +0200 Subject: [PATCH] doc: fix FilterRole and RegExpRole doc --- proxyroles/filterrole.cpp | 1 + proxyroles/regexprole.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/proxyroles/filterrole.cpp b/proxyroles/filterrole.cpp index baf16d6..1619985 100644 --- a/proxyroles/filterrole.cpp +++ b/proxyroles/filterrole.cpp @@ -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 { diff --git a/proxyroles/regexprole.cpp b/proxyroles/regexprole.cpp index 2800a92..70d5c18 100644 --- a/proxyroles/regexprole.cpp +++ b/proxyroles/regexprole.cpp @@ -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 {