#include <xsqltablemodel.h>
Public Member Functions | |
XSqlTableNode (const QString tableName, ParameterList relations, XSqlTableNode *parent=0) | |
~XSqlTableNode () | |
void | appendChild (XSqlTableNode *child) |
XSqlTableNode * | appendChild (const QString &tableName, ParameterList &relations) |
XSqlTableNode * | child (int index) |
XSqlTableNode * | child (const QString &tableName) |
QList< XSqlTableNode * > | children () const |
void | clear () |
int | count () const |
int | index () const |
void | load (QPair< XSqlTableModel *, int > key) |
XSqlTableModel * | model (XSqlTableModel *parent=0, int row=0) |
QMap< QPair< XSqlTableModel *, int >, XSqlTableModel * > | modelMap () |
XSqlTableNode * | parent () const |
ParameterList | relations () const |
void | removeChild (int index) |
bool | save () |
QString | tableName () const |
XSqlTableNode::XSqlTableNode | ( | const QString | tableName, |
ParameterList | relations, | ||
XSqlTableNode * | parent = 0 |
||
) |
XSqlTableNode::~XSqlTableNode | ( | ) |
|
inline |
XSqlTableNode * XSqlTableNode::appendChild | ( | const QString & | tableName, |
ParameterList & | relations | ||
) |
|
inline |
XSqlTableNode * XSqlTableNode::child | ( | const QString & | tableName | ) |
|
inline |
void XSqlTableNode::clear | ( | ) |
Clears the model map of the current node and recursively clears all child nodes
|
inline |
int XSqlTableNode::index | ( | ) | const |
void XSqlTableNode::load | ( | QPair< XSqlTableModel *, int > | key | ) |
XSqlTableModel * XSqlTableNode::model | ( | XSqlTableModel * | parent = 0 , |
int | row = 0 |
||
) |
|
inline |
|
inline |
|
inline |
|
inline |
bool XSqlTableNode::save | ( | ) |
|
inline |
Generated on Fri Oct 7 2016 14:23:35 | xTuple ERP Programmer Reference, Version 4.2.0 | 1.8.10 |