#include <mythdbcon.h>
Definition at line 16 of file mythdbcon.h.
Public Member Functions | |
| MSqlDatabase (const QString &name) | |
| ~MSqlDatabase (void) | |
Private Member Functions | |
| bool | isOpen (void) |
| bool | OpenDatabase (void) |
| bool | KickDatabase (void) |
| QSqlDatabase * | db (void) |
Private Attributes | |
| QString | m_name |
| QSqlDatabase * | m_db |
| QDateTime | m_lastDBKick |
Friends | |
| class | MDBManager |
| class | MSqlQuery |
| MSqlDatabase::MSqlDatabase | ( | const QString & | name | ) |
Definition at line 12 of file mythdbcon.cpp.
| MSqlDatabase::~MSqlDatabase | ( | void | ) |
Definition at line 26 of file mythdbcon.cpp.
| bool MSqlDatabase::isOpen | ( | void | ) | [private] |
| bool MSqlDatabase::OpenDatabase | ( | void | ) | [private] |
Definition at line 49 of file mythdbcon.cpp.
Referenced by MDBManager::getDDCon(), MDBManager::getSchedCon(), and MDBManager::popConnection().
| bool MSqlDatabase::KickDatabase | ( | void | ) | [private] |
Definition at line 119 of file mythdbcon.cpp.
Referenced by MSqlQuery::DDCon(), MSqlQuery::InitCon(), and MSqlQuery::SchedCon().
| QSqlDatabase* MSqlDatabase::db | ( | void | ) | [inline, private] |
Definition at line 28 of file mythdbcon.h.
Referenced by MSqlQuery::DDCon(), MSqlQuery::InitCon(), and MSqlQuery::SchedCon().
friend class MDBManager [friend] |
Definition at line 18 of file mythdbcon.h.
friend class MSqlQuery [friend] |
Definition at line 19 of file mythdbcon.h.
QString MSqlDatabase::m_name [private] |
Definition at line 31 of file mythdbcon.h.
Referenced by MDBManager::CloseDatabases(), MSqlDatabase(), and ~MSqlDatabase().
QSqlDatabase* MSqlDatabase::m_db [private] |
Definition at line 32 of file mythdbcon.h.
Referenced by MDBManager::CloseDatabases(), MSqlQuery::exec(), isOpen(), KickDatabase(), MSqlQuery::lastInsertId(), MSqlDatabase(), OpenDatabase(), MSqlQuery::prepare(), and ~MSqlDatabase().
QDateTime MSqlDatabase::m_lastDBKick [private] |
1.5.5