svgui  1.9
TipDialog::TipFileParser Class Reference

#include <TipDialog.h>

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

Public Member Functions

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

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

◆ TipFileParser()

TipDialog::TipFileParser::TipFileParser ( TipDialog dialog)

Definition at line 163 of file TipDialog.cpp.

◆ ~TipFileParser()

TipDialog::TipFileParser::~TipFileParser ( )
virtual

Definition at line 171 of file TipDialog.cpp.

Member Function Documentation

◆ parse()

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

Definition at line 176 of file TipDialog.cpp.

Referenced by TipDialog::readTips().

◆ startElement()

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

Definition at line 185 of file TipDialog.cpp.

◆ characters()

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

Definition at line 264 of file TipDialog.cpp.

◆ endElement()

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

Definition at line 232 of file TipDialog.cpp.

◆ error()

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

Definition at line 276 of file TipDialog.cpp.

◆ fatalError()

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

Definition at line 288 of file TipDialog.cpp.

Member Data Documentation

◆ m_dialog

TipDialog* TipDialog::TipFileParser::m_dialog
protected

Definition at line 77 of file TipDialog.h.

◆ m_inTip

bool TipDialog::TipFileParser::m_inTip
protected

Definition at line 79 of file TipDialog.h.

◆ m_inText

bool TipDialog::TipFileParser::m_inText
protected

Definition at line 80 of file TipDialog.h.

◆ m_inHtml

bool TipDialog::TipFileParser::m_inHtml
protected

Definition at line 81 of file TipDialog.h.


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