ErrorReporter Class Reference

#include <errorReporter.h>

Static Public Member Functions

static bool error (const QString &err, const QString file=QString(), int line=-1)
 
static bool error (QtMsgType type, QWidget *parent, const QString title, const QSqlError &err, const QString file=QString(), int line=-1)
 
static bool error (QtMsgType type, QWidget *parent, const QString title, const QSqlQuery &qry, const QString file=QString(), int line=-1)
 
static bool error (QtMsgType type, QWidget *parent, const QString title, const QString &err, const QString file=QString(), int line=-1)
 
static bool error (QtMsgType type, QWidget *parent, const QString title, const QString &userMessage, const QSqlError &err, const QString file=QString(), int line=-1)
 
static bool error (QtMsgType type, QWidget *parent, const QString title, const QString &userMessage, const QSqlQuery &qry, const QString file=QString(), int line=-1)
 
static bool error (QtMsgType type, QWidget *parent, const QString title, const QString &userMessage, const QString &err, const QString file, int line)
 
static QString getQueryStoredProcErrorMsg (const QSqlQuery &qry)
 

Protected Member Functions

 ErrorReporter (QObject *parent=0)
 
 ~ErrorReporter ()
 

Static Protected Member Functions

static ErrorReporterreporter ()
 

Protected Attributes

ErrorReporterPrivate * _private
 

Static Protected Attributes

static ErrorReporter_singleton
 

Constructor & Destructor Documentation

◆ ErrorReporter()

ErrorReporter::ErrorReporter ( QObject * parent = 0)
protected

◆ ~ErrorReporter()

ErrorReporter::~ErrorReporter ( )
protected

Member Function Documentation

◆ error() [1/7]

bool ErrorReporter::error ( const QString & err,
const QString file = QString(),
int line = -1 )
static

◆ error() [2/7]

bool ErrorReporter::error ( QtMsgType type,
QWidget * parent,
const QString title,
const QSqlError & err,
const QString file = QString(),
int line = -1 )
static

◆ error() [3/7]

bool ErrorReporter::error ( QtMsgType type,
QWidget * parent,
const QString title,
const QSqlQuery & qry,
const QString file = QString(),
int line = -1 )
static

◆ error() [4/7]

bool ErrorReporter::error ( QtMsgType type,
QWidget * parent,
const QString title,
const QString & err,
const QString file = QString(),
int line = -1 )
static

◆ error() [5/7]

bool ErrorReporter::error ( QtMsgType type,
QWidget * parent,
const QString title,
const QString & userMessage,
const QSqlError & err,
const QString file = QString(),
int line = -1 )
static

◆ error() [6/7]

bool ErrorReporter::error ( QtMsgType type,
QWidget * parent,
const QString title,
const QString & userMessage,
const QSqlQuery & qry,
const QString file = QString(),
int line = -1 )
static

◆ error() [7/7]

bool ErrorReporter::error ( QtMsgType type,
QWidget * parent,
const QString title,
const QString & userMessage,
const QString & err,
const QString file,
int line )
static

◆ getQueryStoredProcErrorMsg()

QString ErrorReporter::getQueryStoredProcErrorMsg ( const QSqlQuery & qry)
static

◆ reporter()

ErrorReporter * ErrorReporter::reporter ( )
staticprotected

Member Data Documentation

◆ _private

ErrorReporterPrivate* ErrorReporter::_private
protected

◆ _singleton

ErrorReporter * ErrorReporter::_singleton
staticprotected

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

Generated on Mon Feb 17 2025 xTuple ERP Programmer Reference, Version 6.2.0 doxygen 1.11.0