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>.
|
Public Types | |
enum class | DefaultCase { Lower , Mixed , Upper , Sensitive } |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Additional Inherited Members | |
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 112 of file qsql_odbc.cpp.
|
strong |
Enumerator | |
---|---|
Lower | |
Mixed | |
Upper | |
Sensitive |
Definition at line 117 of file qsql_odbc.cpp.
Definition at line 907 of file qsql_odbc.cpp.
References Lower, Mixed, Sensitive, QString::toLower(), QString::toUpper(), and Upper.
Referenced by splitTableQualifier().
void QODBCDriverPrivate::checkDateTimePrecision | ( | ) |
Definition at line 2257 of file qsql_odbc.cpp.
References datetimePrecision, SqlStmtHandle::handle(), hDbc, and SqlStmtHandle::isValid().
void QODBCDriverPrivate::checkDBMS | ( | ) |
Definition at line 2197 of file qsql_odbc.cpp.
References Qt::CaseInsensitive, QString::contains(), QSqlDriverPrivate::dbmsType, fromSQLTCHAR(), hDbc, isFreeTDSDriver, QSqlDriver::MSSqlServer, QSqlDriver::MySqlServer, QSqlDriver::Oracle, QSqlDriver::PostgreSQL, QSqlDriver::Sybase, and unicode.
void QODBCDriverPrivate::checkDefaultCase | ( | ) |
bool QODBCDriverPrivate::checkDriver | ( | ) | const |
Definition at line 2127 of file qsql_odbc.cpp.
References arg, hDbc, QString::number(), and qSqlWarning().
void QODBCDriverPrivate::checkHasMultiResults | ( | ) |
Definition at line 2244 of file qsql_odbc.cpp.
References fromSQLTCHAR(), hasMultiResultSets, and hDbc.
void QODBCDriverPrivate::checkHasSQLFetchScroll | ( | ) |
Definition at line 2233 of file qsql_odbc.cpp.
References hasSQLFetchScroll, hDbc, and qSqlWarning().
void QODBCDriverPrivate::checkSchemaUsage | ( | ) |
Definition at line 2183 of file qsql_odbc.cpp.
void QODBCDriverPrivate::checkUnicode | ( | ) |
Definition at line 2064 of file qsql_odbc.cpp.
References QByteArray::data(), encoded, fromSQLTCHAR(), SqlStmtHandle::handle(), hDbc, QByteArray::size(), toSQLTCHAR(), and unicode.
|
inline |
Definition at line 30 of file qsqldriver_p.h.
QChar QODBCDriverPrivate::quoteChar | ( | ) |
Definition at line 695 of file qsql_odbc.cpp.
References hDbc.
bool QODBCDriverPrivate::setConnectionOptions | ( | const QString & | connOpts | ) |
Definition at line 735 of file qsql_odbc.cpp.
References arg, hDbc, opt, qSqlWarning(), and qt_string_SQLSetConnectAttr().
void QODBCDriverPrivate::splitTableQualifier | ( | const QString & | qualifier, |
QString & | catalog, | ||
QString & | schema, | ||
QString & | table ) const |
Definition at line 839 of file qsql_odbc.cpp.
References adjustCase(), arg, QString::clear(), qSqlWarning(), QStringView::split(), QSqlDriver::TableName, and useSchema.
SQLRETURN QODBCDriverPrivate::sqlFetchNext | ( | const SqlStmtHandle & | hStmt | ) | const |
Definition at line 714 of file qsql_odbc.cpp.
References SqlStmtHandle::handle(), and sqlFetchNext().
Referenced by sqlFetchNext().
SQLRETURN QODBCDriverPrivate::sqlFetchNext | ( | SQLHANDLE | hStmt | ) | const |
Definition at line 719 of file qsql_odbc.cpp.
References hasSQLFetchScroll.
int QODBCDriverPrivate::datetimePrecision = 19 |
Definition at line 124 of file qsql_odbc.cpp.
Referenced by checkDateTimePrecision().
int QODBCDriverPrivate::disconnectCount = 0 |
Definition at line 123 of file qsql_odbc.cpp.
bool QODBCDriverPrivate::hasMultiResultSets = false |
Definition at line 129 of file qsql_odbc.cpp.
Referenced by checkHasMultiResults().
bool QODBCDriverPrivate::hasSQLFetchScroll = true |
Definition at line 128 of file qsql_odbc.cpp.
Referenced by checkHasSQLFetchScroll(), and sqlFetchNext().
SQLHANDLE QODBCDriverPrivate::hDbc = nullptr |
Definition at line 121 of file qsql_odbc.cpp.
Referenced by checkDateTimePrecision(), checkDBMS(), checkDefaultCase(), checkDriver(), checkHasMultiResults(), checkHasSQLFetchScroll(), checkSchemaUsage(), checkUnicode(), quoteChar(), and setConnectionOptions().
SQLHANDLE QODBCDriverPrivate::hEnv = nullptr |
Definition at line 120 of file qsql_odbc.cpp.
bool QODBCDriverPrivate::isFreeTDSDriver = false |
Definition at line 127 of file qsql_odbc.cpp.
Referenced by checkDBMS().
bool QODBCDriverPrivate::unicode = false |
Definition at line 125 of file qsql_odbc.cpp.
Referenced by checkDBMS(), and checkUnicode().
bool QODBCDriverPrivate::useSchema = false |
Definition at line 126 of file qsql_odbc.cpp.
Referenced by checkSchemaUsage(), and splitTableQualifier().