]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
NPAL19051: getId() method is added in order to have window unique identifier which...
authorsln <sln@opencascade.com>
Tue, 20 May 2008 09:09:50 +0000 (09:09 +0000)
committersln <sln@opencascade.com>
Tue, 20 May 2008 09:09:50 +0000 (09:09 +0000)
src/SUIT/SUIT_ViewWindow.cxx
src/SUIT/SUIT_ViewWindow.h

index faf064fb51486b4cdbf093c3a33d3379263b1d38..adf5747b79d4ea548bce12474e77d121abd1d619 100755 (executable)
@@ -215,3 +215,11 @@ QString   SUIT_ViewWindow::getVisualParameters()
 void SUIT_ViewWindow::setVisualParameters( const QString& parameters )
 {
 }
+
+/*!
+  \return window unique identifier  
+*/
+int SUIT_ViewWindow::getId() const
+{
+  return (int)this;
+}
index 6a6a6f86920a840d25c2f6915f6b607141d9903f..f63f63cc2d45071733ed9ab32baeafb7c3ab9936 100755 (executable)
@@ -55,6 +55,8 @@ public:
   virtual void      setVisualParameters( const QString& parameters );
 
   void              setDestructiveClose( const bool );
+  
+  int               getId() const;
 
 public slots:
   virtual void      onDumpView();