28
testHasttable/elementhashtable.h
Normal file
28
testHasttable/elementhashtable.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef ELEMENTHASHTABLE_H
|
||||
#define ELEMENTHASHTABLE_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QXmlStreamReader>
|
||||
#include <QString>
|
||||
#include <QDebug>
|
||||
#include <QFile>
|
||||
#include <QHash>
|
||||
#include "BasicElementInfo.h"
|
||||
#include "subcontrolarea.h"
|
||||
class ElementHashtable : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ElementHashtable(QObject *parent = 0);
|
||||
bool parse(const QString& xmlPath);
|
||||
private:
|
||||
bool child(QXmlStreamReader &reader);
|
||||
QHash<QString,BasicElementInfo> eleHT;
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
};
|
||||
|
||||
#endif // ELEMENTHASHTABLE_H
|
||||
Reference in New Issue
Block a user