]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Removed method getVisualDump
authorsrn <srn@opencascade.com>
Thu, 9 Feb 2006 11:57:19 +0000 (11:57 +0000)
committersrn <srn@opencascade.com>
Thu, 9 Feb 2006 11:57:19 +0000 (11:57 +0000)
src/SalomeApp/SalomeApp_Application.cxx
src/SalomeApp/SalomeApp_Study.cxx
src/SalomeApp/SalomeApp_Study.h

index 916996954f645b260e6eca92d2a101ee9d0aa2a7..70019a6a0d81f0d95914a97ae3109d12a0b35a42 100644 (file)
@@ -51,6 +51,7 @@
 
 #include "SALOMEDS_StudyManager.hxx"
 #include "SALOMEDS_SObject.hxx"
+#include "SALOMEDS_IParameters.hxx"
 
 #include "SALOME_ListIteratorOfListIO.hxx"
 #include "SALOME_ListIO.hxx"
@@ -489,7 +490,7 @@ void SalomeApp_Application::onDumpStudy( )
   if(!aFileName.isEmpty()) {
     QFileInfo aFileInfo(aFileName);
     int savePoint = appStudy->storeState(); //SRN: Store a visual state of the save at the save point
-    QString prefix = appStudy->getVisulDump(savePoint); //SRN: Get a generate Python script for the study's visual state
+    QString prefix = SALOMEDS_IParameters::getStudyScript(appStudy->studyDS(), "Interface Applicative", savePoint);
     bool res = aStudy->DumpStudy( aFileInfo.dirPath( true ).latin1(), aFileInfo.baseName().latin1(), toPublish ,prefix.latin1());
     if ( !res )
     SUIT_MessageBox::warn1 ( desktop(),
index fc2e7033c5d446b23ce86d0e7c394bc4fa61e353..3164f40c71f90bfa4cc0c8dfe789693149aeb980 100644 (file)
@@ -871,8 +871,3 @@ void SalomeApp_Study::restoreState(int savePoint)
   if (activeModuleName != "") 
     ((SalomeApp_Application*)application())->activateModule(activeModuleName);  
 }
-
-QString SalomeApp_Study::getVisulDump(int savePoint)
-{
-  return QString(SALOMEDS_IParameters::getStudyScript(studyDS(), "Interface Applicative", savePoint));
-}
index cdd097bf4547019fdd75ba5079f89f786bf0d84a..36bf2468861db79b9571c99009a1970405dbc87e 100644 (file)
@@ -72,7 +72,6 @@ public:
   void                setNameOfSavePoint(int savePoint, const QString& nameOfSavePoint);
   virtual int         storeState();
   virtual void        restoreState(int savePoint);
-  virtual QString     getVisulDump(int savePoint);
 
 protected:
   virtual void        saveModuleData ( QString theModuleName, QStringList theListOfFiles );