#include "qsqldatabase.h"
#include "qsqlquery.h"
#include "qdebug.h"
#include "qcoreapplication.h"
#include "qreadwritelock.h"
#include "qsqlresult.h"
#include "qsqldriver.h"
#include "qsqldriverplugin.h"
#include "qsqlindex.h"
#include "private/qfactoryloader_p.h"
#include "private/qsqlnulldriver_p.h"
#include "qmutex.h"
#include "qhash.h"
#include <stdlib.h>
Go to the source code of this file.
◆ cleanDriverDict()
static void cleanDriverDict |
( |
| ) |
|
|
static |
Definition at line 207 of file qsqldatabase.cpp.
Referenced by QSqlDatabasePrivate::driverDict().
static bool qDriverDictInit
static DriverDict & driverDict()
Q_OUTOFLINE_TEMPLATE void qDeleteAll(ForwardIterator begin, ForwardIterator end)
static void cleanConnections()
◆ operator<<()
Definition at line 1567 of file qsqldatabase.cpp.
1570 dbg.
nospace() <<
"QSqlDatabase(invalid)";
1574 dbg.
nospace() <<
"QSqlDatabase(driver=\"" << d.
driverName() <<
"\", database=\"" 1576 <<
", user=\"" << d.
userName() <<
"\", open=" << d.
isOpen() <<
")";
QString userName() const
Returns the connection's user name; it may be empty.
bool isOpen() const
Returns true if the database connection is currently open; otherwise returns false.
QDebug & nospace()
Clears the stream's internal flag that records whether the last character was a space and returns a r...
bool isValid() const
Returns true if the QSqlDatabase has a valid driver.
int port() const
Returns the connection's port number.
QString databaseName() const
Returns the connection's database name, which may be empty.
QString driverName() const
Returns the connection's driver name.
QString hostName() const
Returns the connection's host name; it may be empty.
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
◆ DriverDict
◆ qDriverDictInit
bool qDriverDictInit = false |
|
static |