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
QRangeModelDetails::MimeDataEntry< Entry > Struct Template Reference

#include <qrangemodel_impl.h>

Collaboration diagram for QRangeModelDetails::MimeDataEntry< Entry >:

Classes

struct  is_constexpr_default_constructible
struct  is_constexpr_default_constructible< T, std::void_t< int(*)[(T(), 1)]> >

Public Types

using entry_type = q20::remove_cvref_t<Entry>
using wrapped_entry = QRangeModelDetails::wrapped_t<entry_type>

Public Member Functions

bool isValid () const
const wrapped_entryentry () const
const QModelIndexindex () const

Public Attributes

const Entrym_entry
const QModelIndex m_index

Friends

template<std::size_t N>
decltype(auto) get (const MimeDataEntry &entry)

Detailed Description

template<typename Entry>
struct QRangeModelDetails::MimeDataEntry< Entry >

Definition at line 937 of file qrangemodel_impl.h.

Member Typedef Documentation

◆ entry_type

template<typename Entry>
using QRangeModelDetails::MimeDataEntry< Entry >::entry_type = q20::remove_cvref_t<Entry>

Definition at line 939 of file qrangemodel_impl.h.

◆ wrapped_entry

Definition at line 940 of file qrangemodel_impl.h.

Member Function Documentation

◆ entry()

template<typename Entry>
const wrapped_entry & QRangeModelDetails::MimeDataEntry< Entry >::entry ( ) const
inline

Definition at line 950 of file qrangemodel_impl.h.

◆ index()

template<typename Entry>
const QModelIndex & QRangeModelDetails::MimeDataEntry< Entry >::index ( ) const
inline

Definition at line 975 of file qrangemodel_impl.h.

◆ isValid()

template<typename Entry>
bool QRangeModelDetails::MimeDataEntry< Entry >::isValid ( ) const
inline

Definition at line 949 of file qrangemodel_impl.h.

◆ get

template<typename Entry>
template<std::size_t N>
decltype(auto) get ( const MimeDataEntry< Entry > & entry)
friend

Definition at line 978 of file qrangemodel_impl.h.

Member Data Documentation

◆ m_entry

◆ m_index

template<typename Entry>
const QModelIndex QRangeModelDetails::MimeDataEntry< Entry >::m_index

Definition at line 986 of file qrangemodel_impl.h.


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