##// END OF EJS Templates
lfrsgse is a QMainWindow...
lfrsgse is a QMainWindow Reorganize HK information display

File last commit:

r23:23c09fe5a8b6 default
r39:f8ba3aa4aa6e default
Show More
lfrxmlhandler.h
39 lines | 911 B | text/x-c | CLexer
#ifndef LFRXMLHANDLER_H
#define LFRXMLHANDLER_H
#include <QObject>
#include <QXmlDefaultHandler>
#include "tmpackettoread.h"
class LFRXmlHandler : public QObject, public QXmlDefaultHandler
{
Q_OBJECT
public:
explicit LFRXmlHandler(QObject *parent = 0);
bool startDocument();
bool startElement(const QString &, const QString &, const QString &qName,
const QXmlAttributes &);
bool endElement(const QString &, const QString &, const QString & qName);
bool fatalError(const QXmlParseException &exception);
QStringList& names();
QList<int>& indentations();
void packetStoreHasChanged(QList<TMPacketToRead*> *ccsdsPacketStore);
private:
QList<TMPacketToRead*> *ccsdsPacketStore;
int indentationLevel;
QStringList elementName;
QList<int> elementIndentation;
signals:
void displayMessage(QString);
};
#endif // LFRXMLHANDLER_H