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
QListSpecialMethodsBase< T > Struct Template Reference

#include <qlist.h>

Inheritance diagram for QListSpecialMethodsBase< T >:
Collaboration diagram for QListSpecialMethodsBase< T >:

Public Member Functions

template<typename AT = T>
qsizetype indexOf (const AT &t, qsizetype from=0) const noexcept
template<typename AT = T>
qsizetype lastIndexOf (const AT &t, qsizetype from=-1) const noexcept
template<typename AT = T>
bool contains (const AT &t) const noexcept

Protected Types

using Self = QList<T>

Protected Member Functions

 QListSpecialMethodsBase ()=default
Selfself ()
const Selfself () const

Detailed Description

template<typename T>
struct QListSpecialMethodsBase< T >

Definition at line 31 of file qlist.h.

Member Typedef Documentation

◆ Self

template<typename T>
using QListSpecialMethodsBase< T >::Self = QList<T>
protected

Definition at line 37 of file qlist.h.

Constructor & Destructor Documentation

◆ QListSpecialMethodsBase()

template<typename T>
QListSpecialMethodsBase< T >::QListSpecialMethodsBase ( )
protecteddefault

Member Function Documentation

◆ contains()

template<typename T>
template<typename AT = T>
bool QListSpecialMethodsBase< T >::contains ( const AT & t) const
inlinenoexcept

Definition at line 48 of file qlist.h.

◆ indexOf()

template<typename T>
template<typename AT>
qsizetype QListSpecialMethodsBase< T >::indexOf ( const AT & t,
qsizetype from = 0 ) const
noexcept

Definition at line 1019 of file qlist.h.

◆ lastIndexOf()

template<typename T>
template<typename AT>
qsizetype QListSpecialMethodsBase< T >::lastIndexOf ( const AT & t,
qsizetype from = -1 ) const
noexcept

Definition at line 1026 of file qlist.h.

◆ self() [1/2]

template<typename T>
Self * QListSpecialMethodsBase< T >::self ( )
inlineprotected

Definition at line 38 of file qlist.h.

◆ self() [2/2]

template<typename T>
const Self * QListSpecialMethodsBase< T >::self ( ) const
inlineprotected

Definition at line 39 of file qlist.h.


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