MSqlDatabase Class Reference

#include <mythdbcon.h>

List of all members.


Detailed Description

QSqlDatabase wrapper, used by MSqlQuery. Do not use directly.

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

Constructor & Destructor Documentation

MSqlDatabase::MSqlDatabase ( const QString &  name  ) 

Definition at line 12 of file mythdbcon.cpp.

MSqlDatabase::~MSqlDatabase ( void   ) 

Definition at line 26 of file mythdbcon.cpp.


Member Function Documentation

bool MSqlDatabase::isOpen ( void   )  [private]

Definition at line 36 of file mythdbcon.cpp.

Referenced by MSqlQuery::MSqlQuery().

bool MSqlDatabase::OpenDatabase ( void   )  [private]

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().


Friends And Related Function Documentation

friend class MDBManager [friend]

Definition at line 18 of file mythdbcon.h.

friend class MSqlQuery [friend]

Definition at line 19 of file mythdbcon.h.


Member Data Documentation

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]

QDateTime MSqlDatabase::m_lastDBKick [private]

Definition at line 33 of file mythdbcon.h.

Referenced by KickDatabase(), and MSqlDatabase().


The documentation for this class was generated from the following files:

Generated on Sat Jul 31 05:18:43 2010 for MythTV by  doxygen 1.5.5