![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qrangemodel_impl.h>
Public Types | |
| template<typename C, typename LessThan> | |
| using | sortMember_test = decltype(std::declval<C&>().sort(std::declval<LessThan &&>())) |
| template<typename Stringish> | |
| using | collatedCompare_test |
Public Member Functions | |
| Compare (const QRangeModelImpl *impl, int column, Qt::SortOrder order) | |
| template<typename Item> | |
| auto | operator() (const Item &lhs, const Item &rhs) const |
| template<typename Item> | |
| auto | compare (const Item &lhs, const Item &rhs) const |
| bool | checkComparable () const |
Static Public Member Functions | |
| template<typename Item> | |
| static std::optional< bool > | compareInvalid (const Item &lhs, const Item &rhs) |
Public Attributes | |
| const QRangeModelImpl *const | that |
| const QModelIndex | m_index |
| const QCollator *const | collator |
| const Qt::SortOrder | m_order |
| const int | m_sortRole |
Static Public Attributes | |
| static constexpr bool | hasSortMember = qxp::is_detected_v<sortMember_test, range_type, Compare> |
| template<typename Stringish> | |
| static constexpr bool | hasCollatedCompare |
Definition at line 1965 of file qrangemodel_impl.h.
| using QRangeModelImpl< Structure, Range, Protocol >::Compare::collatedCompare_test |
Definition at line 1972 of file qrangemodel_impl.h.
| using QRangeModelImpl< Structure, Range, Protocol >::Compare::sortMember_test = decltype(std::declval<C&>().sort(std::declval<LessThan &&>())) |
Definition at line 1968 of file qrangemodel_impl.h.
|
inline |
Definition at line 1981 of file qrangemodel_impl.h.
References Compare(), m_sortRole, and that.
Referenced by Compare().
|
inline |
Definition at line 2037 of file qrangemodel_impl.h.
References that.
|
inline |
Definition at line 1995 of file qrangemodel_impl.h.
References m_sortRole.
|
inlinestatic |
Definition at line 2061 of file qrangemodel_impl.h.
|
inline |
Definition at line 1988 of file qrangemodel_impl.h.
| const QCollator* const QRangeModelImpl< Structure, Range, Protocol >::Compare::collator |
Definition at line 2073 of file qrangemodel_impl.h.
|
staticconstexpr |
Definition at line 1977 of file qrangemodel_impl.h.
|
staticconstexpr |
Definition at line 1969 of file qrangemodel_impl.h.
| const QModelIndex QRangeModelImpl< Structure, Range, Protocol >::Compare::m_index |
Definition at line 2072 of file qrangemodel_impl.h.
| const Qt::SortOrder QRangeModelImpl< Structure, Range, Protocol >::Compare::m_order |
Definition at line 2074 of file qrangemodel_impl.h.
| const int QRangeModelImpl< Structure, Range, Protocol >::Compare::m_sortRole |
Definition at line 2075 of file qrangemodel_impl.h.
| const QRangeModelImpl* const QRangeModelImpl< Structure, Range, Protocol >::Compare::that |
Definition at line 2071 of file qrangemodel_impl.h.
Referenced by Compare(), and checkComparable().