List of all members | Public Member Functions
QSqlDatabaseProto Class Reference

#include <qsqldatabaseproto.h>

Public Member Functions

 QSqlDatabaseProto (QObject *parent)
 
Q_INVOKABLE void close ()
 
Q_INVOKABLE bool commit ()
 
Q_INVOKABLE QString connectionName () const
 
Q_INVOKABLE QString connectOptions () const
 
Q_INVOKABLE QString databaseName () const
 
Q_INVOKABLE QSqlDriver * driver () const
 
Q_INVOKABLE QString driverName () const
 
Q_INVOKABLE QSqlQuery exec (const QString &query=QString()) const
 
Q_INVOKABLE QString hostName () const
 
Q_INVOKABLE bool isOpen () const
 
Q_INVOKABLE bool isOpenError () const
 
Q_INVOKABLE bool isValid () const
 
Q_INVOKABLE QSqlError lastError () const
 
Q_INVOKABLE bool open ()
 
Q_INVOKABLE bool open (const QString &user, const QString &password)
 
Q_INVOKABLE QString password () const
 
Q_INVOKABLE int port () const
 
Q_INVOKABLE QSqlIndex primaryIndex (const QString &tablename) const
 
Q_INVOKABLE QSqlRecord record (const QString &tablename) const
 
Q_INVOKABLE bool rollback ()
 
Q_INVOKABLE void setConnectOptions (const QString &options=QString())
 
Q_INVOKABLE void setDatabaseName (const QString &name)
 
Q_INVOKABLE void setHostName (const QString &host)
 
Q_INVOKABLE void setPassword (const QString &password)
 
Q_INVOKABLE void setPort (int port)
 
Q_INVOKABLE void setUserName (const QString &name)
 
Q_INVOKABLE QStringList tables (int type=QSql::Tables) const
 
Q_INVOKABLE QString toString () const
 
Q_INVOKABLE bool transaction ()
 
Q_INVOKABLE QString userName () const
 

Constructor & Destructor Documentation

QSqlDatabaseProto::QSqlDatabaseProto ( QObject parent)

Member Function Documentation

void QSqlDatabaseProto::close ( )
bool QSqlDatabaseProto::commit ( )
QString QSqlDatabaseProto::connectionName ( ) const
QString QSqlDatabaseProto::connectOptions ( ) const
QString QSqlDatabaseProto::databaseName ( ) const
QSqlDriver * QSqlDatabaseProto::driver ( ) const
QString QSqlDatabaseProto::driverName ( ) const
QSqlQuery QSqlDatabaseProto::exec ( const QString &  query = QString()) const
QString QSqlDatabaseProto::hostName ( ) const
bool QSqlDatabaseProto::isOpen ( ) const
bool QSqlDatabaseProto::isOpenError ( ) const
bool QSqlDatabaseProto::isValid ( ) const
QSqlError QSqlDatabaseProto::lastError ( ) const
bool QSqlDatabaseProto::open ( )
bool QSqlDatabaseProto::open ( const QString &  user,
const QString &  password 
)
QString QSqlDatabaseProto::password ( ) const
int QSqlDatabaseProto::port ( ) const
QSqlIndex QSqlDatabaseProto::primaryIndex ( const QString &  tablename) const
QSqlRecord QSqlDatabaseProto::record ( const QString &  tablename) const
bool QSqlDatabaseProto::rollback ( )
void QSqlDatabaseProto::setConnectOptions ( const QString &  options = QString())
void QSqlDatabaseProto::setDatabaseName ( const QString &  name)
void QSqlDatabaseProto::setHostName ( const QString &  host)
void QSqlDatabaseProto::setPassword ( const QString &  password)
void QSqlDatabaseProto::setPort ( int  port)
void QSqlDatabaseProto::setUserName ( const QString &  name)
QStringList QSqlDatabaseProto::tables ( int  type = QSql::Tables) const
QString QSqlDatabaseProto::toString ( ) const
bool QSqlDatabaseProto::transaction ( )
QString QSqlDatabaseProto::userName ( ) const

The documentation for this class was generated from the following files:

Generated on Fri Oct 7 2016 15:38:00 xTuple ERP Programmer Reference, Version 4.5.0 doxygen 1.8.10