KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
KviXmlHandler Class Reference
+ Inheritance diagram for KviXmlHandler:

Public Member Functions

bool characters (const QString &szChars) override
 
bool endDocument () override
 
bool endElement (const QString &szNamespaceUri, const QString &szLocalName, const QString &szQualifiedName) override
 
bool error (const QXmlParseException &exception) override
 
QString errorString () const override
 
bool fatalError (const QXmlParseException &exception) override
 
 KviXmlHandler (KvsObject_xmlReader *pReader)
 
bool startDocument () override
 
bool startElement (const QString &szNamespaceUri, const QString &szLocalName, const QString &szQualifiedName, const QXmlAttributes &attrs) override
 
bool warning (const QXmlParseException &exception) override
 
 ~KviXmlHandler () override=default
 

Protected Attributes

KvsObject_xmlReaderm_pReader
 
QString m_szErrorString
 

Private Member Functions

void decodeException (QString &szMsg, bool bError, const QXmlParseException &exception)
 
bool handleKvsCallReturnValue (KviKvsVariant *pRetVal)
 
bool kvsCodeAbort ()
 
bool kvsCodeFailure ()
 

Constructor & Destructor Documentation

KviXmlHandler::KviXmlHandler ( KvsObject_xmlReader pReader)
inline

References m_pReader.

KviXmlHandler::~KviXmlHandler ( )
overridedefault

Member Function Documentation

bool KviXmlHandler::characters ( const QString &  szChars)
inlineoverride
void KviXmlHandler::decodeException ( QString &  szMsg,
bool  bError,
const QXmlParseException &  exception 
)
inlineprivate

References __tr2qs_ctx().

Referenced by error(), fatalError(), and warning().

bool KviXmlHandler::endDocument ( )
inlineoverride
bool KviXmlHandler::endElement ( const QString &  szNamespaceUri,
const QString &  szLocalName,
const QString &  szQualifiedName 
)
inlineoverride
bool KviXmlHandler::error ( const QXmlParseException &  exception)
inlineoverride
QString KviXmlHandler::errorString ( ) const
inlineoverride

References m_szErrorString.

bool KviXmlHandler::fatalError ( const QXmlParseException &  exception)
inlineoverride
bool KviXmlHandler::handleKvsCallReturnValue ( KviKvsVariant pRetVal)
inlineprivate
bool KviXmlHandler::kvsCodeAbort ( )
inlineprivate

References __tr2qs_ctx(), and m_szErrorString.

Referenced by handleKvsCallReturnValue().

bool KviXmlHandler::kvsCodeFailure ( )
inlineprivate
bool KviXmlHandler::startDocument ( )
inlineoverride
bool KviXmlHandler::startElement ( const QString &  szNamespaceUri,
const QString &  szLocalName,
const QString &  szQualifiedName,
const QXmlAttributes &  attrs 
)
inlineoverride
bool KviXmlHandler::warning ( const QXmlParseException &  exception)
inlineoverride

Member Data Documentation

KvsObject_xmlReader* KviXmlHandler::m_pReader
protected
QString KviXmlHandler::m_szErrorString
protected

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