]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Parent object parameter added to constructor.
authorstv <stv@opencascade.com>
Fri, 16 Dec 2005 08:19:54 +0000 (08:19 +0000)
committerstv <stv@opencascade.com>
Fri, 16 Dec 2005 08:19:54 +0000 (08:19 +0000)
src/SUIT/SUIT_SelectionMgr.cxx
src/SUIT/SUIT_SelectionMgr.h

index 13b847baa467182149870f6df12358e2f2684eb3..edd1ee591daa82be0abc73822145ad5c05fb6400 100755 (executable)
@@ -23,8 +23,9 @@
  */
 
 /*!constructor. initialize myIterations and myIsSelChangeEnabled.*/
-SUIT_SelectionMgr::SUIT_SelectionMgr( const bool Feedback )
-: myIterations( Feedback ? 1 : 0 ),
+SUIT_SelectionMgr::SUIT_SelectionMgr( const bool Feedback, QObject* p )
+: QObject( p ),
+myIterations( Feedback ? 1 : 0 ),
 myIsSelChangeEnabled( true )
 {
 }
index e928aa1eb286b1c8c8b28cf22a426bacf100ce3c..2805192972100a9bbbd6a4e456dd4825f2543686 100755 (executable)
@@ -32,7 +32,7 @@ class SUIT_EXPORT SUIT_SelectionMgr : public QObject
   Q_OBJECT
 
 public:
-  SUIT_SelectionMgr( const bool = true );
+  SUIT_SelectionMgr( const bool = true, QObject* = 0 );
   virtual ~SUIT_SelectionMgr();
 
   void            clearSelected();