Salome HOME
removed DEBUG macros
[modules/gui.git] / src / LightApp / LightApp_DataModel.cxx
index e057671aac23cc9d08eea90ed24674ddf883831b..3c2f50c54489e7d00c9d5170bd6ef21f21939a44 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
+// Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 #include <SUIT_DataBrowser.h>
 #include <SUIT_DataObject.h>
 
-//---------------------------------------------------------
-#define USE_DEBUG
-//#define MB_IGNORE_QT
-//#define MB_FULL_DUMP
-#define MBCLASSNAME "LightApp_DataModel"
-#include "MBDebug.h"
-// <-- insert includes for addtional debug headers here!
-//---------------------------------------------------------
 
 /*!
   Constructor
@@ -49,7 +41,6 @@
 LightApp_DataModel::LightApp_DataModel( CAM_Module* theModule )
 : CAM_DataModel( theModule )
 {
-  DBG_FUN();
   myGroupId = 0;
   if( module() )
         myGroupId = qHash( module()->name() );
@@ -60,7 +51,6 @@ LightApp_DataModel::LightApp_DataModel( CAM_Module* theModule )
 */
 LightApp_DataModel::~LightApp_DataModel()
 {
-  DBG_FUN();
 }
 
 /*!
@@ -68,7 +58,6 @@ LightApp_DataModel::~LightApp_DataModel()
 */
 bool LightApp_DataModel::open( const QString&, CAM_Study*, QStringList )
 {
-  DBG_FUN();
   emit opened(); //TODO: is it really needed? to be removed maybe...
   return true;
 }
@@ -78,7 +67,6 @@ bool LightApp_DataModel::open( const QString&, CAM_Study*, QStringList )
 */
 bool LightApp_DataModel::save( QStringList& )
 {
-  DBG_FUN();
   emit saved();
   return true;
 }
@@ -88,8 +76,6 @@ bool LightApp_DataModel::save( QStringList& )
 */
 bool LightApp_DataModel::saveAs( const QString&, CAM_Study*, QStringList&, bool isBackup/*=false*/ )
 {
-  DBG_FUN();
-  ARG(isBackup);
   if (!isBackup)
     emit saved();
   return true;
@@ -109,7 +95,6 @@ bool LightApp_DataModel::dumpPython( const QString&, CAM_Study*, bool, QStringLi
 */
 bool LightApp_DataModel::close()
 {
-  DBG_FUN();
   emit closed();
   return true;
 }
@@ -136,7 +121,6 @@ void LightApp_DataModel::updateWidgets()
 */
 void LightApp_DataModel::update( LightApp_DataObject*, LightApp_Study* )
 {
-  DBG_FUN();
   // san: Previously modelRoot was casted to LightApp_ModuleObject*,
   // BUT this is incorrect: in full SALOME the model root has different type.
   // Hopefully LightApp_DataObject* is sufficient here.