LibEngsas
Public Member Functions | List of all members
EDependencyModel Class Reference

#include <edependencymodel.h>

+ Inheritance diagram for EDependencyModel:
+ Collaboration diagram for EDependencyModel:

Public Member Functions

 EDependencyModel (QObject *parent=0)
- Public Member Functions inherited from EXmlModel
 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 ()
EXmlItemitemFromIndex (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.
EXmlItemrootItem () 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())
- Public Member Functions inherited from EAbstractItemModel
 EAbstractItemModel (QObject *parent=0)
virtual ~EAbstractItemModel ()

Additional Inherited Members

- Signals inherited from EXmlModel
void modified (bool status)
- Static Public Member Functions inherited from EAbstractItemModel
static void connectByPass (QObject *parent, EAbstractItemModel *child)
static void connectByPass (EAbstractItemModel *parent, QObject *child)
- Protected Slots inherited from EXmlModel
virtual void itemChanged (EXmlItem *item)
 Reimplement this slot, if you want to recieve EXmlItem::changed() signals.
virtual void itemRowsAboutToBeInserted (EXmlItem *parent, int start, int end)
 Called by rootItem() signal EXmlItem::rowsAboutToBeInserted().
virtual void itemRowsInserted ()
 Called by rootItem() signal EXmlItem::rowsInserted().
virtual void itemRowsAboutToBeRemoved (EXmlItem *parent, int start, int end)
 Called by rootItem() signal EXmlItem::rowsAboutToBeRemoved().
virtual void itemRowsRemoved ()
 Called by rootItem() signal EXmlItem::rowsRemoved().
- Protected Member Functions inherited from EXmlModel
bool registerParser (EXmlItem *(*createCallback)(EXmlModel *))
void setValidationSchema (QUrl url)
virtual bool prepareForSaving ()
 Called by save(QDomElement) to prepare model for saving.
- Protected Attributes inherited from EXmlModel
QStringList headerList

Constructor & Destructor Documentation

EDependencyModel::EDependencyModel ( QObject *  parent = 0)

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: