TipDialog::TipFileParser Class Reference

#include <TipDialog.h>

Inheritance diagram for TipDialog::TipFileParser:
Inheritance graph
Collaboration diagram for TipDialog::TipFileParser:
Collaboration graph

Public Member Functions

 TipFileParser (TipDialog *dialog)
 
virtual ~TipFileParser ()
 
void parse (QXmlInputSource &source)
 
bool startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) override
 
bool characters (const QString &) override
 
bool endElement (const QString &namespaceURI, const QString &localName, const QString &qName) override
 
bool error (const QXmlParseException &exception) override
 
bool fatalError (const QXmlParseException &exception) override
 

Protected Attributes

TipDialogm_dialog
 
bool m_inTip
 
bool m_inText
 
bool m_inHtml
 

Detailed Description

Definition at line 54 of file TipDialog.h.

Constructor & Destructor Documentation

TipDialog::TipFileParser::TipFileParser ( TipDialog dialog)

Definition at line 163 of file TipDialog.cpp.

TipDialog::TipFileParser::~TipFileParser ( )
virtual

Definition at line 171 of file TipDialog.cpp.

Member Function Documentation

void TipDialog::TipFileParser::parse ( QXmlInputSource &  source)

Definition at line 176 of file TipDialog.cpp.

Referenced by TipDialog::readTips().

bool TipDialog::TipFileParser::startElement ( const QString &  namespaceURI,
const QString &  localName,
const QString &  qName,
const QXmlAttributes &  atts 
)
override

Definition at line 185 of file TipDialog.cpp.

References TipDialog::m_caption, m_dialog, m_inHtml, m_inText, m_inTip, and TipDialog::m_tips.

bool TipDialog::TipFileParser::characters ( const QString &  text)
override

Definition at line 264 of file TipDialog.cpp.

References m_dialog, m_inHtml, m_inText, and TipDialog::m_tips.

bool TipDialog::TipFileParser::endElement ( const QString &  namespaceURI,
const QString &  localName,
const QString &  qName 
)
override

Definition at line 232 of file TipDialog.cpp.

References m_dialog, m_inHtml, m_inText, m_inTip, and TipDialog::m_tips.

bool TipDialog::TipFileParser::error ( const QXmlParseException &  exception)
override

Definition at line 276 of file TipDialog.cpp.

bool TipDialog::TipFileParser::fatalError ( const QXmlParseException &  exception)
override

Definition at line 288 of file TipDialog.cpp.

Member Data Documentation

TipDialog* TipDialog::TipFileParser::m_dialog
protected

Definition at line 77 of file TipDialog.h.

Referenced by characters(), endElement(), and startElement().

bool TipDialog::TipFileParser::m_inTip
protected

Definition at line 79 of file TipDialog.h.

Referenced by endElement(), and startElement().

bool TipDialog::TipFileParser::m_inText
protected

Definition at line 80 of file TipDialog.h.

Referenced by characters(), endElement(), and startElement().

bool TipDialog::TipFileParser::m_inHtml
protected

Definition at line 81 of file TipDialog.h.

Referenced by characters(), endElement(), and startElement().


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