Salome HOME
PR: merge from tag BR_CCRT2_mergeto_V2_1_0b1
[modules/kernel.git] / src / SALOMEGUI / QAD_Study.h
index 8139e8a5dbfe47b71e9c6b58ed0dde732388349c..409b2aba4dc47e731a21504c2d5127d61a756244 100644 (file)
@@ -48,6 +48,7 @@ class QAD_Application;
 class QMutex;
 class QAD_PyInterp;
 class TInitStudyThread;
+class QAD_ViewFrame;
 
 class QAD_EXPORT QAD_Study : public QObject
 {
@@ -83,6 +84,7 @@ public:
   bool            isModified() const;
   bool            isReadOnly() const;
   void            setReadOnly(bool state);
+  bool             isLocked();
   const QString&   getTitle() const;
   int              getStudyId();
   const QString&   getPath() const;
@@ -144,7 +146,7 @@ public:
 
   /* selection */
   void           Selection( QString aSelection );
-  QString        getSelection();
+  QString        getSelection() const;
 
   /* python interpreter */
   QAD_PyInterp*          get_PyInterp(void);
@@ -159,6 +161,7 @@ signals:
   void           docClosing( QAD_Study* );
   void           docOperationTerminated( bool );
   void            closed();
+  void            supervStudyFrameClosing( QAD_ViewFrame* );
 
 public slots:
   void           onStudyFrameActivated( QAD_StudyFrame* );