KD Reports API Documentation
2.2
|
#include <KDReportsErrorDetails.h>
Public Member Functions | |
ErrorDetails () | |
ErrorDetails (const ErrorDetails &other) | |
ErrorDetails (const QString &message) | |
~ErrorDetails () | |
int | column () const |
QString | driverMessage () const |
bool | hasError () const |
int | line () const |
QString | message () const |
ErrorDetails & | operator= (const ErrorDetails &other) |
void | setColumn (int column) |
void | setDriverMessage (const QString &message) |
void | setLine (int line) |
void | swap (ErrorDetails &other) |
The ErrorDetails class is used for transferring errors when parsing XML
Definition at line 25 of file KDReportsErrorDetails.h.
KDReports::ErrorDetails::ErrorDetails | ( | ) |
Definition at line 15 of file KDReportsErrorDetails.cpp.
|
explicit |
Definition at line 20 of file KDReportsErrorDetails.cpp.
References message(), and setDriverMessage().
KDReports::ErrorDetails::ErrorDetails | ( | const ErrorDetails & | other | ) |
Definition at line 81 of file KDReportsErrorDetails.cpp.
KDReports::ErrorDetails::~ErrorDetails | ( | ) |
Definition at line 77 of file KDReportsErrorDetails.cpp.
int KDReports::ErrorDetails::column | ( | ) | const |
Definition at line 44 of file KDReportsErrorDetails.cpp.
QString KDReports::ErrorDetails::driverMessage | ( | ) | const |
Definition at line 54 of file KDReportsErrorDetails.cpp.
bool KDReports::ErrorDetails::hasError | ( | ) | const |
Definition at line 49 of file KDReportsErrorDetails.cpp.
int KDReports::ErrorDetails::line | ( | ) | const |
Definition at line 39 of file KDReportsErrorDetails.cpp.
QString KDReports::ErrorDetails::message | ( | ) | const |
Definition at line 26 of file KDReportsErrorDetails.cpp.
Referenced by ErrorDetails().
KDReports::ErrorDetails & KDReports::ErrorDetails::operator= | ( | const ErrorDetails & | other | ) |
Definition at line 86 of file KDReportsErrorDetails.cpp.
void KDReports::ErrorDetails::setColumn | ( | int | column | ) |
Definition at line 65 of file KDReportsErrorDetails.cpp.
Referenced by KDReports::Report::loadFromXML().
void KDReports::ErrorDetails::setDriverMessage | ( | const QString & | message | ) |
Set the lowlevel message. This excludes line and/or column numbers.
Definition at line 71 of file KDReportsErrorDetails.cpp.
Referenced by ErrorDetails(), and KDReports::Report::loadFromXML().
void KDReports::ErrorDetails::setLine | ( | int | line | ) |
Definition at line 59 of file KDReportsErrorDetails.cpp.
Referenced by KDReports::Report::loadFromXML().
void KDReports::ErrorDetails::swap | ( | ErrorDetails & | other | ) |