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

kalzium/libscience

  • sources
  • kde-4.12
  • kdeedu
  • kalzium
  • libscience
elementparser.h
Go to the documentation of this file.
1 #ifndef ELEMENTPARSER_H
2 #define ELEMENTPARSER_H
3 /***************************************************************************
4  copyright : (C) 2005 by Carsten Niehaus
5  email : cniehaus@kde.org
6  ***************************************************************************/
7 /***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
16 #include <QtCore/QList>
17 
18 #include "libkdeedu_science_export.h"
19 
20 #include <QtXml/QtXml>
21 
22 class Element;
23 
27 class SCIENCE_EXPORT ElementSaxParser : public QXmlDefaultHandler
28 {
29 public:
33  ElementSaxParser();
34  ~ElementSaxParser();
35  bool startElement( const QString&, const QString &localName, const QString&, const QXmlAttributes &attrs );
36 
37  bool endElement( const QString& namespaceURI, const QString &localName, const QString& qName );
38 
39  bool characters(const QString &ch);
40 
41  QList<Element*> getElements();
42 
43 private:
60  int unit( const QString& unitname ) const;
61 
62  class Private;
63  Private *const d;
64 };
65 #endif // ELEMENTPARSER_H
libkdeedu_science_export.h
QXmlDefaultHandler
Element
In this class all information about an element are stored.
Definition: element.h:41
SCIENCE_EXPORT
#define SCIENCE_EXPORT
Definition: libkdeedu_science_export.h:32
ElementSaxParser
Definition: elementparser.h:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:31 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalzium/libscience

Skip menu "kalzium/libscience"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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