summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cord-Landwehr <cordlandwehr@kde.org>2015-09-27 16:08:34 (GMT)
committerAndreas Cord-Landwehr <cordlandwehr@kde.org>2015-09-27 16:08:34 (GMT)
commit1190ea4de7aaff1a016114c2c88ede127d55a3a4 (patch)
tree6f1ce51b39863a0deb05fb27fdf0a58ffb249b4d
parentb47c4da2fdddaac7178a35a37037430698239c8a (diff)
Revert changes on OpenBabel2Wrapper.
Revert corresponding changes from 1004a6cdae28afc80aec46a29dc4f0b710463628 they are not needed.
-rw-r--r--compoundviewer/openbabel2wrapper.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/compoundviewer/openbabel2wrapper.h b/compoundviewer/openbabel2wrapper.h
index 0883977..f16818f 100644
--- a/compoundviewer/openbabel2wrapper.h
+++ b/compoundviewer/openbabel2wrapper.h
@@ -18,7 +18,6 @@
//includes for OpenBabel2
#include <openbabel/obconversion.h>
#include <openbabel/mol.h>
-#include <qglobal.h>
#include <avogadro/molecule.h>
#include <libkdeedu_compoundviewer_export.h>
@@ -35,11 +34,11 @@ public:
*/
static Avogadro::Molecule *readMolecule(const QString& filename);
- bool writeMolecule(const QString& filename, Avogadro::Molecule *);
+ static bool writeMolecule(const QString& filename, Avogadro::Molecule *);
- QString getFormula(Avogadro::Molecule *molecule);
+ static QString getFormula(Avogadro::Molecule *molecule);
- QString getPrettyFormula(Avogadro::Molecule *molecule);
+ static QString getPrettyFormula(Avogadro::Molecule *molecule);
};
#endif // OPENBABEL2WRAPPER_H