Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
Public Member Functions | |
void | PrimeInsert (int row, QSqlRecord record) |
| |
void | BeforeInsert (QSqlRecord record) |
| |
void | BeforeUpdate (int row, QSqlRecord record) |
| |
void | BeforeDelete (int row) |
| |
void QtSql.IQSqlTableModelSignals.BeforeDelete | ( | int | row | ) |
This signal is emitted by deleteRowFromTable() before the row is deleted from the currently active database table.
void QtSql.IQSqlTableModelSignals.BeforeInsert | ( | QSqlRecord | record | ) |
This signal is emitted by insertRowIntoTable() before a new row is inserted into the currently active database table. The values that are about to be inserted are stored in record and can be modified before they will be inserted.
void QtSql.IQSqlTableModelSignals.BeforeUpdate | ( | int | row, |
QSqlRecord | record | ||
) |
This signal is emitted by updateRowInTable() before the row is updated in the currently active database table with the values from record.
Note that only values that are marked as generated will be updated. The generated flag can be set with QSqlRecord::setGenerated() and checked with QSqlRecord::isGenerated().
See also QSqlRecord::isGenerated().
void QtSql.IQSqlTableModelSignals.PrimeInsert | ( | int | row, |
QSqlRecord | record | ||
) |
This signal is emitted by insertRows(), when an insertion is initiated in the given row of the currently active database table. The record parameter can be written to (since it is a reference), for example to populate some fields with default values.