List of all members | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
ErrorReporter Class Reference

#include <errorReporter.h>

Inheritance diagram for ErrorReporter:
QObject

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 Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17