QPSQLDriver Class Reference
#include <qsql_psql.h>
Definition at line 95 of file qsql_psql.h.
|
| enum | Protocol {
VersionUnknown = -1,
Version6 = 6,
Version7 = 7,
Version71 = 8,
Version73 = 9,
Version74 = 10,
Version8 = 11,
Version81 = 12,
Version82 = 13,
Version83 = 14,
Version84 = 15,
Version9 = 16
} |
| |
| 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
} |
| |
|
| | QPSQLDriver (QObject *parent=0) |
| |
| | QPSQLDriver (PGconn *conn, QObject *parent=0) |
| |
| | ~QPSQLDriver () |
| |
| bool | hasFeature (DriverFeature f) const |
| |
| bool | open (const QString &db, const QString &user, const QString &password, const QString &host, int port, const QString &connOpts) |
| |
| bool | isOpen () const |
| |
| void | close () |
| |
| QSqlResult * | createResult () const |
| |
| QStringList | tables (QSql::TableType) const |
| |
| QSqlIndex | primaryIndex (const QString &tablename) const |
| |
| QSqlRecord | record (const QString &tablename) const |
| |
| Protocol | protocol () const |
| |
| QVariant | handle () const |
| |
| QString | escapeIdentifier (const QString &identifier, IdentifierType type) const |
| |
| QString | formatValue (const QSqlField &field, bool trimStrings) const |
| |
| | QSqlDriver (QObject *parent=0) |
| |
| | ~QSqlDriver () |
| |
| 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 |
| |
|
| 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 |
| |
| Enumerator |
|---|
| VersionUnknown |
|
| Version6 |
|
| Version7 |
|
| Version71 |
|
| Version73 |
|
| Version74 |
|
| Version8 |
|
| Version81 |
|
| Version82 |
|
| Version83 |
|
| Version84 |
|
| Version9 |
|
Definition at line 99 of file qsql_psql.h.
| bool beginTransaction |
( |
| ) |
|
|
protectedvirtual |
| bool commitTransaction |
( |
| ) |
|
|
protectedvirtual |
| bool rollbackTransaction |
( |
| ) |
|
|
protectedvirtual |
| bool subscribeToNotificationImplementation |
( |
const QString & |
name | ) |
|
|
protectedslot |
| bool unsubscribeFromNotificationImplementation |
( |
const QString & |
name | ) |
|
|
protectedslot |
| QStringList subscribedToNotificationsImplementation |
( |
| ) |
const |
|
protectedslot |
The documentation for this class was generated from the following file: