Public Member Functions
XSqlTableNode Class Reference

#include <xsqltablemodel.h>

List of all members.

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 
)

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)

Reimplemented from QObject.

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 
)
XSqlTableNode* XSqlTableNode::parent ( ) const [inline]

Reimplemented from QObject.

ParameterList XSqlTableNode::relations ( ) const [inline]
void XSqlTableNode::removeChild ( int  index) [inline]
QString XSqlTableNode::tableName ( ) const [inline]

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

Generated on Mon Jan 23 2012 12:22:41 xTuple ERP Programmer Reference, Version 3.8.0 doxygen 1.7.6.1