List of all members | Properties | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions
XSqlTableModelProto Class Reference

#include <xsqltablemodelproto.h>

Inheritance diagram for XSqlTableModelProto:
QObject QScriptable

Properties

 objectName
 

Public Member Functions

 XSqlTableModelProto (QObject *parent=0)
 
Q_INVOKABLE void appendChild (XSqlTableNode *child)
 
Q_INVOKABLE XSqlTableNodeappendChild (const QString &tableName, ParameterList &relations)
 
QScriptValue argument (int index) const
 
int argumentCount () const
 
bool blockSignals (bool block)
 
Q_INVOKABLE QModelIndex buddy (const QModelIndex &index) const
 
Q_INVOKABLE bool canFetchMore (const QModelIndex &parent=QModelIndex()) const
 
QObjectchild (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
Q_INVOKABLE XSqlTableNodechild (int index)
 
Q_INVOKABLE XSqlTableNodechild (const QString &tableName)
 
const QObjectList & children () const
 
Q_INVOKABLE QList
< XSqlTableNode * > 
children ()
 
const char * className () const
 
Q_INVOKABLE void clear ()
 
Q_INVOKABLE void clearChildren ()
 
Q_INVOKABLE int columnCount (const QModelIndex &parent=QModelIndex())
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
QScriptContextcontext () const
 
Q_INVOKABLE QVariant data (const QModelIndex &item, int role=Qt::DisplayRole) const
 
Q_INVOKABLE QSqlDatabase database () const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *receiver, const char *method)
 
Q_INVOKABLE bool dropMimeData (const QMimeData *data, int action, int row, int column, const QModelIndex &parent)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
Q_INVOKABLE int editStrategy () const
 
QScriptEngineengine () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
Q_INVOKABLE void fetchMore (const QModelIndex &parent=QModelIndex())
 
Q_INVOKABLE int fieldIndex (const QString &fieldName) const
 
Q_INVOKABLE QString filter () const
 
findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
Q_INVOKABLE int flags (const QModelIndex &index) const
 
Q_INVOKABLE bool hasIndex (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
Q_INVOKABLE QVariant headerData (int section, int orientation, int role=Qt::DisplayRole) const
 
Q_INVOKABLE QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
Q_INVOKABLE bool insertColumn (int column, const QModelIndex &parent=QModelIndex())
 
Q_INVOKABLE bool insertColumns (int column, int count, const QModelIndex &parent=QModelIndex())
 
Q_INVOKABLE bool insertRecord (int row, const QSqlRecord &record)
 
Q_INVOKABLE bool insertRow (int row, const QModelIndex &parent=QModelIndex())
 
Q_INVOKABLE bool insertRows (int row, int count, const QModelIndex &parent=QModelIndex())
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
Q_INVOKABLE bool isDirty (const QModelIndex &index) const
 
bool isWidgetType () const
 
Q_INVOKABLE QMap< int, QVariantitemData (const QModelIndex &index) const
 
void killTimer (int id)
 
Q_INVOKABLE QSqlError lastError () const
 
Q_INVOKABLE void load (int row)
 
Q_INVOKABLE void loadAll ()
 
Q_INVOKABLE QModelIndexList match (const QModelIndex &start, int role, const QVariant &value, int hits=1, int flags=Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const
 
virtual const QMetaObjectmetaObject () const
 
Q_INVOKABLE QMimeDatamimeData (const QModelIndexList &indexes) const
 
Q_INVOKABLE QStringList mimeTypes () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
Q_INVOKABLE int nodeCount ()
 
QString objectName () const
 
Q_INVOKABLE ParameterList parameters ()
 
QObjectparent () const
 
Q_INVOKABLE QSqlIndex primaryKey () const
 
QVariant property (const char *name) const
 
Q_INVOKABLE QSqlQuery query () const
 
Q_INVOKABLE QSqlRecord record () const
 
Q_INVOKABLE QSqlRecord record (int row) const
 
Q_INVOKABLE QSqlRelation relation (int column) const
 
Q_INVOKABLE QSqlTableModelrelationModel (int column) const
 
void removeChild (QObject *object)
 
Q_INVOKABLE void removeChild (int index)
 
Q_INVOKABLE bool removeColumn (int column, const QModelIndex &parent=QModelIndex())
 
Q_INVOKABLE bool removeColumns (int column, int count, const QModelIndex &parent=QModelIndex())
 
void removeEventFilter (QObject *obj)
 
Q_INVOKABLE bool removeRows (int row, int count, const QModelIndex &parent=QModelIndex())
 
Q_INVOKABLE void revertRow (int row)
 
Q_INVOKABLE int rowCount (const QModelIndex &parent=QModelIndex()) const
 
Q_INVOKABLE bool save ()
 
Q_INVOKABLE bool select ()
 
Q_INVOKABLE void set (ParameterList params)
 
Q_INVOKABLE bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 
Q_INVOKABLE void setEditStrategy (int strategy)
 
Q_INVOKABLE void setFilter (const QString &filter)
 
Q_INVOKABLE bool setHeaderData (int section, int orientation, const QVariant &value, int role=Qt::EditRole)
 
Q_INVOKABLE bool setItemData (const QModelIndex &index, const QMap< int, QVariant > &roles)
 
Q_INVOKABLE void setKeys (int keyColumns)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
Q_INVOKABLE bool setRecord (int row, const QSqlRecord &record)
 
Q_INVOKABLE void setRelation (int column, const QSqlRelation &relation)
 
Q_INVOKABLE void setSort (int column, int order)
 
Q_INVOKABLE void setSupportedDragActions (int actions)
 
Q_INVOKABLE void setTable (const QString &tableName, int keyColumns)
 
Q_INVOKABLE QModelIndex sibling (int row, int column, const QModelIndex &index) const
 
bool signalsBlocked () const
 
Q_INVOKABLE void sort (int column, int order=Qt::AscendingOrder)
 
Q_INVOKABLE QSize span (const QModelIndex &index) const
 
int startTimer (int interval)
 
Q_INVOKABLE int supportedDragActions () const
 
Q_INVOKABLE int supportedDropActions () const
 
Q_INVOKABLE QString tableName () const
 
QScriptValue thisObject () const
 
QThreadthread () const
 
Q_INVOKABLE QString toString () const
 

Static Public Member Functions

bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Protected Member Functions

bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObjectsender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Static Protected Member Functions

QByteArray normalizeSignalSlot (const char *signalSlot)
 

Constructor & Destructor Documentation

XSqlTableModelProto::XSqlTableModelProto ( QObject parent = 0)

Member Function Documentation

void XSqlTableModelProto::appendChild ( XSqlTableNode child)
XSqlTableNode * XSqlTableModelProto::appendChild ( const QString tableName,
ParameterList &  relations 
)
QModelIndex XSqlTableModelProto::buddy ( const QModelIndex index) const
bool XSqlTableModelProto::canFetchMore ( const QModelIndex parent = QModelIndex()) const
XSqlTableNode * XSqlTableModelProto::child ( int  index)
XSqlTableNode * XSqlTableModelProto::child ( const QString tableName)
QList< XSqlTableNode * > XSqlTableModelProto::children ( )
void XSqlTableModelProto::clear ( )
void XSqlTableModelProto::clearChildren ( )
int XSqlTableModelProto::columnCount ( const QModelIndex parent = QModelIndex())
QVariant XSqlTableModelProto::data ( const QModelIndex item,
int  role = Qt::DisplayRole 
) const
QSqlDatabase XSqlTableModelProto::database ( ) const
bool XSqlTableModelProto::dropMimeData ( const QMimeData data,
int  action,
int  row,
int  column,
const QModelIndex parent 
)
int XSqlTableModelProto::editStrategy ( ) const
void XSqlTableModelProto::fetchMore ( const QModelIndex parent = QModelIndex())
int XSqlTableModelProto::fieldIndex ( const QString fieldName) const
QString XSqlTableModelProto::filter ( ) const
int XSqlTableModelProto::flags ( const QModelIndex index) const
bool XSqlTableModelProto::hasIndex ( int  row,
int  column,
const QModelIndex parent = QModelIndex() 
) const
QVariant XSqlTableModelProto::headerData ( int  section,
int  orientation,
int  role = Qt::DisplayRole 
) const
QModelIndex XSqlTableModelProto::index ( int  row,
int  column,
const QModelIndex parent = QModelIndex() 
) const
bool XSqlTableModelProto::insertColumn ( int  column,
const QModelIndex parent = QModelIndex() 
)
bool XSqlTableModelProto::insertColumns ( int  column,
int  count,
const QModelIndex parent = QModelIndex() 
)
bool XSqlTableModelProto::insertRecord ( int  row,
const QSqlRecord record 
)
bool XSqlTableModelProto::insertRow ( int  row,
const QModelIndex parent = QModelIndex() 
)
bool XSqlTableModelProto::insertRows ( int  row,
int  count,
const QModelIndex parent = QModelIndex() 
)
bool XSqlTableModelProto::isDirty ( const QModelIndex index) const
QMap< int, QVariant > XSqlTableModelProto::itemData ( const QModelIndex index) const
QSqlError XSqlTableModelProto::lastError ( ) const
void XSqlTableModelProto::load ( int  row)
void XSqlTableModelProto::loadAll ( )
QModelIndexList XSqlTableModelProto::match ( const QModelIndex start,
int  role,
const QVariant value,
int  hits = 1,
int  flags = Qt::MatchFlags(Qt::MatchStartsWith | Qt::MatchWrap) 
) const
QMimeData * XSqlTableModelProto::mimeData ( const QModelIndexList &  indexes) const
QStringList XSqlTableModelProto::mimeTypes ( ) const
int XSqlTableModelProto::nodeCount ( )
ParameterList XSqlTableModelProto::parameters ( )
QSqlIndex XSqlTableModelProto::primaryKey ( ) const
QSqlQuery XSqlTableModelProto::query ( ) const
QSqlRecord XSqlTableModelProto::record ( ) const
QSqlRecord XSqlTableModelProto::record ( int  row) const
QSqlRelation XSqlTableModelProto::relation ( int  column) const
QSqlTableModel * XSqlTableModelProto::relationModel ( int  column) const
void XSqlTableModelProto::removeChild ( int  index)
bool XSqlTableModelProto::removeColumn ( int  column,
const QModelIndex parent = QModelIndex() 
)
bool XSqlTableModelProto::removeColumns ( int  column,
int  count,
const QModelIndex parent = QModelIndex() 
)
bool XSqlTableModelProto::removeRows ( int  row,
int  count,
const QModelIndex parent = QModelIndex() 
)
void XSqlTableModelProto::revertRow ( int  row)
int XSqlTableModelProto::rowCount ( const QModelIndex parent = QModelIndex()) const
bool XSqlTableModelProto::save ( )
bool XSqlTableModelProto::select ( )
void XSqlTableModelProto::set ( ParameterList  params)
bool XSqlTableModelProto::setData ( const QModelIndex index,
const QVariant value,
int  role = Qt::EditRole 
)
void XSqlTableModelProto::setEditStrategy ( int  strategy)
void XSqlTableModelProto::setFilter ( const QString filter)
bool XSqlTableModelProto::setHeaderData ( int  section,
int  orientation,
const QVariant value,
int  role = Qt::EditRole 
)
bool XSqlTableModelProto::setItemData ( const QModelIndex index,
const QMap< int, QVariant > &  roles 
)
void XSqlTableModelProto::setKeys ( int  keyColumns)
bool XSqlTableModelProto::setRecord ( int  row,
const QSqlRecord record 
)
void XSqlTableModelProto::setRelation ( int  column,
const QSqlRelation relation 
)
void XSqlTableModelProto::setSort ( int  column,
int  order 
)
void XSqlTableModelProto::setSupportedDragActions ( int  actions)
void XSqlTableModelProto::setTable ( const QString tableName,
int  keyColumns 
)
QModelIndex XSqlTableModelProto::sibling ( int  row,
int  column,
const QModelIndex index 
) const
void XSqlTableModelProto::sort ( int  column,
int  order = Qt::AscendingOrder 
)
QSize XSqlTableModelProto::span ( const QModelIndex index) const
int XSqlTableModelProto::supportedDragActions ( ) const
int XSqlTableModelProto::supportedDropActions ( ) const
QString XSqlTableModelProto::tableName ( ) const
QString XSqlTableModelProto::toString ( ) const

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

Generated on Mon Dec 1 2014 xTuple ERP Programmer Reference, Version 4.8.0 doxygen 1.8.7