Qt 4.8
|
Public Functions | |
void | copy (const QSqlDatabasePrivate *other) |
Copies the connection data from other. More... | |
void | disable () |
void | init (const QString &type) |
Create the actual driver instance type. More... | |
QSqlDatabasePrivate (QSqlDatabase *d, QSqlDriver *dr=0) | |
QSqlDatabasePrivate (const QSqlDatabasePrivate &other) | |
~QSqlDatabasePrivate () | |
Static Public Functions | |
static void | addDatabase (const QSqlDatabase &db, const QString &name) |
static void | cleanConnections () |
static QSqlDatabase | database (const QString &name, bool open) |
static DriverDict & | driverDict () |
static void | invalidateDb (const QSqlDatabase &db, const QString &name, bool doWarn=true) |
static void | removeDatabase (const QString &name) |
static QSqlDatabasePrivate * | shared_null () |
Public Variables | |
QString | connName |
QString | connOptions |
QString | dbname |
QSqlDriver * | driver |
QString | drvName |
QString | hname |
int | port |
QSql::NumericalPrecisionPolicy | precisionPolicy |
QString | pword |
QSqlDatabase * | q |
QAtomicInt | ref |
QString | uname |
Definition at line 132 of file qsqldatabase.cpp.
|
inline |
Definition at line 135 of file qsqldatabase.cpp.
QSqlDatabasePrivate::QSqlDatabasePrivate | ( | const QSqlDatabasePrivate & | other | ) |
Definition at line 171 of file qsqldatabase.cpp.
QSqlDatabasePrivate::~QSqlDatabasePrivate | ( | ) |
Definition at line 186 of file qsqldatabase.cpp.
|
static |
Definition at line 254 of file qsqldatabase.cpp.
Referenced by QSqlDatabase::addDatabase(), and QSqlDatabase::cloneDatabase().
|
static |
Definition at line 192 of file qsqldatabase.cpp.
Referenced by cleanDriverDict().
void QSqlDatabasePrivate::copy | ( | const QSqlDatabasePrivate * | other | ) |
Copies the connection data from other.
Definition at line 294 of file qsqldatabase.cpp.
Referenced by QSqlDatabase::cloneDatabase().
|
static |
Definition at line 271 of file qsqldatabase.cpp.
Referenced by QSqlDatabase::database().
void QSqlDatabasePrivate::disable | ( | ) |
Definition at line 307 of file qsqldatabase.cpp.
Referenced by invalidateDb().
|
static |
Definition at line 215 of file qsqldatabase.cpp.
Referenced by cleanDriverDict(), QSqlDatabase::drivers(), init(), and QSqlDatabase::registerSqlDriver().
void QSqlDatabasePrivate::init | ( | const QString & | type | ) |
Create the actual driver instance type.
Definition at line 762 of file qsqldatabase.cpp.
|
static |
Definition at line 232 of file qsqldatabase.cpp.
|
static |
Definition at line 242 of file qsqldatabase.cpp.
Referenced by QSqlDatabase::removeDatabase().
|
static |
Definition at line 225 of file qsqldatabase.cpp.
Referenced by QSqlDatabase::QSqlDatabase().
QString QSqlDatabasePrivate::connName |
Definition at line 159 of file qsqldatabase.cpp.
Referenced by addDatabase(), and invalidateDb().
QString QSqlDatabasePrivate::connOptions |
Definition at line 158 of file qsqldatabase.cpp.
Referenced by copy(), and QSqlDatabasePrivate().
QString QSqlDatabasePrivate::dbname |
Definition at line 152 of file qsqldatabase.cpp.
Referenced by copy(), and QSqlDatabasePrivate().
QSqlDriver* QSqlDatabasePrivate::driver |
Definition at line 151 of file qsqldatabase.cpp.
Referenced by QSqlDatabasePrivate().
QString QSqlDatabasePrivate::drvName |
Definition at line 156 of file qsqldatabase.cpp.
Referenced by copy(), and QSqlDatabasePrivate().
QString QSqlDatabasePrivate::hname |
Definition at line 155 of file qsqldatabase.cpp.
Referenced by copy(), and QSqlDatabasePrivate().
int QSqlDatabasePrivate::port |
Definition at line 157 of file qsqldatabase.cpp.
Referenced by copy(), and QSqlDatabasePrivate().
QSql::NumericalPrecisionPolicy QSqlDatabasePrivate::precisionPolicy |
Definition at line 160 of file qsqldatabase.cpp.
Referenced by copy(), and QSqlDatabasePrivate().
QString QSqlDatabasePrivate::pword |
Definition at line 154 of file qsqldatabase.cpp.
Referenced by copy(), and QSqlDatabasePrivate().
QSqlDatabase* QSqlDatabasePrivate::q |
Definition at line 150 of file qsqldatabase.cpp.
Referenced by copy(), and QSqlDatabasePrivate().
QAtomicInt QSqlDatabasePrivate::ref |
Definition at line 149 of file qsqldatabase.cpp.
Referenced by invalidateDb().
QString QSqlDatabasePrivate::uname |
Definition at line 153 of file qsqldatabase.cpp.
Referenced by copy(), and QSqlDatabasePrivate().