Qt 4.8
|
#include <qdeclarativelistmodel_p_p.h>
Public Functions | |
void | clear () |
int | count () const |
QVariant | data (int index, int role) const |
FlatListModel (QDeclarativeListModel *base) | |
QScriptValue | get (int index) const |
bool | insert (int index, const QScriptValue &) |
void | move (int from, int to, int count) |
void | remove (int index) |
QList< int > | roles () const |
void | set (int index, const QScriptValue &, QList< int > *roles) |
void | setProperty (int index, const QString &property, const QVariant &value, QList< int > *roles) |
QString | toString (int role) const |
~FlatListModel () | |
Private Functions | |
bool | addValue (const QScriptValue &value, QHash< int, QVariant > *row, QList< int > *roles) |
void | insertedNode (int index) |
void | moveNodes (int from, int to, int n) |
void | removedNode (int index) |
Properties | |
QDeclarativeListModel * | m_listModel |
QList< FlatNodeData * > | m_nodeData |
QDeclarativeListModelWorkerAgent * | m_parentAgent |
QHash< int, QString > | m_roles |
FlatListScriptClass * | m_scriptClass |
QScriptEngine * | m_scriptEngine |
QHash< QString, int > | m_strings |
QList< QHash< int, QVariant > > | m_values |
Friends | |
class | FlatListScriptClass |
class | FlatNodeData |
class | QDeclarativeListModel |
class | QDeclarativeListModelWorkerAgent |
Definition at line 76 of file qdeclarativelistmodel_p_p.h.
FlatListModel::FlatListModel | ( | QDeclarativeListModel * | base | ) |
Definition at line 954 of file qdeclarativelistmodel.cpp.
FlatListModel::~FlatListModel | ( | ) |
Definition at line 959 of file qdeclarativelistmodel.cpp.
|
private |
Definition at line 1075 of file qdeclarativelistmodel.cpp.
Referenced by insert(), and set().
void FlatListModel::clear | ( | ) |
Definition at line 989 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModel::clear().
int FlatListModel::count | ( | ) | const |
Definition at line 984 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModel::data().
QVariant FlatListModel::data | ( | int | index, |
int | role | ||
) | const |
Definition at line 964 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModel::data(), FlatNodeData::FlatNodeData(), get(), and FlatNodeData::~FlatNodeData().
QScriptValue FlatListModel::get | ( | int | index | ) | const |
Definition at line 1017 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModel::get().
bool FlatListModel::insert | ( | int | index, |
const QScriptValue & | value | ||
) |
Definition at line 1003 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModel::insert().
|
private |
Definition at line 1106 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModelWorkerAgent::event(), and insert().
void FlatListModel::move | ( | int | from, |
int | to, | ||
int | count | ||
) |
Definition at line 1069 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModel::move().
|
private |
Definition at line 1130 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModelWorkerAgent::event(), and move().
void FlatListModel::remove | ( | int | index | ) |
Definition at line 997 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModel::remove().
|
private |
Definition at line 1118 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModelWorkerAgent::event(), and remove().
QList< int > FlatListModel::roles | ( | ) | const |
Definition at line 972 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModel::roles().
void FlatListModel::set | ( | int | index, |
const QScriptValue & | value, | ||
QList< int > * | roles | ||
) |
Definition at line 1040 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModel::set().
void FlatListModel::setProperty | ( | int | index, |
const QString & | property, | ||
const QVariant & | value, | ||
QList< int > * | roles | ||
) |
Definition at line 1049 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModel::setProperty().
QString FlatListModel::toString | ( | int | role | ) | const |
Definition at line 977 of file qdeclarativelistmodel.cpp.
Referenced by QDeclarativeListModel::toString().
|
friend |
Definition at line 99 of file qdeclarativelistmodel_p_p.h.
Referenced by get().
|
friend |
Definition at line 100 of file qdeclarativelistmodel_p_p.h.
Referenced by get().
|
friend |
Definition at line 98 of file qdeclarativelistmodel_p_p.h.
|
friend |
Definition at line 97 of file qdeclarativelistmodel_p_p.h.
|
private |
Definition at line 111 of file qdeclarativelistmodel_p_p.h.
Referenced by addValue(), get(), moveNodes(), and FlatListScriptClass::setProperty().
|
private |
Definition at line 114 of file qdeclarativelistmodel_p_p.h.
Referenced by clear(), QDeclarativeListModel::flatten(), get(), insertedNode(), moveNodes(), QDeclarativeListModel::QDeclarativeListModel(), removedNode(), and ~FlatListModel().
|
private |
Definition at line 115 of file qdeclarativelistmodel_p_p.h.
Referenced by QDeclarativeListModel::inWorkerThread(), QDeclarativeListModel::QDeclarativeListModel(), and FlatListScriptClass::setProperty().
Definition at line 108 of file qdeclarativelistmodel_p_p.h.
Referenced by addValue(), QDeclarativeListModelWorkerAgent::event(), QDeclarativeListModel::flatten(), QDeclarativeListModel::QDeclarativeListModel(), roles(), setProperty(), and toString().
|
private |
Definition at line 113 of file qdeclarativelistmodel_p_p.h.
Referenced by get().
|
private |
Definition at line 107 of file qdeclarativelistmodel_p_p.h.
Referenced by get(), and QDeclarativeListModelWorkerAgent::setScriptEngine().
Definition at line 109 of file qdeclarativelistmodel_p_p.h.
Referenced by addValue(), QDeclarativeListModelWorkerAgent::event(), QDeclarativeListModel::flatten(), FlatListScriptClass::property(), QDeclarativeListModel::QDeclarativeListModel(), setProperty(), and FlatListScriptClass::setProperty().
Definition at line 110 of file qdeclarativelistmodel_p_p.h.
Referenced by clear(), count(), data(), QDeclarativeListModelWorkerAgent::event(), QDeclarativeListModel::flatten(), get(), insert(), insertedNode(), move(), FlatListScriptClass::property(), QDeclarativeListModel::QDeclarativeListModel(), remove(), set(), setProperty(), and FlatListScriptClass::setProperty().