QCAD
Open Source 2D CAD
DbConnection Class Reference

Provides a connection to a SQLite database. More...

Public Member Functions

void commit ()
 
void createQuery ()
 
void DbConnection (void connectionName)
 
void dump ()
 
void execQuery (void query)
 Executes the given QSqlQuery or SQL string and handles errors if appropriate. More...
 
void prepareQuery (void sql)
 
void rollback ()
 
void transaction ()
 
void vacuum (void sql)
 

Public Attributes

int db
 

Detailed Description

Provides a connection to a SQLite database.

Parameters
connectionNameThe connection name to use.

Constructor & Destructor Documentation

void DbConnection::DbConnection ( void  connectionName)
inline

Member Function Documentation

void DbConnection::commit ( )
inline
void DbConnection::createQuery ( )
inline
void DbConnection::dump ( )
inline
void DbConnection::execQuery ( void  query)
inline

Executes the given QSqlQuery or SQL string and handles errors if appropriate.

void DbConnection::prepareQuery ( void  sql)
inline
void DbConnection::rollback ( )
inline
void DbConnection::transaction ( )
inline
void DbConnection::vacuum ( void  sql)
inline

Member Data Documentation

int DbConnection::db

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