Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QGenericItemModelDetails::ListProtocol< Range > Struct Template Reference

#include <qgenericitemmodel_impl.h>

+ Collaboration diagram for QGenericItemModelDetails::ListProtocol< Range >:

Public Types

using row_type = typename range_traits<wrapped_t<Range>>::value_type
 

Public Member Functions

template<typename R = row_type>
auto newRow () -> decltype(R{})
 

Detailed Description

template<typename Range>
struct QGenericItemModelDetails::ListProtocol< Range >

Definition at line 345 of file qgenericitemmodel_impl.h.

Member Typedef Documentation

◆ row_type

template<typename Range>
using QGenericItemModelDetails::ListProtocol< Range >::row_type = typename range_traits<wrapped_t<Range>>::value_type

Definition at line 347 of file qgenericitemmodel_impl.h.

Member Function Documentation

◆ newRow()

template<typename Range>
template<typename R = row_type>
auto QGenericItemModelDetails::ListProtocol< Range >::newRow ( ) -> decltype(R{})
inline

Definition at line 350 of file qgenericitemmodel_impl.h.


The documentation for this struct was generated from the following file: