Used to connect tagNames to EXmlItem's.
More...
#include <exmlparseritem.h>
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.
◆ EXmlParserItem()
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::~EXmlParserItem |
( |
| ) |
|
|
inline |
◆ load()
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.
◆ tagName()
| QString EXmlParserItem::tagName |
( |
| ) |
const |
◆ callback
◆ model
◆ myTagName
| QString EXmlParserItem::myTagName |
|
private |
The documentation for this class was generated from the following files: