List of all members | Public Member Functions
XSqlTableNode Class Reference

#include <xsqltablemodel.h>

Public Member Functions

 XSqlTableNode (const QString tableName, ParameterList relations, XSqlTableNode *parent=0)
 
 ~XSqlTableNode ()
 
void appendChild (XSqlTableNode *child)
 
XSqlTableNodeappendChild (const QString &tableName, ParameterList &relations)
 
XSqlTableNodechild (int index)
 
XSqlTableNodechild (const QString &tableName)
 
QList< XSqlTableNode * > children () const
 
void clear ()
 
int count () const
 
int index () const
 
void load (QPair< XSqlTableModel *, int > key)
 
XSqlTableModelmodel (XSqlTableModel *parent=0, int row=0)
 
QMap< QPair< XSqlTableModel *, int >, XSqlTableModel * > modelMap ()
 
XSqlTableNodeparent () const
 
ParameterList relations () const
 
void removeChild (int index)
 
bool save ()
 
QString tableName () const
 

Constructor & Destructor Documentation

XSqlTableNode::XSqlTableNode ( const QString  tableName,
ParameterList  relations,
XSqlTableNode parent = 0 
)
XSqlTableNode::~XSqlTableNode ( )

Member Function Documentation

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
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
ParameterList XSqlTableNode::relations ( ) const
inline
void XSqlTableNode::removeChild ( int  index)
inline
bool XSqlTableNode::save ( )
QString XSqlTableNode::tableName ( ) const
inline

The documentation for this class was generated from the following files:

Generated on Fri Oct 7 2016 15:38:04 xTuple ERP Programmer Reference, Version 4.5.0 doxygen 1.8.10