![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmltreerow_p.h>
Public Member Functions | |
QQmlTreeRow (QQmlTreeRow *parentItem=nullptr) | |
QQmlTreeRow (const QVariant &data, QQmlTreeRow *parentItem=nullptr) | |
QQmlTreeRow (const QVariantMap &data, QQmlTreeRow *parentItem=nullptr) | |
QQmlTreeRow * | parent () const |
void | setParent (QQmlTreeRow *parent) |
const QQmlTreeRow * | getRow (int i) const |
void | addChild (QQmlTreeRow *child) |
size_t | rowCount () const |
int | subTreeSize () const |
QVariantMap | data () const |
QVariant | data (const QString &key) const |
const std::vector< std::unique_ptr< QQmlTreeRow > > & | children () const |
void | removeChild (std::vector< std::unique_ptr< QQmlTreeRow > >::const_iterator &child) |
void | removeChildAt (int i) |
void | setData (const QVariant &data) |
void | setData (const QVariantMap &data) |
void | setField (const QString &key, const QVariant &value) |
QVariant | toVariant () const |
Definition at line 30 of file qqmltreerow_p.h.
|
explicit |
Definition at line 14 of file qqmltreerow.cpp.
|
explicit |
Definition at line 20 of file qqmltreerow.cpp.
|
explicit |
Definition at line 27 of file qqmltreerow.cpp.
void QQmlTreeRow::addChild | ( | QQmlTreeRow * | child | ) |
Definition at line 34 of file qqmltreerow.cpp.
|
inline |
Definition at line 47 of file qqmltreerow_p.h.
|
inline |
Definition at line 45 of file qqmltreerow_p.h.
Definition at line 46 of file qqmltreerow_p.h.
|
inline |
Definition at line 40 of file qqmltreerow_p.h.
|
inline |
Definition at line 37 of file qqmltreerow_p.h.
void QQmlTreeRow::removeChild | ( | std::vector< std::unique_ptr< QQmlTreeRow > >::const_iterator & | child | ) |
Definition at line 56 of file qqmltreerow.cpp.
void QQmlTreeRow::removeChildAt | ( | int | i | ) |
Definition at line 61 of file qqmltreerow.cpp.
|
inline |
Definition at line 42 of file qqmltreerow_p.h.
Definition at line 66 of file qqmltreerow.cpp.
void QQmlTreeRow::setData | ( | const QVariantMap & | data | ) |
Definition at line 73 of file qqmltreerow.cpp.
Definition at line 79 of file qqmltreerow.cpp.
|
inline |
Definition at line 38 of file qqmltreerow_p.h.
int QQmlTreeRow::subTreeSize | ( | ) | const |
Definition at line 100 of file qqmltreerow.cpp.
QVariant QQmlTreeRow::toVariant | ( | ) | const |
Definition at line 85 of file qqmltreerow.cpp.