不是用QStringRef,太容易出错。

Signed-off-by: facat@lab.com <facat@lab.com>
This commit is contained in:
facat@lab.com
2014-11-24 22:01:30 +08:00
parent 407fe62995
commit 8bb30a0940
24 changed files with 128 additions and 71 deletions

View File

@@ -23,9 +23,10 @@ class ElementHashtable : public QObject
public:
explicit ElementHashtable(QObject *parent = 0);
bool parse(const QString& xmlPath);
bool goPath();
private:
bool child(QXmlStreamReader &reader);
QHash<QString,BasicElementInfo> eleHT;
QHash<QString,BasicElementInfo *> eleHT;
signals:
public slots: