Salome HOME
Porting to Qt4.
[modules/geom.git] / src / GEOMGUI / GEOMGUI_Selection.h
index 01648e32aa18aec06e3c54db5ecfaefbe46b2b02..ff1487b12d8032a5480ea5451f68668c570c3324 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 #ifndef GEOMGUI_SELECTION_HeaderFile
 #define GEOMGUI_SELECTION_HeaderFile
 
-#include <SalomeApp_Selection.h>
+#include "GEOM_GEOMGUI.hxx"
+
+#include <LightApp_Selection.h>
 
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(GEOM_Gen)
 
-class GEOMGUI_Selection : public SalomeApp_Selection
+class LightApp_SelectionMgr;
+
+class GEOMGUI_EXPORT GEOMGUI_Selection : public LightApp_Selection
 {
 public:
-  GEOMGUI_Selection();
+  GEOMGUI_Selection( const QString&, LightApp_SelectionMgr* );
   virtual ~GEOMGUI_Selection();
 
-  virtual QtxValue      param( const int, const QString& ) const;
-  virtual QtxValue      globalParam( const QString& ) const;
+  virtual QVariant      parameter( const int, const QString& ) const;
+  virtual QVariant      parameter( const QString& ) const;
 
 private:
   bool                  isVisible( const int ) const;
-  bool                  isOCC() const;
-  bool                  isActiveViewer() const;
   QString               typeName( const int ) const;  
   QString               displayMode( const int ) const;
+  QString               selectionMode() const;
 
   bool                  isComponent( const int ) const;
   GEOM::GEOM_Object_ptr getObject( const int ) const;
-  bool                  activeViewType( const QString& ) const;
 };
 
 #endif