#include <HtmlReporter.h>


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 |
| HtmlReporter::HtmlReporter | ( | ) |
References linkCollector.
| 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] |
Implements Reporter.
References Reporter::collector, linkCollector, linkNumber, Reporter::nestLevel, toggleAbleBlocks(), and Block::toString().
| 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.
QByteArray HtmlReporter::linkCollected [protected] |
Referenced by toQByteArray().
QTextStream HtmlReporter::linkCollector [mutable, protected] |
Referenced by HtmlReporter(), subBlock(), and toQByteArray().
int HtmlReporter::linkNumber [protected] |
Referenced by subBlock().
int HtmlReporter::toggleNumber [protected] |
Referenced by toggleAbleBlocks().
1.7.4