• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeaccessibility API Reference
  • KDE Home
  • Contact Us
 

jovie

  • sources
  • kde-4.12
  • kdeaccessibility
  • jovie
  • filters
  • xhtml2ssml
filters/xhtml2ssml/main.cpp
Go to the documentation of this file.
1 /**********************************************************************
2  Copyright 2004 by Paul Giannaros <ceruleanblaze@gmail.com>
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or
7  (at your option) version 3.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; if not, write to the Free Software
16  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  ***************************************************************************/
18 
19 #include <QtGui/QApplication>
20 #include <QtCore/QFile>
21 #include <QtXml/QXmlInputSource>
22 #include <QtXml/QXmlSimpleReader>
23 #include <QtCore/QMap>
24 #include <iostream>
25 #include "xhtml2ssml.h"
26 #include "xmlelement.h"
27 
28 int main(int argc, char *argv[]) {
29  QApplication a(argc, argv);
30  QFile f("demonstration.html");
31  QXmlInputSource input(&f);
32  QXmlSimpleReader reader;
33  XHTMLToSSMLParser *parser = new XHTMLToSSMLParser();
34  reader.setContentHandler(parser);
35  reader.parse(input);
36  std::cout << parser->convertedText() << "\n";
37  delete parser;
38  return 0;
39 }
40 
XHTMLToSSMLParser
Definition: xhtml2ssml.h:35
main
int main(int argc, char *argv[])
Definition: filters/xhtml2ssml/main.cpp:28
XHTMLToSSMLParser::convertedText
QString convertedText()
Get the output text that was generated during the parsing.
Definition: xhtml2ssml.cpp:87
xhtml2ssml.h
xmlelement.h
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

KDE's Doxygen guidelines are available online.

jovie

Skip menu "jovie"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeaccessibility API Reference

Skip menu "kdeaccessibility API Reference"
  • jovie

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal