12345678910111213141516171819202122232425262728 |
- #ifndef CONFIGXMLPARSER_H
- #define CONFIGXMLPARSER_H
- #include <QString>
- #include <QDomElement>
- #include "generatoroutputview.h"
- #include "generatordata.h"
- class ConfigXmlParser
- {
- public:
- ConfigXmlParser(GeneratorOutputView &outputView, GeneratorData &generatorData);
- bool parse();
- private:
- void handleNode(const QDomElement &element, const QString &keyPrefix);
- void handleChildNodes(const QDomElement &element, const QString &keyPrefix);
- GeneratorOutputView &m_outputView;
- GeneratorData &m_generatorData;
- };
- #endif // CONFIGXMLPARSER_H
|