Salome HOME
According to cotech80 PyConsoleBase->PyConsole and PyConsole->SalomePyConsole
[modules/gui.git] / src / SalomeApp / SalomeApp_NoteBook.cxx
index 242aae2ca3d2b39c1df8b3fd09868ea00e93b873..23efce3a80dc0c977920288cdc696405f3f907cc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -22,7 +22,7 @@
 // Module : GUI
 //
 #include "PyConsole_Interp.h" // this include must be first (see PyInterp_base.h)!
-#include "PyConsole_Console.h"
+#include "SalomePyConsole_Console.h"
 
 #include "SalomeApp_NoteBook.h"
 #include "SalomeApp_Application.h"
@@ -284,7 +284,7 @@ bool NoteBook_TableRow::IsValidStringValue(const QString theValue)
                          myParentTable->myRows[ aNumRows - 1 ]->GetValue().isEmpty();
 
   SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>( SUIT_Session::session()->activeApplication() );
-  PyConsole_Console* pyConsole = app->pythonConsole();
+  SalomePyConsole_Console* pyConsole = app->pythonConsole();
   PyConsole_Interp* pyInterp = app->getPyInterp();
   PyLockWrapper aLock; // Acquire GIL
   std::string command = "import salome_notebook ; ";
@@ -458,7 +458,7 @@ bool NoteBook_Table::IsValid() const
       return false;
 
   SalomeApp_Application* app = dynamic_cast<SalomeApp_Application*>( SUIT_Session::session()->activeApplication() );
-  PyConsole_Console* pyConsole = app->pythonConsole();
+  SalomePyConsole_Console* pyConsole = app->pythonConsole();
   PyConsole_Interp* pyInterp = app->getPyInterp();
   PyLockWrapper aLock; // Acquire GIL
   std::string command = "import salome_notebook ; ";