Public Member Functions |
| EDependencyModel (QObject *parent=0) |
| EXmlModel (QUrl validationUrl, QObject *parent=0) |
virtual | ~EXmlModel () |
bool | load (QDomElement element) |
| Loads the XML structure below and including element .
|
bool | load (QDomDocument document) |
| Overladed of load(QDomElement)
|
bool | load (QFile *file) |
| Overladed of load(QDomDocument)
|
bool | load (QString file) |
| Overladed of load(QFile*)
|
bool | load (QByteArray data) |
| Overloaded of load(QDomDocument).
|
bool | save (QDomElement &useElem) |
bool | save (QFile *file) |
bool | save (QString file) |
QDomDocument | save () |
| The model contained in a QDomDocument.
|
bool | isValidXML () |
EXmlItem * | itemFromIndex (QModelIndex index) const |
QModelIndex | indexFromItem (EXmlItem *item) const |
bool | removeItem (QModelIndex index) |
| Removes and deletes the item with index index .
|
bool | removeItem (EXmlItem *item) |
| Removes and deletes the item item .
|
virtual void | setRootItem (EXmlItem *item) |
| Replaces or sets the current root item to item .
|
EXmlItem * | rootItem () const |
bool | isModified () const |
| Returns true, if the model has been modified since the last save.
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
QModelIndex | parent (const QModelIndex &child) const |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| EAbstractItemModel (QObject *parent=0) |
virtual | ~EAbstractItemModel () |