Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# List of All Members for QSqlDatabase

This is the complete list of members for QSqlDatabase, including inherited members.

- QSqlDatabase ()
- QSqlDatabase ( const QSqlDatabase & other )
- QSqlDatabase ( const QString & type )
- QSqlDatabase ( QSqlDriver * driver )
- ~QSqlDatabase ()
- QSqlDatabase addDatabase ( const QString & type, const QString & connectionName = QLatin1String( defaultConnection ) )
- QSqlDatabase addDatabase ( QSqlDriver * driver, const QString & connectionName = QLatin1String( defaultConnection ) )
- QSqlDatabase cloneDatabase ( const QSqlDatabase & other, const QString & connectionName )
- void close ()
- bool commit ()
- QString connectOptions () const
- QStringList connectionNames ()
- bool contains ( const QString & connectionName = QLatin1String( defaultConnection ) )
- QSqlDatabase database ( const QString & connectionName = QLatin1String( defaultConnection ), bool open = true )
- QString databaseName () const
- QSqlDriver * driver () const
- QString driverName () const
- QStringList drivers ()
- QSqlQuery exec ( const QString & query = QString() ) const
- QString hostName () const
- bool isDriverAvailable ( const QString & name )
- bool isOpen () const

- bool isOpenError () const
- bool isValid () const
- QSqlError lastError () const
- bool open ()
- bool open ( const QString & user, const QString & password )
- QString password () const
- int port () const
- QSqlIndex primaryIndex ( const QString & tablename ) const
- QSqlRecord record ( const QString & tablename ) const
- void registerSqlDriver ( const QString & name, QSqlDriverCreatorBase * creator )
- void removeDatabase ( const QString & connectionName )
- bool rollback ()
- void setConnectOptions ( const QString & options = QString() )
- void setDatabaseName ( const QString & name )
- void setHostName ( const QString & host )
- void setPassword ( const QString & password )
- void setPort ( int port )
- void setUserName ( const QString & name )
- QStringList tables ( QSql::TableType type = QSql::Tables ) const
- bool transaction ()
- QString userName () const
- QSqlDatabase & operator= ( const QSqlDatabase & other )