Salome HOME
Issue #653 - Double and triple click edges -- Fix Debian dynamic_pointer_cast problem...
[modules/shaper.git] / src / ModuleBase / ModuleBase_IDocumentDataModel.h
index b18866eeae01c1bdd238d0cc1449ffb053360b77..a5e3d95c854b3733f5a8555102734aecbf640859 100644 (file)
@@ -16,7 +16,7 @@ class MODULEBASE_EXPORT ModuleBase_IDocumentDataModel : public QAbstractItemMode
 {
 Q_OBJECT
 public:
-  ModuleBase_IDocumentDataModel(QObject* theParent): QAbstractItemModel(theParent) {}
+  ModuleBase_IDocumentDataModel(QObject* theParent);
 
   //! Returns an object by the given Model index.
   //! Returns 0 if the given index is not index of an object
@@ -27,10 +27,10 @@ public:
   virtual QModelIndex objectIndex(const ObjectPtr theObject) const = 0;
 
   //! Clear internal data
-  virtual void clear() {}
+  virtual void clear();
 
   //! Rebuild data tree
-  virtual void rebuildDataTree() {}
+  virtual void rebuildDataTree();
 };
 
 #endif
\ No newline at end of file