20 #ifndef EXMLSTANDARDROOTITEM_H
21 #define EXMLSTANDARDROOTITEM_H
50 QVariant
data(
int column,
int role = Qt::DisplayRole)
const;
51 bool load(
const QDomElement element, QMap< QString, EXmlParserItem* > parser);
52 bool save(QDomElement& useElem);
56 #endif // EXMLSTANDARDROOTITEM_H
virtual bool save(QDomElement &useElem)
Definition: exmlitem.cpp:34
An EXmlItem is used to handle XML tags and it's atrributes and or child tags.
Definition: exmlitem.h:48
#define E_CORE_EXPORT
Definition: eglobal.h:107
A standard root item for EXmlModels.
Definition: exmlstandardrootitem.h:44
EXmlStandardRootItem(QString tagName)
Definition: exmlstandardrootitem.h:48
ExmlModel is a base class to handle XML files very easily.
Definition: exmlmodel.h:60
virtual EXmlItem * copy() const =0
Returns a pointer to a new element, copied from this one.
virtual bool load(const QDomElement element, QMap< QString, EXmlParserItem * > parser)=0
virtual QVariant data(int column, int role=Qt::DisplayRole) const =0
used by EXmlModel::data() to retrieve the role data of this item.