Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qsqldatabase.cpp File Reference

(55f46569f3e9688c2a07973923bfda68aa2b0c3e)

#include "qsqldatabase.h"
#include "qsqlquery.h"
#include "qloggingcategory.h"
#include "qcoreapplication.h"
#include "qreadwritelock.h"
#include "qsqldriver.h"
#include "qsqldriver_p.h"
#include "qsqldriverplugin.h"
#include "qsqlindex.h"
#include "QtCore/qapplicationstatic.h"
#include "private/qfactoryloader_p.h"
#include "private/qsqlnulldriver_p.h"
#include "qhash.h"
#include "qthread.h"
#include "moc_qsqldatabase.cpp"
Include dependency graph for qsqldatabase.cpp:

Go to the source code of this file.

Classes

class  QSqlDatabasePrivate

Macros

#define CHECK_QCOREAPPLICATION
#define CHECK_QCOREAPPLICATION_RETVAL

Functions

 Q_GLOBAL_STATIC_WITH_ARGS (QFactoryLoader, loader,(QSqlDriverFactoryInterface_iid, "/sqldrivers"_L1)) namespace
QDebug operator<< (QDebug dbg, const QSqlDatabase &d)

Macro Definition Documentation

◆ CHECK_QCOREAPPLICATION

#define CHECK_QCOREAPPLICATION
Value:
qCWarning(lcSqlDb, "QSqlDatabase requires a QCoreApplication"); \
return; \
}
static bool instanceExists() noexcept
#define Q_UNLIKELY(x)

Definition at line 26 of file qsqldatabase.cpp.

◆ CHECK_QCOREAPPLICATION_RETVAL

#define CHECK_QCOREAPPLICATION_RETVAL
Value:
qCWarning(lcSqlDb, "QSqlDatabase requires a QCoreApplication"); \
return {}; \
}

Definition at line 31 of file qsqldatabase.cpp.

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug dbg,
const QSqlDatabase & d )

Definition at line 1393 of file qsqldatabase.cpp.

◆ Q_GLOBAL_STATIC_WITH_ARGS()

Q_GLOBAL_STATIC_WITH_ARGS ( QFactoryLoader ,
loader ,
(QSqlDriverFactoryInterface_iid, "/sqldrivers"_L1)  )

Definition at line 37 of file qsqldatabase.cpp.