Salome HOME
KERNEL_ROOT_DIR/include/salome -> KERNEL_INCLUDE_DIRS
[modules/med.git] / src / MEDOP / gui / MEDOPModule.cxx
index 1afb278e46b49ae1700af1302f25c0ea0aeb4a83..b0ba1639377b27e8b25f098c5b5c3b88ba1ca422 100644 (file)
@@ -1,7 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -20,7 +17,7 @@
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
-// Author : Guillaume Boulant (EDF) 
+// Author : Guillaume Boulant (EDF)
 
 #include "MEDOPModule.hxx"
 #include "QtHelper.hxx"
 #include "MEDOPFactoryClient.hxx"
 
 MEDOPModule::MEDOPModule() :
-  StandardApp_Module(),
-  LightApp_Module("MED")
+  StandardApp_Module()
 {
-  // Note that the explicit call to the constructor of LightApp_Module
-  // is needed because the class LightApp_Module does not have
-  // canonical constructor (with no arguments).
-
   // Note also that we can't use the getApp() function here because
   // the initialize(...) function has not been called yet.
 
@@ -64,7 +56,7 @@ Engines::EngineComponent_ptr MEDOPModule::getEngine() const {
  * directory of the module.
  */
 QString MEDOPModule::studyIconName() {
-  return QString("MEDOP_small.png");
+  return tr("ICO_MEDOP_SMALL");
 }
 
 //
@@ -87,7 +79,7 @@ void MEDOPModule::createModuleWidgets() {
   _workspaceController->setDataModel(_xmedDataModel);
 
   connect(_datasourceController, SIGNAL(datasourceSignal(const DatasourceEvent *)),
-         _workspaceController, SLOT(processDatasourceEvent(const DatasourceEvent *)));
+    _workspaceController, SLOT(processDatasourceEvent(const DatasourceEvent *)));
 }
 
 bool MEDOPModule::activateModule( SUIT_Study* theStudy )