Static Public Member Functions | Protected Attributes | Protected Member Functions | Static Protected Member Functions | Static Protected Attributes
ErrorReporter Class Reference

#include <errorReporter.h>

List of all members.

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]

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 ( ) [static, protected]

Member Data Documentation

ErrorReporterPrivate* ErrorReporter::_private [protected]
ErrorReporter * ErrorReporter::_singleton = 0 [static, protected]

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

Generated on Mon Jan 23 2012 12:22:33 xTuple ERP Programmer Reference, Version 3.8.0 doxygen 1.7.6.1