Salome HOME
Mantis 23461 - MED module exception
[modules/med.git] / src / MEDCalc / gui / PresentationController.hxx
index 39d58a3e789088cfd6398459cd4098567e9bb6e1..7faa1a4dc2a922910bb9325691a37d0bc94aa04e 100644 (file)
@@ -76,24 +76,24 @@ protected slots:
   void onPresentationSelected(int presId, const QString& presType, const QString& presName);
 
   void processWorkspaceEvent(const MEDCALC::MedEvent*);
-  void processPresentationEvent(const PresentationEvent* event);
+  void processPresentationEvent(const PresentationEvent*);
 
 private:
   void visualize(PresentationEvent::EventType);
-  void updateTreeViewWithNewPresentation(long, long);
-  void updateTreeViewForPresentationRemoval(long);
+  void updateTreeViewWithNewPresentation(long dataId, long presentationId);
+  void updateTreeViewForPresentationRemoval(long presId);
   std::string _getIconName(const std::string&);
   MEDWidgetHelper * findOrCreateWidgetHelper(MEDCALC::MEDPresentationManager_ptr presManager,
                                              int presId, const std::string& type, const std::string& name);
 
-  int getIntParamFromStudyEditor(SALOMEDS::SObject_var obj, const char * name);
-
   QString getViewModePython() const;
   QString getColorMapPython() const;
   QString getScalarBarRangePython() const;
   QString getMeshModePython(const int mode) const;
   QString getSliceOrientationPython(const int orient) const;
 
+  void _dealWithReplaceMode();
+
 private:
   MEDModule* _salomeModule;
   XmedConsoleDriver* _consoleDriver;   // the same as in WorkspaceController