jovie
xhtml2ssml.cpp
Go to the documentation of this file.
40 std::cerr << "Could not read config file 'tagmappingrc'. Please check that it exists and is readable.\n";
57 bool XHTMLToSSMLParser::startElement(const QString &, const QString &, const QString &qName, const QXmlAttributes &atts) {
65 // If this element is one of the keys that was specified in the configuration file, get what it should be converted to and
101 // the second parameter to split is the string, with all space simplified and all space around the : removed, i.e
103 QStringList keyvalue = QString( ':').replace(':').split( ':', line.simplified().replace(' :', ':'));
bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
start of an element encountered ()
Definition: xhtml2ssml.cpp:57
QString convertedText()
Get the output text that was generated during the parsing.
Definition: xhtml2ssml.cpp:87
bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
end of an element encountered ()
Definition: xhtml2ssml.cpp:73
static XMLElement fromQString(const QString &str)
Create an XMLElement from a QString.
Definition: xmlelement.cpp:87
bool readFileConfigEntry(const QString &line)
Parse a line from the configuration file which maps xhtml : ssml equivalent.
Definition: xhtml2ssml.cpp:95
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:32:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:32:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.