|
Eneboo - Documentación para desarrolladores
|
Métodos públicos | |
| QNullDriver () | |
| ~QNullDriver () | |
| bool | hasFeature (DriverFeature) const |
| bool | open (const QString &, const QString &, const QString &, const QString &, int) |
| void | close () |
| QSqlQuery | createQuery () const |
| QNullDriver::QNullDriver | ( | ) | [inline] |
| QNullDriver::~QNullDriver | ( | ) | [inline] |
| void QNullDriver::close | ( | void | ) | [inline, virtual] |
Derived classes must reimplement this abstract virtual function in order to close the database connection. Return TRUE on success, FALSE on failure.
Implementa QSqlDriver.
| QSqlQuery QNullDriver::createQuery | ( | ) | const [inline, virtual] |
Creates an empty SQL result on the database. Derived classes must reimplement this function and return a QSqlQuery object appropriate for their database to the caller.
Implementa QSqlDriver.
| bool QNullDriver::hasFeature | ( | DriverFeature | f | ) | const [inline, virtual] |
Returns TRUE if the driver supports feature f; otherwise returns FALSE.
Note that some databases need to be open() before this can be determined.
Implementa QSqlDriver.
| bool QNullDriver::open | ( | const QString & | db, |
| const QString & | user, | ||
| const QString & | password, | ||
| const QString & | host, | ||
| int | port | ||
| ) | [inline, virtual] |
Derived classes must reimplement this abstract virtual function in order to open a database connection on database db, using user name user, password password, host host and port port.
The function must return TRUE on success and FALSE on failure.
Implementa QSqlDriver.
1.7.4