summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels/qsortfilterproxymodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/itemmodels/qsortfilterproxymodel.cpp')
-rw-r--r--src/corelib/itemmodels/qsortfilterproxymodel.cpp48
1 files changed, 45 insertions, 3 deletions
diff --git a/src/corelib/itemmodels/qsortfilterproxymodel.cpp b/src/corelib/itemmodels/qsortfilterproxymodel.cpp
index 6ed4c942d8..5850551361 100644
--- a/src/corelib/itemmodels/qsortfilterproxymodel.cpp
+++ b/src/corelib/itemmodels/qsortfilterproxymodel.cpp
@@ -2678,12 +2678,19 @@ void QSortFilterProxyModel::setFilterKeyColumn(int column)
\property QSortFilterProxyModel::filterCaseSensitivity
\brief the case sensitivity of the QRegExp pattern used to filter the
- contents of the source model
+ contents of the source model.
By default, the filter is case sensitive.
\sa filterRegExp, sortCaseSensitivity
*/
+
+/*!
+ \since 5.15
+ \fn void QSortFilterProxyModel::filterCaseSensitivityChanged(Qt::CaseSensitivity filterCaseSensitivity)
+ \brief This signal is emitted when the case sensitivity of the filter
+ changes to \a filterCaseSensitivity.
+ */
Qt::CaseSensitivity QSortFilterProxyModel::filterCaseSensitivity() const
{
Q_D(const QSortFilterProxyModel);
@@ -2710,6 +2717,13 @@ void QSortFilterProxyModel::setFilterCaseSensitivity(Qt::CaseSensitivity cs)
\sa filterCaseSensitivity, lessThan()
*/
+
+/*!
+ \since 5.15
+ \fn void QSortFilterProxyModel::sortCaseSensitivityChanged(Qt::CaseSensitivity sortCaseSensitivity)
+ \brief This signal is emitted when the case sensitivity for sorting
+ changes to \a sortCaseSensitivity.
+*/
Qt::CaseSensitivity QSortFilterProxyModel::sortCaseSensitivity() const
{
Q_D(const QSortFilterProxyModel);
@@ -2736,6 +2750,13 @@ void QSortFilterProxyModel::setSortCaseSensitivity(Qt::CaseSensitivity cs)
\sa sortCaseSensitivity, lessThan()
*/
+
+/*!
+ \since 5.15
+ \fn void QSortFilterProxyModel::sortLocaleAwareChanged(bool sortLocaleAware)
+ \brief This signal is emitted when the locale aware setting
+ changes to \a sortLocaleAware.
+*/
bool QSortFilterProxyModel::isSortLocaleAware() const
{
Q_D(const QSortFilterProxyModel);
@@ -2856,12 +2877,19 @@ void QSortFilterProxyModel::setDynamicSortFilter(bool enable)
/*!
\since 4.2
\property QSortFilterProxyModel::sortRole
- \brief the item role that is used to query the source model's data when sorting items
+ \brief the item role that is used to query the source model's data when
+ sorting items.
The default value is Qt::DisplayRole.
\sa lessThan()
*/
+
+/*!
+ \since 5.15
+ \fn void QSortFilterProxyModel::sortRoleChanged(int sortRole)
+ \brief This signal is emitted when the sort role changes to \a sortRole.
+*/
int QSortFilterProxyModel::sortRole() const
{
Q_D(const QSortFilterProxyModel);
@@ -2881,12 +2909,19 @@ void QSortFilterProxyModel::setSortRole(int role)
/*!
\since 4.2
\property QSortFilterProxyModel::filterRole
- \brief the item role that is used to query the source model's data when filtering items
+ \brief the item role that is used to query the source model's data when
+ filtering items.
The default value is Qt::DisplayRole.
\sa filterAcceptsRow()
*/
+
+/*!
+ \since 5.15
+ \fn void QSortFilterProxyModel::filterRoleChanged(int filterRole)
+ \brief This signal is emitted when the filter role changes to \a filterRole.
+*/
int QSortFilterProxyModel::filterRole() const
{
Q_D(const QSortFilterProxyModel);
@@ -2914,6 +2949,13 @@ void QSortFilterProxyModel::setFilterRole(int role)
\sa filterAcceptsRow()
*/
+
+/*!
+ \since 5.15
+ \fn void QSortFilterProxyModel::recursiveFilteringEnabledChanged(int recursiveFilteringEnabled)
+ \brief This signal is emitted when the recursive filter setting is changed
+ to \a recursiveFilteringEnabled.
+*/
bool QSortFilterProxyModel::isRecursiveFilteringEnabled() const
{
Q_D(const QSortFilterProxyModel);