List of all members | Public Member Functions
XSqlTableNode Class Reference

#include <xsqltablemodel.h>

Inheritance diagram for XSqlTableNode:
QObject

Public Member Functions

 XSqlTableNode (const QString tableName, ParameterList relations, XSqlTableNode *parent=0)
 
 ~XSqlTableNode ()
 
XSqlTableNodeappendChild (const QString &tableName, ParameterList &relations)
 
void appendChild (XSqlTableNode *child)
 
XSqlTableNodechild (const QString &tableName)
 
XSqlTableNodechild (int index)
 
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::XSqlTableNode ( const QString  tableName,
ParameterList  relations,
XSqlTableNode parent = 0 
)

◆ ~XSqlTableNode()

XSqlTableNode::~XSqlTableNode ( )

Member Function Documentation

◆ appendChild() [1/2]

XSqlTableNode * XSqlTableNode::appendChild ( const QString &  tableName,
ParameterList &  relations 
)

◆ appendChild() [2/2]

void XSqlTableNode::appendChild ( XSqlTableNode child)
inline

◆ child() [1/2]

XSqlTableNode * XSqlTableNode::child ( const QString &  tableName)

◆ child() [2/2]

XSqlTableNode* XSqlTableNode::child ( int  index)
inline

◆ children()

QList<XSqlTableNode *> XSqlTableNode::children ( ) const
inline

◆ clear()

void XSqlTableNode::clear ( )

Clears the model map of the current node and recursively clears all child nodes

◆ count()

int XSqlTableNode::count ( ) const
inline

◆ index()

int XSqlTableNode::index ( ) const

◆ load()

void XSqlTableNode::load ( QPair< XSqlTableModel *, int >  key)

◆ model()

XSqlTableModel * XSqlTableNode::model ( XSqlTableModel parent = 0,
int  row = 0 
)

◆ modelMap()

QMap<QPair<XSqlTableModel*, int>, XSqlTableModel* > XSqlTableNode::modelMap ( )
inline

◆ parent()

XSqlTableNode* XSqlTableNode::parent ( ) const
inline

◆ relations()

ParameterList XSqlTableNode::relations ( ) const
inline

◆ removeChild()

void XSqlTableNode::removeChild ( int  index)
inline

◆ save()

bool XSqlTableNode::save ( )

◆ tableName()

QString XSqlTableNode::tableName ( ) const
inline

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

Generated on Mon May 3 2021 xTuple ERP Programmer Reference, Version 4.12.0 doxygen 1.8.17