summaryrefslogtreecommitdiffstats
path: root/kttsd/filters/xhtml2ssml/xhtml2ssml.h
diff options
context:
space:
mode:
Diffstat (limited to 'kttsd/filters/xhtml2ssml/xhtml2ssml.h')
-rw-r--r--kttsd/filters/xhtml2ssml/xhtml2ssml.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kttsd/filters/xhtml2ssml/xhtml2ssml.h b/kttsd/filters/xhtml2ssml/xhtml2ssml.h
index 7271dc0..2e45dee 100644
--- a/kttsd/filters/xhtml2ssml/xhtml2ssml.h
+++ b/kttsd/filters/xhtml2ssml/xhtml2ssml.h
@@ -22,40 +22,40 @@
#ifndef _XHTML2SSML_H_
#define _XHTML2SSML_H_
-#include <qxml.h>
-#include <qmap.h>
+#include <tqxml.h>
+#include <tqmap.h>
-typedef QMap<QString, QString> QStringMap;
+typedef TQMap<TQString, TQString> QStringMap;
class QString;
-class XHTMLToSSMLParser : public QXmlDefaultHandler {
+class XHTMLToSSMLParser : public TQXmlDefaultHandler {
public:
/// No need to reimplement constructor..
/// The document parsing starts
bool startDocument();
/// start of an element encountered (<element foo="bar">)
- bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts);
+ bool startElement(const TQString &namespaceURI, const TQString &localName, const TQString &qName, const TQXmlAttributes &atts);
/// end of an element encountered (</element>)
- bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName);
+ bool endElement(const TQString &namespaceURI, const TQString &localName, const TQString &qName);
/// text encountered (blah bah blah)
- bool characters(const QString &);
+ bool characters(const TQString &);
/// Get the output text that was generated during the parsing.
/// @returns The converted text.
- QString convertedText();
+ TQString convertedText();
/// Parse a line from the configuration file which maps xhtml : ssml equivalent.
/// It makes entries in the m_xhtml2ssml map accordingly.
/// @param line A line from a file to parse
/// @returns true if the syntax of the line was okay and the parsing succeeded - false otherwise.
- bool readFileConfigEntry(const QString &line);
+ bool readFileConfigEntry(const TQString &line);
private:
/// Dict of xhtml tags -> ssml tags
QStringMap m_xhtml2ssml;
/// The output of the conversion
- QString m_output;
+ TQString m_output;
};
#endif