Qt 4.8
|
#include <qdeclarativelistmodel_p_p.h>
Public Functions | |
void | changedProperty (const QString &name) const |
void | clear () |
QDeclarativeListModel * | model (const NestedListModel *model) |
ModelNode (NestedListModel *model) | |
ModelObject * | object (const NestedListModel *model) |
void | setListValue (const QScriptValue &valuelist) |
bool | setObjectValue (const QScriptValue &valuemap, bool writeToCache=true) |
bool | setProperty (const QString &prop, const QVariant &val) |
void | updateListIndexes () |
~ModelNode () | |
Static Public Functions | |
static void | dump (ModelNode *node, int ind) |
Public Variables | |
bool | isArray |
int | listIndex |
NestedListModel * | m_model |
QDeclarativeListModel * | modelCache |
ModelObject * | objectCache |
QHash< QString, ModelNode * > | properties |
QList< QVariant > | values |
Definition at line 245 of file qdeclarativelistmodel_p_p.h.
ModelNode::ModelNode | ( | NestedListModel * | model | ) |
Definition at line 1474 of file qdeclarativelistmodel.cpp.
Referenced by setListValue(), setObjectValue(), and setProperty().
ModelNode::~ModelNode | ( | ) |
Definition at line 1479 of file qdeclarativelistmodel.cpp.
void ModelNode::changedProperty | ( | const QString & | name | ) | const |
Definition at line 1588 of file qdeclarativelistmodel.cpp.
Referenced by ModelNodeMetaObject::propertyWritten().
void ModelNode::clear | ( | ) |
Definition at line 1486 of file qdeclarativelistmodel.cpp.
Referenced by NestedListModel::clear(), and ~ModelNode().
|
static |
Definition at line 1603 of file qdeclarativelistmodel.cpp.
QDeclarativeListModel * ModelNode::model | ( | const NestedListModel * | model | ) |
Definition at line 360 of file qdeclarativelistmodel.cpp.
Referenced by setObjectValue(), and NestedListModel::valueForNode().
ModelObject * ModelNode::object | ( | const NestedListModel * | model | ) |
Definition at line 376 of file qdeclarativelistmodel.cpp.
Referenced by NestedListModel::get(), and NestedListModel::valueForNode().
void ModelNode::setListValue | ( | const QScriptValue & | valuelist | ) |
Definition at line 1532 of file qdeclarativelistmodel.cpp.
Referenced by setListValue(), and setObjectValue().
bool ModelNode::setObjectValue | ( | const QScriptValue & | valuemap, |
bool | writeToCache = true |
||
) |
Definition at line 1499 of file qdeclarativelistmodel.cpp.
Referenced by NestedListModel::insert(), ModelNodeMetaObject::propertyWritten(), NestedListModel::set(), and setListValue().
Definition at line 1552 of file qdeclarativelistmodel.cpp.
Referenced by NestedListModel::setProperty().
void ModelNode::updateListIndexes | ( | ) |
Definition at line 1569 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModelParser::setCustomData(), and updateListIndexes().
bool ModelNode::isArray |
Definition at line 267 of file qdeclarativelistmodel_p_p.h.
Referenced by QDeclarativeListModelParser::setCustomData(), setListValue(), setObjectValue(), updateListIndexes(), and NestedListModel::valueForNode().
int ModelNode::listIndex |
Definition at line 270 of file qdeclarativelistmodel_p_p.h.
Referenced by changedProperty(), NestedListModel::insert(), QDeclarativeListModelParser::setCustomData(), setListValue(), and updateListIndexes().
NestedListModel* ModelNode::m_model |
Definition at line 269 of file qdeclarativelistmodel_p_p.h.
Referenced by changedProperty(), model(), setListValue(), setObjectValue(), and setProperty().
QDeclarativeListModel* ModelNode::modelCache |
Definition at line 265 of file qdeclarativelistmodel_p_p.h.
Referenced by ~ModelNode().
ModelObject* ModelNode::objectCache |
Definition at line 266 of file qdeclarativelistmodel_p_p.h.
Referenced by setObjectValue(), setProperty(), and ~ModelNode().
Definition at line 251 of file qdeclarativelistmodel_p_p.h.
Referenced by NestedListModel::checkRoles(), clear(), NestedListModel::data(), dump(), QDeclarativeListModelParser::setCustomData(), setObjectValue(), setProperty(), updateListIndexes(), and NestedListModel::valueForNode().
Definition at line 250 of file qdeclarativelistmodel_p_p.h.
Referenced by NestedListModel::checkRoles(), clear(), NestedListModel::count(), NestedListModel::data(), dump(), NestedListModel::get(), NestedListModel::insert(), NestedListModel::move(), NestedListModel::remove(), NestedListModel::set(), QDeclarativeListModelParser::setCustomData(), setListValue(), setObjectValue(), NestedListModel::setProperty(), setProperty(), updateListIndexes(), and NestedListModel::valueForNode().