9 QDomNodeList cn=root.childNodes();
10 QList<QDomElement>ret;
11 for(
int i=0;i<cn.size();i++){
12 QDomElement e=cn.at(i).toElement();
13 if(e.isNull())
continue;
14 if(e.tagName()!=tag)
continue;
22 s=s.trimmed().toLower();
26 if(s==
"true" || s==
"yes")
return true;
static QList< QDomElement > helper_elementsByTagName(const QDomElement &root, QString tag)
Definition: helper_p.h:7
static bool helper_str2bool(QString s)
Definition: helper_p.h:20