List of all members | Properties | Public Member Functions | Static Public Member Functions | Protected Member Functions
QSqlDatabaseProto Class Reference

#include <qsqldatabaseproto.h>

Inheritance diagram for QSqlDatabaseProto:
QObject QScriptable

Properties

 objectName
 

Public Member Functions

 QSqlDatabaseProto (QObject *parent)
 
bool blockSignals (bool block)
 
const QObjectList & children () const
 
Q_INVOKABLE void close ()
 
Q_INVOKABLE bool commit ()
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
Q_INVOKABLE QString connectionName () const
 
Q_INVOKABLE QString connectOptions () const
 
Q_INVOKABLE QString databaseName () const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const
 
bool disconnect (const QObject *receiver, const char *method) const
 
Q_INVOKABLE QSqlDriverdriver () const
 
Q_INVOKABLE QString driverName () const
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
Q_INVOKABLE QSqlQuery exec (const QString &query=QString()) const
 
findChild (const QString &name, Qt::FindChildOptions options) const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const
 
QList< T > findChildren (const QRegExp &regExp, Qt::FindChildOptions options) const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const
 
Q_INVOKABLE QString hostName () const
 
bool inherits (const char *className) const
 
void installEventFilter (QObject *filterObj)
 
Q_INVOKABLE bool isOpen () const
 
Q_INVOKABLE bool isOpenError () const
 
Q_INVOKABLE bool isValid () const
 
bool isWidgetType () const
 
bool isWindowType () const
 
void killTimer (int id)
 
Q_INVOKABLE QSqlError lastError () const
 
virtual const QMetaObjectmetaObject () const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const
 
void objectNameChanged (const QString &objectName)
 
Q_INVOKABLE bool open ()
 
Q_INVOKABLE bool open (const QString &user, const QString &password)
 
QObjectparent () const
 
Q_INVOKABLE QString password () const
 
Q_INVOKABLE int port () const
 
Q_INVOKABLE QSqlIndex primaryIndex (const QString &tablename) const
 
QVariant property (const char *name) const
 
Q_INVOKABLE QSqlRecord record (const QString &tablename) const
 
void removeEventFilter (QObject *obj)
 
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)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
Q_INVOKABLE void setPassword (const QString &password)
 
Q_INVOKABLE void setPort (int port)
 
bool setProperty (const char *name, const QVariant &value)
 
Q_INVOKABLE void setUserName (const QString &name)
 
bool signalsBlocked () const
 
int startTimer (int interval, Qt::TimerType timerType)
 
Q_INVOKABLE QStringList tables (int type=QSql::Tables) const
 
QThreadthread () const
 
Q_INVOKABLE QString toString () const
 
Q_INVOKABLE bool transaction ()
 
Q_INVOKABLE QString userName () const
 

Static Public Member Functions

QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Protected Member Functions

virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const
 
int receivers (const char *signal) const
 
QObjectsender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

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 Wed Nov 30 2016 xTuple ERP Programmer Reference, Version 4.10.0 doxygen 1.8.7