• 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
spectrumparser.h
Go to the documentation of this file.
1 #ifndef SPECTRUMPARSER_H
2 #define SPECTRUMPARSER_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 "libkdeedu_science_export.h"
17 
18 #include <QtCore/QFile>
19 #include <QtXml/QtXml>
20 
21 #include "spectrum.h"
22 
23 #include "chemicaldataobject.h"
24 
25 class Spectrum;
26 
30 class SCIENCE_EXPORT SpectrumParser : public QXmlDefaultHandler
31 {
32 public:
36  SpectrumParser();
37  ~SpectrumParser();
38  bool startElement( const QString&, const QString &localName, const QString&, const QXmlAttributes &attrs );
39 
40  bool endElement( const QString& namespaceURI, const QString &localName, const QString& qName );
41 
42  bool characters(const QString &ch);
43 
44  QList<Spectrum*> getSpectrums();
45 
46 private:
47  QString currentElementID;
48 
49 private:
50  class Private;
51  Private *const d;
52 };
53 #endif // SPECTRUMPARSER_H
54 
libkdeedu_science_export.h
Spectrum
Definition: spectrum.h:35
spectrum.h
chemicaldataobject.h
QXmlDefaultHandler
SpectrumParser
Definition: spectrumparser.h:30
SCIENCE_EXPORT
#define SCIENCE_EXPORT
Definition: libkdeedu_science_export.h:32
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