Salome HOME
Fix memory leaks
[modules/geom.git] / src / GEOMToolsGUI / GEOMToolsGUI.h
index 6c04a9be5ffe36f4508925c5ca993517b48c1aef..581d10f7bc612b64d00eb655663ee6b1cec4851b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2015  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
@@ -60,12 +60,7 @@ public:
 
   enum ActionType { SHOWDLG, INCR, DECR };
 
-  static void  SetColor( const QString&, const QColor&, bool );
-
 private:
-  // Import and export topology methods
-  bool         Import();
-  bool         Export();
 
   void         OnEditDelete();
   void         OnCheckGeometry();
@@ -90,6 +85,10 @@ private:
   void         OnIsosWidth();
   void         OnBringToFront();
   void         OnClsBringToFront();
+  void         OnCreateFolder();
+  void         OnSortChildren();
+  void         OnShowDependencyTree();
+  void         OnReduceStudy();
 
   // Shortcut commands
   void         OnChangeTransparency( bool );
@@ -99,18 +98,6 @@ private:
                                          _PTR(Study),
                                          QList<SALOME_View*>,
                                          GEOM_Displayer* );
-
-  static void setVtkColor( SalomeApp_Study* study,
-                          int mgrId,
-                          SVTK_View* view,
-                          const Handle_SALOME_InteractiveObject& IO,
-                          const QColor& color );
-
-  static void setOccColor( SalomeApp_Study* study,
-                          int mgrId,
-                          const Handle_AIS_InteractiveContext& ic,
-                          const Handle_SALOME_InteractiveObject& IO,
-                          const QColor& color );
 };
 
 #endif // GEOMTOOLSGUI_H