Fotobot
Get data from your photovoltaic plant
Public Member Functions | Private Member Functions | List of all members
MSqlQuery Class Reference

Extends class QSqlQuery - adds a diagnostics and logging. More...

#include <msqlquery.h>

Inheritance diagram for MSqlQuery:

Public Member Functions

 MSqlQuery (QString)
 
 MSqlQuery (QSqlDatabase)
 
bool exec (const QString &query)
 
bool exec ()
 

Private Member Functions

void isError ()
 

Detailed Description

Extends class QSqlQuery - adds a diagnostics and logging.

Wrapper about QSqlQuery::exec() and QSqlQuery::exec(const QString&). Original QSqlQuery runs quietly. This wrapper search for an error and writes the error message to qDebug() stream.

Definition at line 22 of file msqlquery.h.


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