Qt Reference Documentation

# Qt 3 Support Members for QSql

The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.

- QSql class reference

## Types

enum | Confirm { Yes, No, Cancel }
enum | Op { None, Insert, Update, Delete }

## Type Documentation

### enum QSql::Confirm

This enum type describes edit confirmations.

Constant | Value
--- | ---
`QSql::Yes` | `1`
`QSql::No` | `0`
`QSql::Cancel` | `-1`

### enum QSql::Op

This enum type describes edit operations.

Constant | Value
--- | ---
`QSql::None` | `-1`
`QSql::Insert` | `0`
`QSql::Update` | `1`
`QSql::Delete` | `2`