![]() |
Qt 6.x
The Qt SDK
|
Public Types | |
enum | DefaultCase { Lower , Mixed , Upper , Sensitive } |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Additional Inherited Members | |
![]() | |
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 86 of file qsql_odbc.cpp.
Enumerator | |
---|---|
Lower | |
Mixed | |
Upper | |
Sensitive |
Definition at line 91 of file qsql_odbc.cpp.
Definition at line 862 of file qsql_odbc.cpp.
References defaultCase(), Lower, Mixed, ret, Sensitive, QString::toLower(), QString::toUpper(), and Upper.
void QODBCDriverPrivate::checkDateTimePrecision | ( | ) |
Definition at line 2205 of file qsql_odbc.cpp.
References datetimePrecision, and hDbc.
void QODBCDriverPrivate::checkDBMS | ( | ) |
Definition at line 2146 of file qsql_odbc.cpp.
References Qt::CaseInsensitive, QString::contains(), QVarLengthArray< T, Prealloc >::data(), QSqlDriverPrivate::dbmsType, fromSQLTCHAR(), hDbc, isFreeTDSDriver, QSqlDriver::MSSqlServer, QSqlDriver::MySqlServer, QSqlDriver::Oracle, QSqlDriver::PostgreSQL, QVLABaseBase::size(), QSqlDriver::Sybase, and unicode.
bool QODBCDriverPrivate::checkDriver | ( | ) | const |
Definition at line 2078 of file qsql_odbc.cpp.
References hDbc, qSqlWarning(), and qWarning.
void QODBCDriverPrivate::checkHasMultiResults | ( | ) |
Definition at line 2192 of file qsql_odbc.cpp.
References QVarLengthArray< T, Prealloc >::data(), fromSQLTCHAR(), hasMultiResultSets, hDbc, QVLABaseBase::size(), and QString::startsWith().
void QODBCDriverPrivate::checkHasSQLFetchScroll | ( | ) |
Definition at line 2182 of file qsql_odbc.cpp.
References hasSQLFetchScroll, hDbc, and qWarning.
void QODBCDriverPrivate::checkSchemaUsage | ( | ) |
Definition at line 2132 of file qsql_odbc.cpp.
void QODBCDriverPrivate::checkUnicode | ( | ) |
Definition at line 2012 of file qsql_odbc.cpp.
References QByteArray::data(), encoded, fromSQLTCHAR(), hDbc, QByteArray::size(), toSQLTCHAR(), and unicode.
QODBCDriverPrivate::DefaultCase QODBCDriverPrivate::defaultCase | ( | ) | const |
Definition at line 827 of file qsql_odbc.cpp.
References hDbc, Lower, Mixed, ret, Sensitive, and Upper.
Referenced by adjustCase().
|
inline |
Definition at line 30 of file qsqldriver_p.h.
QChar QODBCDriverPrivate::quoteChar | ( | ) |
Definition at line 672 of file qsql_odbc.cpp.
References hDbc.
bool QODBCDriverPrivate::setConnectionOptions | ( | const QString & | connOpts | ) |
Definition at line 700 of file qsql_odbc.cpp.
References arg, QString::fromLatin1(), hDbc, i, QString::indexOf(), QString::left(), QString::mid(), opt, qSqlWarning(), qt_string_SQLSetConnectAttr(), qWarning, QString::simplified(), Qt::SkipEmptyParts, and QString::split().
void QODBCDriverPrivate::splitTableQualifier | ( | const QString & | qualifier, |
QString & | catalog, | ||
QString & | schema, | ||
QString & | table | ||
) | const |
Definition at line 799 of file qsql_odbc.cpp.
References arg, QList< T >::at(), QList< T >::count(), QString::fromLatin1(), qSqlWarning(), QStringView::split(), and useSchema.
int QODBCDriverPrivate::datetimePrecision = 19 |
Definition at line 98 of file qsql_odbc.cpp.
Referenced by checkDateTimePrecision().
int QODBCDriverPrivate::disconnectCount = 0 |
Definition at line 97 of file qsql_odbc.cpp.
bool QODBCDriverPrivate::hasMultiResultSets = false |
Definition at line 103 of file qsql_odbc.cpp.
Referenced by checkHasMultiResults().
bool QODBCDriverPrivate::hasSQLFetchScroll = true |
Definition at line 102 of file qsql_odbc.cpp.
Referenced by checkHasSQLFetchScroll().
SQLHANDLE QODBCDriverPrivate::hDbc = nullptr |
Definition at line 95 of file qsql_odbc.cpp.
Referenced by checkDateTimePrecision(), checkDBMS(), checkDriver(), checkHasMultiResults(), checkHasSQLFetchScroll(), checkSchemaUsage(), checkUnicode(), defaultCase(), qODBCWarn(), quoteChar(), and setConnectionOptions().
SQLHANDLE QODBCDriverPrivate::hEnv = nullptr |
Definition at line 94 of file qsql_odbc.cpp.
Referenced by qODBCWarn().
bool QODBCDriverPrivate::isFreeTDSDriver = false |
Definition at line 101 of file qsql_odbc.cpp.
Referenced by checkDBMS().
bool QODBCDriverPrivate::unicode = false |
Definition at line 99 of file qsql_odbc.cpp.
Referenced by checkDBMS(), and checkUnicode().
bool QODBCDriverPrivate::useSchema = false |
Definition at line 100 of file qsql_odbc.cpp.
Referenced by checkSchemaUsage(), and splitTableQualifier().