NAME
Qt::Sql::QSqlTableModel
PUBLIC METHODS
- QSqlTableModel(, )
- QSqlTableModel(, = QSqlDatabase())
- QSqlTableModel( = 0, = QSqlDatabase())
- ~QSqlTableModel()
- void clear()
- QVariant data(, )
- QVariant data(, = Qt::DisplayRole)
- QSqlDatabase database()
- QSqlTableModel::EditStrategy editStrategy()
- int fieldIndex()
- QString filter()
- QFlags<Qt::ItemFlag> flags()
- QVariant headerData(, , )
- QVariant headerData(, , = Qt::DisplayRole)
- bool insertRecord(, )
- bool insertRows(, , )
- bool insertRows(, , = QModelIndex())
- bool isDirty()
- QSqlIndex primaryKey()
- bool removeColumns(, , )
- bool removeColumns(, , = QModelIndex())
- bool removeRows(, , )
- bool removeRows(, , = QModelIndex())
- void revert()
- void revertAll()
- void revertRow()
- int rowCount()
- int rowCount( = QModelIndex())
- bool select()
- bool setData(, , )
- bool setData(, , = Qt::EditRole)
- void setEditStrategy()
- void setFilter()
- bool setRecord(, )
- void setSort(, )
- void setTable()
- void sort(, )
- bool submit()
- bool submitAll()
- QString tableName()
ENUM VALUES
- OnFieldChange
- OnRowChange
- OnManualSubmit
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.