My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
LayoutErrorHandler Class Reference
Inheritance diagram for LayoutErrorHandler:

Public Member Functions

 LayoutErrorHandler (const char *fn)
 
bool warning (const QXmlParseException &exception)
 
bool error (const QXmlParseException &exception)
 
bool fatalError (const QXmlParseException &exception)
 
QString errorString ()
 

Private Attributes

QString errorMsg
 
QString fileName
 

Detailed Description

Definition at line 1287 of file layout.cpp.

Constructor & Destructor Documentation

LayoutErrorHandler::LayoutErrorHandler ( const char *  fn)
inline

Definition at line 1290 of file layout.cpp.

: fileName(fn) {}

Member Function Documentation

bool LayoutErrorHandler::error ( const QXmlParseException &  exception)
inline

Definition at line 1298 of file layout.cpp.

References err(), and fileName.

{
err("at line %d column %d of %s: %s\n",
exception.lineNumber(),exception.columnNumber(),fileName.data(),
exception.message().data());
return FALSE;
}
QString LayoutErrorHandler::errorString ( )
inline

Definition at line 1312 of file layout.cpp.

{ return ""; }
bool LayoutErrorHandler::fatalError ( const QXmlParseException &  exception)
inline

Definition at line 1305 of file layout.cpp.

References err(), and fileName.

{
err("fatal: at line %d column %d of %s: %s\n",
exception.lineNumber(),exception.columnNumber(),fileName.data(),
exception.message().data());
return FALSE;
}
bool LayoutErrorHandler::warning ( const QXmlParseException &  exception)
inline

Definition at line 1291 of file layout.cpp.

References fileName, and warn_uncond().

{
warn_uncond("at line %d column %d of %s: %s\n",
exception.lineNumber(),exception.columnNumber(),fileName.data(),
exception.message().data());
return FALSE;
}

Member Data Documentation

QString LayoutErrorHandler::errorMsg
private

Definition at line 1315 of file layout.cpp.

QString LayoutErrorHandler::fileName
private

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