![]() |
Qt 6.x
The Qt SDK
|
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Definition at line 114 of file qsql_psql.cpp.
|
inline |
Definition at line 118 of file qsql_psql.cpp.
void QPSQLDriverPrivate::appendTables | ( | QStringList & | tl, |
QSqlQuery & | t, | ||
QChar | type | ||
) |
Definition at line 147 of file qsql_psql.cpp.
References QString::isEmpty(), and QStringLiteral.
void QPSQLDriverPrivate::checkPendingNotifications | ( | ) | const |
Definition at line 241 of file qsql_psql.cpp.
References QMetaObject::invokeMethod(), pendingNotifyCheck, Qt::QueuedConnection, and seid.
Referenced by exec(), and getResult().
void QPSQLDriverPrivate::detectBackslashEscape | ( | ) |
Definition at line 936 of file qsql_psql.cpp.
References exec(), QString::fromLatin1(), hasBackslashEscape, pro, QStringLiteral, and QPSQLDriver::Version8_2.
void QPSQLDriverPrivate::discardResults | ( | ) | const |
Definition at line 227 of file qsql_psql.cpp.
References connection.
Referenced by finishQuery(), and sendQuery().
PGresult * QPSQLDriverPrivate::exec | ( | const char * | stmt | ) |
Definition at line 166 of file qsql_psql.cpp.
References checkPendingNotifications(), connection, currentStmtId, generateStatementId(), and InvalidStatementId.
Referenced by QPSQLDriver::tables().
Definition at line 175 of file qsql_psql.cpp.
References QByteArray::constData(), exec(), and QString::toUtf8().
void QPSQLDriverPrivate::finishQuery | ( | StatementId | stmtId | ) |
Definition at line 219 of file qsql_psql.cpp.
References currentStmtId, discardResults(), and InvalidStatementId.
StatementId QPSQLDriverPrivate::generateStatementId | ( | ) |
Definition at line 233 of file qsql_psql.cpp.
References stmtCount.
Referenced by exec(), and sendQuery().
QPSQLDriver::Protocol QPSQLDriverPrivate::getPSQLVersion | ( | ) |
Definition at line 1046 of file qsql_psql.cpp.
References exec(), QString::fromLatin1(), qFindPSQLVersion(), qWarning, QPSQLDriver::Version6, QPSQLDriver::Version7_3, and QPSQLDriver::VersionUnknown.
PGresult * QPSQLDriverPrivate::getResult | ( | StatementId | stmtId | ) | const |
Definition at line 202 of file qsql_psql.cpp.
References checkPendingNotifications(), connection, currentStmtId, and qWarning.
StatementId QPSQLDriverPrivate::sendQuery | ( | const QString & | stmt | ) |
Definition at line 180 of file qsql_psql.cpp.
References connection, QByteArray::constData(), currentStmtId, discardResults(), generateStatementId(), InvalidStatementId, and QString::toUtf8().
void QPSQLDriverPrivate::setByteaOutput | ( | ) |
Definition at line 922 of file qsql_psql.cpp.
References connection, exec(), QString::fromUtf8(), pro, qWarning, and QPSQLDriver::Version9.
void QPSQLDriverPrivate::setDatestyle | ( | ) |
Definition at line 913 of file qsql_psql.cpp.
References connection, exec(), QString::fromUtf8(), and qWarning.
bool QPSQLDriverPrivate::setEncodingUtf8 | ( | ) |
Definition at line 905 of file qsql_psql.cpp.
References exec().
bool QPSQLDriverPrivate::setSingleRowMode | ( | ) | const |
Definition at line 190 of file qsql_psql.cpp.
References connection.
Definition at line 121 of file qsql_psql.cpp.
Referenced by discardResults(), exec(), getResult(), sendQuery(), setByteaOutput(), setDatestyle(), and setSingleRowMode().
StatementId QPSQLDriverPrivate::currentStmtId = InvalidStatementId |
Definition at line 124 of file qsql_psql.cpp.
Referenced by exec(), finishQuery(), getResult(), and sendQuery().
bool QPSQLDriverPrivate::hasBackslashEscape = false |
Definition at line 127 of file qsql_psql.cpp.
Referenced by detectBackslashEscape().
Definition at line 144 of file qsql_psql.cpp.
|
mutable |
Definition at line 126 of file qsql_psql.cpp.
Referenced by checkPendingNotifications().
QPSQLDriver::Protocol QPSQLDriverPrivate::pro = QPSQLDriver::Version6 |
Definition at line 123 of file qsql_psql.cpp.
Referenced by detectBackslashEscape(), and setByteaOutput().
QStringList QPSQLDriverPrivate::seid |
Definition at line 120 of file qsql_psql.cpp.
Referenced by checkPendingNotifications().
QSocketNotifier* QPSQLDriverPrivate::sn = nullptr |
Definition at line 122 of file qsql_psql.cpp.
int QPSQLDriverPrivate::stmtCount = 0 |
Definition at line 125 of file qsql_psql.cpp.
Referenced by generateStatementId().