X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSalomeApp%2FSalomeApp_NoteBook.cxx;h=23efce3a80dc0c977920288cdc696405f3f907cc;hb=10b37dd7682b80461572726837d430f86b890cb8;hp=6874aacd8ccc3fe4d1bc9b03733a1326f2add166;hpb=e5f3e29f0ae622f71877e3d296775d4063c185f1;p=modules%2Fgui.git diff --git a/src/SalomeApp/SalomeApp_NoteBook.cxx b/src/SalomeApp/SalomeApp_NoteBook.cxx index 6874aacd8..23efce3a8 100644 --- a/src/SalomeApp/SalomeApp_NoteBook.cxx +++ b/src/SalomeApp/SalomeApp_NoteBook.cxx @@ -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( 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( 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 ; ";