Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QJSList< QQmlListProperty< QObject >, QObject * > Struct Reference

#include <qjslist.h>

+ Inheritance diagram for QJSList< QQmlListProperty< QObject >, QObject * >:
+ Collaboration diagram for QJSList< QQmlListProperty< QObject >, QObject * >:

Public Member Functions

 QJSList (QQmlListProperty< QObject > *list, QJSEngine *engine)
 
QObjectat (qsizetype index) const
 
qsizetype size () const
 
void resize (qsizetype size)
 
bool includes (const QObject *value) const
 
bool includes (const QObject *value, qsizetype start) const
 
QString join (const QString &separator=QStringLiteral(",")) const
 
QObjectList slice () const
 
QObjectList slice (qsizetype start) const
 
QObjectList slice (qsizetype start, qsizetype end) const
 
qsizetype indexOf (const QObject *value) const
 
qsizetype indexOf (const QObject *value, qsizetype start) const
 
qsizetype lastIndexOf (const QObject *value) const
 
qsizetype lastIndexOf (const QObject *value, qsizetype start) const
 
QString toString () const
 

Detailed Description

Definition at line 160 of file qjslist.h.

Constructor & Destructor Documentation

◆ QJSList()

Definition at line 164 of file qjslist.h.

Member Function Documentation

◆ at()

QObject * QJSList< QQmlListProperty< QObject >, QObject * >::at ( qsizetype index) const
inline

Definition at line 166 of file qjslist.h.

References Q_ASSERT.

◆ includes() [1/2]

bool QJSList< QQmlListProperty< QObject >, QObject * >::includes ( const QObject * value) const
inline

Definition at line 191 of file qjslist.h.

References i.

◆ includes() [2/2]

bool QJSList< QQmlListProperty< QObject >, QObject * >::includes ( const QObject * value,
qsizetype start ) const
inline

Definition at line 204 of file qjslist.h.

References i.

◆ indexOf() [1/2]

qsizetype QJSList< QQmlListProperty< QObject >, QObject * >::indexOf ( const QObject * value) const
inline

Definition at line 265 of file qjslist.h.

References i.

◆ indexOf() [2/2]

qsizetype QJSList< QQmlListProperty< QObject >, QObject * >::indexOf ( const QObject * value,
qsizetype start ) const
inline

Definition at line 277 of file qjslist.h.

References i.

◆ join()

QString QJSList< QQmlListProperty< QObject >, QObject * >::join ( const QString & separator = QStringLiteral(",")) const
inline

Definition at line 218 of file qjslist.h.

References i.

◆ lastIndexOf() [1/2]

qsizetype QJSList< QQmlListProperty< QObject >, QObject * >::lastIndexOf ( const QObject * value) const
inline

Definition at line 290 of file qjslist.h.

References i.

◆ lastIndexOf() [2/2]

qsizetype QJSList< QQmlListProperty< QObject >, QObject * >::lastIndexOf ( const QObject * value,
qsizetype start ) const
inline

Definition at line 301 of file qjslist.h.

References i.

◆ resize()

void QJSList< QQmlListProperty< QObject >, QObject * >::resize ( qsizetype size)
inline

Definition at line 177 of file qjslist.h.

References append().

+ Here is the call graph for this function:

◆ size()

Definition at line 172 of file qjslist.h.

◆ slice() [1/3]

QObjectList QJSList< QQmlListProperty< QObject >, QObject * >::slice ( ) const
inline

Definition at line 233 of file qjslist.h.

References QList< T >::toList().

+ Here is the call graph for this function:

◆ slice() [2/3]

QObjectList QJSList< QQmlListProperty< QObject >, QObject * >::slice ( qsizetype start) const
inline

Definition at line 237 of file qjslist.h.

References i, and QList< T >::reserve().

+ Here is the call graph for this function:

◆ slice() [3/3]

QObjectList QJSList< QQmlListProperty< QObject >, QObject * >::slice ( qsizetype start,
qsizetype end ) const
inline

Definition at line 250 of file qjslist.h.

References i, and QList< T >::reserve().

+ Here is the call graph for this function:

◆ toString()

QString QJSList< QQmlListProperty< QObject >, QObject * >::toString ( ) const
inline

Definition at line 318 of file qjslist.h.

References QJSList< List, Value >::join().

+ Here is the call graph for this function:

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