// Constructor *************************************************
-XGUI_DataModel::XGUI_DataModel(QObject* theParent) : QAbstractItemModel(theParent)
+XGUI_DataModel::XGUI_DataModel(QObject* theParent) : ModuleBase_IDocumentDataModel(theParent)
{
myXMLReader.readAll();
#include <ModelAPI_Object.h>
#include <ModelAPI_Document.h>
#include <Config_DataModelReader.h>
-#include <QAbstractItemModel>
+#include <ModuleBase_IDocumentDataModel.h>
#include <Events_Listener.h>
* - An index which contains internal pointer as ModelAPI_Object its the object
* - An index which contains internal pointer as ModelAPI_Document is a folder which belongs to this document
*/
-class XGUI_EXPORT XGUI_DataModel : public QAbstractItemModel, public Events_Listener
+class XGUI_EXPORT XGUI_DataModel : public ModuleBase_IDocumentDataModel, public Events_Listener
{
Q_OBJECT
public: