#include <xsqltablemodelproto.h>
Public Member Functions | |
XSqlTableModelProto (QObject *parent=0) | |
Q_INVOKABLE QModelIndex | buddy (const QModelIndex &index) const |
Q_INVOKABLE bool | canFetchMore (const QModelIndex &parent=QModelIndex()) const |
Q_INVOKABLE void | clear () |
Q_INVOKABLE int | columnCount (const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE QVariant | data (const QModelIndex &item, int role=Qt::DisplayRole) const |
Q_INVOKABLE QSqlDatabase | database () const |
Q_INVOKABLE bool | dropMimeData (const QMimeData *data, int action, int row, int column, const QModelIndex &parent) |
Q_INVOKABLE int | editStrategy () const |
Q_INVOKABLE void | fetchMore (const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE int | fieldIndex (const QString &fieldName) const |
Q_INVOKABLE QString | filter () 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 |
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()) |
Q_INVOKABLE bool | isDirty (const QModelIndex &index) const |
Q_INVOKABLE QMap< int, QVariant > | itemData (const QModelIndex &index) const |
Q_INVOKABLE QSqlError | lastError () const |
Q_INVOKABLE QModelIndexList | match (const QModelIndex &start, int role, const QVariant &value, int hits=1, int flags=Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const |
Q_INVOKABLE QMimeData * | mimeData (const QModelIndexList &indexes) const |
Q_INVOKABLE QStringList | mimeTypes () const |
Q_INVOKABLE QSqlIndex | primaryKey () const |
Q_INVOKABLE QSqlQuery | query () const |
Q_INVOKABLE QSqlRecord | record (int row) const |
Q_INVOKABLE QSqlRecord | record () const |
Q_INVOKABLE QSqlRelation | relation (int column) const |
Q_INVOKABLE QSqlTableModel * | relationModel (int column) const |
Q_INVOKABLE bool | removeColumn (int column, const QModelIndex &parent=QModelIndex()) |
Q_INVOKABLE bool | removeColumns (int column, int count, const QModelIndex &parent=QModelIndex()) |
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 | select () |
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) |
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 |
Q_INVOKABLE void | sort (int column, int order=Qt::AscendingOrder) |
Q_INVOKABLE QSize | span (const QModelIndex &index) const |
Q_INVOKABLE int | supportedDragActions () const |
Q_INVOKABLE int | supportedDropActions () const |
Q_INVOKABLE QString | tableName () const |
Q_INVOKABLE QString | toString () const |
XSqlTableModelProto::XSqlTableModelProto | ( | QObject * | parent = 0 |
) |
QModelIndex XSqlTableModelProto::buddy | ( | const QModelIndex & | index | ) | const |
bool XSqlTableModelProto::canFetchMore | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
void XSqlTableModelProto::clear | ( | ) |
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 |
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 |
QSqlIndex XSqlTableModelProto::primaryKey | ( | ) | const |
QSqlQuery XSqlTableModelProto::query | ( | ) | const |
QSqlRecord XSqlTableModelProto::record | ( | int | row | ) | const |
QSqlRecord XSqlTableModelProto::record | ( | ) | const |
QSqlRelation XSqlTableModelProto::relation | ( | int | column | ) | const |
QSqlTableModel * XSqlTableModelProto::relationModel | ( | int | column | ) | const |
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::select | ( | ) |
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 |
Generated on Tue Apr 20 12:03:57 2010 | xTuple ERP Programmer Reference, Version 3.5.0 | 1.6.1 |