Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Static Public Member Functions inherited from QObjectPrivate | |
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 117 of file qsql_psql.cpp.
|
inline |
Definition at line 121 of file qsql_psql.cpp.
void QPSQLDriverPrivate::appendTables | ( | QStringList & | tl, |
QSqlQuery & | t, | ||
QChar | type ) |
Definition at line 151 of file qsql_psql.cpp.
References QStringLiteral.
void QPSQLDriverPrivate::checkPendingNotifications | ( | ) | const |
Definition at line 245 of file qsql_psql.cpp.
References QMetaObject::invokeMethod(), pendingNotifyCheck, Qt::QueuedConnection, and seid.
Referenced by exec(), and getResult().
void QPSQLDriverPrivate::detectBackslashEscape | ( | ) |
Definition at line 946 of file qsql_psql.cpp.
References exec(), QString::fromLatin1(), hasBackslashEscape, pro, QStringLiteral, and QPSQLDriver::Version8_2.
void QPSQLDriverPrivate::discardResults | ( | ) | const |
Definition at line 231 of file qsql_psql.cpp.
References connection.
Referenced by finishQuery(), and sendQuery().
PGresult * QPSQLDriverPrivate::exec | ( | const char * | stmt | ) |
Definition at line 170 of file qsql_psql.cpp.
References checkPendingNotifications(), connection, currentStmtId, generateStatementId(), and InvalidStatementId.
Referenced by QPSQLDriver::tables().
Definition at line 179 of file qsql_psql.cpp.
References QByteArray::constData(), exec(), and QString::toUtf8().
void QPSQLDriverPrivate::finishQuery | ( | StatementId | stmtId | ) |
Definition at line 223 of file qsql_psql.cpp.
References currentStmtId, discardResults(), and InvalidStatementId.
StatementId QPSQLDriverPrivate::generateStatementId | ( | ) |
Definition at line 237 of file qsql_psql.cpp.
References stmtCount.
Referenced by exec(), and sendQuery().
QPSQLDriver::Protocol QPSQLDriverPrivate::getPSQLVersion | ( | ) |
Definition at line 1056 of file qsql_psql.cpp.
References exec(), QString::fromLatin1(), qCWarning, qFindPSQLVersion(), QPSQLDriver::Version6, QPSQLDriver::Version7_3, and QPSQLDriver::VersionUnknown.
PGresult * QPSQLDriverPrivate::getResult | ( | StatementId | stmtId | ) | const |
Definition at line 206 of file qsql_psql.cpp.
References checkPendingNotifications(), connection, currentStmtId, and qCWarning.
StatementId QPSQLDriverPrivate::sendQuery | ( | const QString & | stmt | ) |
Definition at line 184 of file qsql_psql.cpp.
References connection, QByteArray::constData(), currentStmtId, discardResults(), generateStatementId(), InvalidStatementId, and QString::toUtf8().
void QPSQLDriverPrivate::setByteaOutput | ( | ) |
Definition at line 923 of file qsql_psql.cpp.
References connection, exec(), QString::fromUtf8(), pro, qCWarning, and QPSQLDriver::Version9.
void QPSQLDriverPrivate::setDatestyle | ( | ) |
Definition at line 914 of file qsql_psql.cpp.
References connection, exec(), QString::fromUtf8(), and qCWarning.
bool QPSQLDriverPrivate::setEncodingUtf8 | ( | ) |
Definition at line 906 of file qsql_psql.cpp.
References exec().
bool QPSQLDriverPrivate::setSingleRowMode | ( | ) | const |
Definition at line 194 of file qsql_psql.cpp.
References connection.
void QPSQLDriverPrivate::setUtcTimeZone | ( | ) |
Definition at line 937 of file qsql_psql.cpp.
References connection, exec(), QString::fromUtf8(), and qCWarning.
Definition at line 124 of file qsql_psql.cpp.
Referenced by discardResults(), exec(), getResult(), sendQuery(), setByteaOutput(), setDatestyle(), setSingleRowMode(), and setUtcTimeZone().
StatementId QPSQLDriverPrivate::currentStmtId = InvalidStatementId |
Definition at line 127 of file qsql_psql.cpp.
Referenced by exec(), finishQuery(), getResult(), and sendQuery().
bool QPSQLDriverPrivate::hasBackslashEscape = false |
Definition at line 130 of file qsql_psql.cpp.
Referenced by detectBackslashEscape().
Definition at line 148 of file qsql_psql.cpp.
|
mutable |
Definition at line 129 of file qsql_psql.cpp.
Referenced by checkPendingNotifications().
QPSQLDriver::Protocol QPSQLDriverPrivate::pro = QPSQLDriver::Version6 |
Definition at line 126 of file qsql_psql.cpp.
Referenced by detectBackslashEscape(), and setByteaOutput().
QStringList QPSQLDriverPrivate::seid |
Definition at line 123 of file qsql_psql.cpp.
Referenced by checkPendingNotifications().
QSocketNotifier* QPSQLDriverPrivate::sn = nullptr |
Definition at line 125 of file qsql_psql.cpp.
StatementId QPSQLDriverPrivate::stmtCount = InvalidStatementId |
Definition at line 128 of file qsql_psql.cpp.
Referenced by generateStatementId().