Used to connect tagNames to EXmlItem's.
More...
#include <exmlparseritem.h>
Detailed Description
Used to connect tagNames to EXmlItem's.
The given callback function is used to create an instance of the connected EXmlItem Implementation when load is called. The pointer to EXmlModel is used to provide it to the create callback function.
- Note
- tagName() is turned into lowercase.
Constructor & Destructor Documentation
tagName
is the name of the tag, which can be handle callback
is the function, which can be used to create an instance of the EXmlItem implementation, which can handle tagName
model
is the pointer the EXmlModel, which should be passed to callback
, if called.
EXmlParserItem::~EXmlParserItem |
( |
| ) |
|
|
inline |
Member Function Documentation
Calls the callback function to create an instance of EXmlItem. Afterwards it sets the parent
of the returned item and calls EXmlItem::load() afterwards to load the XML data. The parameter model
contains a pointer to the model, where the created EXmlItem is used in.
QString EXmlParserItem::tagName |
( |
| ) |
const |
Member Data Documentation
QString EXmlParserItem::myTagName |
|
private |
The documentation for this class was generated from the following files: