List of all members | Static Public Member Functions | Protected Attributes | Protected Member Functions | Static Protected Member Functions | Static Protected Attributes
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 QString &err, 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 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 QString &userMessage, 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 &userMessage, const QSqlQuery &qry, const QString file=QString(), int line=-1)
 

Protected Attributes

ErrorReporterPrivate * _private
 

Protected Member Functions

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

Static Protected Member Functions

static ErrorReporterreporter ()
 

Static Protected Attributes

static ErrorReporter_singleton = 0
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

ErrorReporterPrivate* ErrorReporter::_private
protected
ErrorReporter * ErrorReporter::_singleton = 0
staticprotected

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

Generated on Fri Oct 7 2016 14:23:29 xTuple ERP Programmer Reference, Version 4.2.0 doxygen 1.8.10