#include <sqlmodels.h>
Public Member Functions | |
| SqlTableModel (QObject *parent=0, QSqlDatabase db=QSqlDatabase()) | |
| ~SqlTableModel () | |
| void | setSchema (const QString &schema) |
| QString | schema () |
| bool | pendingTransaction () |
| void | setPendingTransaction (bool pending) |
| Set the pending flag. | |
| bool | insertRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| SqlTableModel::SqlTableModel | ( | QObject * | parent = 0, |
|
| QSqlDatabase | db = QSqlDatabase() | |||
| ) |
| SqlTableModel::~SqlTableModel | ( | ) | [inline] |
| void SqlTableModel::setSchema | ( | const QString & | schema | ) | [inline] |
| QString SqlTableModel::schema | ( | ) | [inline] |
| bool SqlTableModel::pendingTransaction | ( | ) | [inline] |
Referenced by DataViewer::setTableModel().
| void SqlTableModel::setPendingTransaction | ( | bool | pending | ) |
Set the pending flag.
m_deleteCache.
| pending | true in the case of active transaction in progress. |
| bool SqlTableModel::insertRows | ( | int | row, | |
| int | count, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) |
| bool SqlTableModel::removeRows | ( | int | row, | |
| int | count, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) |
1.5.5