Public Member Functions | Protected Member Functions | Protected Attributes
HtmlReporter Class Reference

#include <HtmlReporter.h>

Inheritance diagram for HtmlReporter:
Inheritance graph
[legend]
Collaboration diagram for HtmlReporter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 HtmlReporter ()
virtual void tagValuePair (const QString &tag, const QString &value)
QByteArray toQByteArray () const
 return the qbytearray that contains the report, ready for being written to a file.
virtual bool allowSvg () const

Protected Member Functions

QString toggleAbleBlocks (const QString &title, bool showByDefault)
virtual void subBlock (const Block &value, const QString &tag)
virtual void arrayStart (int count, const QString &title, bool defaultShown)
virtual void arrayEnd (int count)

Protected Attributes

int linkNumber
int toggleNumber
QByteArray linkCollected
QTextStream linkCollector

Constructor & Destructor Documentation

HtmlReporter::HtmlReporter ( )

References linkCollector.


Member Function Documentation

bool HtmlReporter::allowSvg ( ) const [virtual]

Implements Reporter.

void HtmlReporter::arrayEnd ( int  count) [protected, virtual]

Reimplemented from Reporter.

References Reporter::collector.

void HtmlReporter::arrayStart ( int  count,
const QString &  title,
bool  defaultShown 
) [protected, virtual]

Reimplemented from Reporter.

References Reporter::collector, and toggleAbleBlocks().

void HtmlReporter::subBlock ( const Block value,
const QString &  tag 
) [protected, virtual]
void HtmlReporter::tagValuePair ( const QString &  tag,
const QString &  value 
) [virtual]

Implements Reporter.

References Reporter::collector.

QString HtmlReporter::toggleAbleBlocks ( const QString &  title,
bool  showByDefault 
) [protected]

References toggleNumber.

Referenced by arrayStart(), and subBlock().

QByteArray HtmlReporter::toQByteArray ( ) const [virtual]

return the qbytearray that contains the report, ready for being written to a file.

Implements Reporter.

References Reporter::collected, Reporter::collector, linkCollected, linkCollector, loadFile(), and Reporter::title.


Member Data Documentation

QByteArray HtmlReporter::linkCollected [protected]

Referenced by toQByteArray().

QTextStream HtmlReporter::linkCollector [mutable, protected]
int HtmlReporter::linkNumber [protected]

Referenced by subBlock().

int HtmlReporter::toggleNumber [protected]

Referenced by toggleAbleBlocks().


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