#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 |
||
) |
void XSqlTableNode::appendChild | ( | XSqlTableNode * | child | ) | [inline] |
XSqlTableNode * XSqlTableNode::appendChild | ( | const QString & | tableName, |
ParameterList & | relations | ||
) |
XSqlTableNode* XSqlTableNode::child | ( | int | index | ) | [inline] |
XSqlTableNode * XSqlTableNode::child | ( | const QString & | tableName | ) |
QList<XSqlTableNode *> XSqlTableNode::children | ( | ) | const [inline] |
Reimplemented from QObject.
void XSqlTableNode::clear | ( | ) |
Clears the model map of the current node and recursively clears all child nodes
int XSqlTableNode::count | ( | ) | const [inline] |
int XSqlTableNode::index | ( | ) | const |
void XSqlTableNode::load | ( | QPair< XSqlTableModel *, int > | key | ) |
XSqlTableModel * XSqlTableNode::model | ( | XSqlTableModel * | parent = 0 , |
int | row = 0 |
||
) |
QMap<QPair<XSqlTableModel*, int>, XSqlTableModel* > XSqlTableNode::modelMap | ( | ) | [inline] |
XSqlTableNode* XSqlTableNode::parent | ( | ) | const [inline] |
Reimplemented from QObject.
ParameterList XSqlTableNode::relations | ( | ) | const [inline] |
void XSqlTableNode::removeChild | ( | int | index | ) | [inline] |
bool XSqlTableNode::save | ( | ) |
QString XSqlTableNode::tableName | ( | ) | const [inline] |
Generated on Mon Jan 23 2012 12:22:41 | xTuple ERP Programmer Reference, Version 3.8.0 | 1.7.6.1 |