List of all members | Public Member Functions
QSqlDatabaseProto Class Reference

#include <qsqldatabaseproto.h>

Inheritance diagram for QSqlDatabaseProto:
QObject QScriptable

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::QSqlDatabaseProto ( QObject parent)

Member Function Documentation

◆ close()

void QSqlDatabaseProto::close ( )

◆ commit()

bool QSqlDatabaseProto::commit ( )

◆ connectionName()

QString QSqlDatabaseProto::connectionName ( ) const

◆ connectOptions()

QString QSqlDatabaseProto::connectOptions ( ) const

◆ databaseName()

QString QSqlDatabaseProto::databaseName ( ) const

◆ driver()

QSqlDriver * QSqlDatabaseProto::driver ( ) const

◆ driverName()

QString QSqlDatabaseProto::driverName ( ) const

◆ exec()

QSqlQuery QSqlDatabaseProto::exec ( const QString &  query = QString()) const

◆ hostName()

QString QSqlDatabaseProto::hostName ( ) const

◆ isOpen()

bool QSqlDatabaseProto::isOpen ( ) const

◆ isOpenError()

bool QSqlDatabaseProto::isOpenError ( ) const

◆ isValid()

bool QSqlDatabaseProto::isValid ( ) const

◆ lastError()

QSqlError QSqlDatabaseProto::lastError ( ) const

◆ open() [1/2]

bool QSqlDatabaseProto::open ( )

◆ open() [2/2]

bool QSqlDatabaseProto::open ( const QString &  user,
const QString &  password 
)

◆ password()

QString QSqlDatabaseProto::password ( ) const

◆ port()

int QSqlDatabaseProto::port ( ) const

◆ primaryIndex()

QSqlIndex QSqlDatabaseProto::primaryIndex ( const QString &  tablename) const

◆ record()

QSqlRecord QSqlDatabaseProto::record ( const QString &  tablename) const

◆ rollback()

bool QSqlDatabaseProto::rollback ( )

◆ setConnectOptions()

void QSqlDatabaseProto::setConnectOptions ( const QString &  options = QString())

◆ setDatabaseName()

void QSqlDatabaseProto::setDatabaseName ( const QString &  name)

◆ setHostName()

void QSqlDatabaseProto::setHostName ( const QString &  host)

◆ setPassword()

void QSqlDatabaseProto::setPassword ( const QString &  password)

◆ setPort()

void QSqlDatabaseProto::setPort ( int  port)

◆ setUserName()

void QSqlDatabaseProto::setUserName ( const QString &  name)

◆ tables()

QStringList QSqlDatabaseProto::tables ( int  type = QSql::Tables) const

◆ toString()

QString QSqlDatabaseProto::toString ( ) const

◆ transaction()

bool QSqlDatabaseProto::transaction ( )

◆ userName()

QString QSqlDatabaseProto::userName ( ) const

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17