QMYSQLDriver Class Reference
#include <qsql_mysql.h>
Definition at line 102 of file qsql_mysql.h.
|
| | QMYSQLDriver (QObject *parent=0) |
| |
| | QMYSQLDriver (MYSQL *con, QObject *parent=0) |
| |
| | ~QMYSQLDriver () |
| |
| bool | hasFeature (DriverFeature f) const |
| |
| bool | open (const QString &db, const QString &user, const QString &password, const QString &host, int port, const QString &connOpts) |
| |
| void | close () |
| |
| QSqlResult * | createResult () const |
| |
| QStringList | tables (QSql::TableType) const |
| |
| QSqlIndex | primaryIndex (const QString &tablename) const |
| |
| QSqlRecord | record (const QString &tablename) const |
| |
| QString | formatValue (const QSqlField &field, bool trimStrings) const |
| |
| QVariant | handle () const |
| |
| QString | escapeIdentifier (const QString &identifier, IdentifierType type) const |
| |
| | QSqlDriver (QObject *parent=0) |
| |
| | ~QSqlDriver () |
| |
| virtual bool | isOpen () const |
| |
| bool | isOpenError () const |
| |
| virtual QString | sqlStatement (StatementType type, const QString &tableName, const QSqlRecord &rec, bool preparedStatement) const |
| |
| QSqlError | lastError () const |
| |
| bool | subscribeToNotification (const QString &name) |
| |
| bool | unsubscribeFromNotification (const QString &name) |
| |
| QStringList | subscribedToNotifications () const |
| |
| bool | isIdentifierEscaped (const QString &identifier, IdentifierType type) const |
| |
| QString | stripDelimiters (const QString &identifier, IdentifierType type) const |
| |
| void | setNumericalPrecisionPolicy (QSql::NumericalPrecisionPolicy precisionPolicy) |
| |
| QSql::NumericalPrecisionPolicy | numericalPrecisionPolicy () const |
| |
| Q_INVOKABLE | QObject (QObject *parent=0) |
| |
| virtual | ~QObject () |
| |
| virtual bool | event (QEvent *) |
| |
| virtual bool | eventFilter (QObject *, QEvent *) |
| |
| QString | objectName () const |
| |
| void | setObjectName (const QString &name) |
| |
| bool | isWidgetType () const |
| |
| bool | signalsBlocked () const |
| |
| bool | blockSignals (bool b) |
| |
| QThread * | thread () const |
| |
| void | moveToThread (QThread *thread) |
| |
| int | startTimer (int interval) |
| |
| void | killTimer (int id) |
| |
| template<typename T > |
| T | findChild (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QRegExp &re) const |
| |
| const QObjectList & | children () const |
| |
| void | setParent (QObject *) |
| |
| void | installEventFilter (QObject *) |
| |
| void | removeEventFilter (QObject *) |
| |
| bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
| |
| bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
| |
| bool | disconnect (const QObject *receiver, const char *member=0) |
| |
| void | dumpObjectTree () |
| |
| void | dumpObjectInfo () |
| |
| bool | setProperty (const char *name, const QVariant &value) |
| |
| QVariant | property (const char *name) const |
| |
| QList< QByteArray > | dynamicPropertyNames () const |
| |
| void | setUserData (uint id, QObjectUserData *data) |
| |
| QObjectUserData * | userData (uint id) const |
| |
| QObject * | parent () const |
| |
| bool | inherits (const char *classname) const |
| |
|
| enum | DriverFeature {
Transactions,
QuerySize,
BLOB,
Unicode,
PreparedQueries,
NamedPlaceholders,
PositionalPlaceholders,
LastInsertId,
BatchOperations,
SimpleLocking,
LowPrecisionNumbers,
EventNotifications,
FinishQuery,
MultipleResultSets
} |
| |
| enum | StatementType {
WhereStatement,
SelectStatement,
UpdateStatement,
InsertStatement,
DeleteStatement
} |
| |
| enum | IdentifierType { FieldName,
TableName
} |
| |
| void | deleteLater () |
| |
| void | notification (const QString &name) |
| |
| void | destroyed (QObject *=0) |
| |
| static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
| |
| static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
| |
| static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
| |
| static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
| |
| static uint | registerUserData () |
| |
| QScopedPointer< QObjectData > | d_ptr |
| |
| static const QMetaObject | staticQtMetaObject |
| |
| QString | objectName |
| |
| bool beginTransaction |
( |
| ) |
|
|
protectedvirtual |
| bool commitTransaction |
( |
| ) |
|
|
protectedvirtual |
| bool rollbackTransaction |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: