Salome HOME
[PYTHON 3] 1st draft
[modules/gui.git] / src / SalomeApp / SalomeApp_Study.h
index 7d53b75b8429cc7647da44864c9765003bbca39b..cf93e4056d5126217a114889a4f829e9c6ae650b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  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
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -83,7 +83,9 @@ public:
   void                setNameOfSavePoint(int savePoint, const QString& nameOfSavePoint);
 
   virtual void        restoreState(int savePoint);
+#ifndef DISABLE_PYCONSOLE
   void                updateFromNotebook(const QString&, bool);
+#endif
 
   virtual LightApp_DataObject* findObjectByEntry( const QString& theEntry );
 
@@ -106,7 +108,9 @@ protected:
                                                SUIT_DataObject* theParent ) const;
 protected slots:
   virtual void        updateModelRoot( const CAM_DataModel* );
+#ifndef DISABLE_PYCONSOLE
   void                onNoteBookVarUpdate( QString theVarName );
+#endif
 
 private:
   QString             newStudyName() const;
@@ -115,8 +119,10 @@ private:
   _PTR(Study)         myStudyDS;
   Observer_i*         myObserver;
 
+#ifndef DISABLE_PYCONSOLE
  signals:
   void                notebookVarUpdated( QString theVarName );
+#endif
 };
 
 #ifdef WIN32