Qx v0.5.8
Qt Extensions Library
|
The XmlStreamWriterError class provides a full error object for QXmlStreamWriterError, similar to other Qt classes. QXmlStreamWriter doesn't have an intrinsic error type, but this class can be useful for passing contextual error information when writing XML data so that intent is more clear. More...
#include <qx/xml/qx-xmlstreamwritererror.h>
Public Member Functions | |
XmlStreamWriterError () | |
XmlStreamWriterError (QString errorText) | |
bool | isValid () |
QString | text () |
Qx::XmlStreamWriterError::XmlStreamWriterError | ( | ) |
Constructs an invalid XML stream writer error.
Qx::XmlStreamWriterError::XmlStreamWriterError | ( | QString | errorText | ) |
Constructs a XML stream writer error from errorText.
bool Qx::XmlStreamWriterError::isValid | ( | ) |
Returns true
if the error is valid; otherwise returns false
.
QString Qx::XmlStreamWriterError::text | ( | ) |
Returns error's text.