Salome HOME
Show "Rename" menu command for light modules in "distributed mode"
[modules/gui.git] / src / QDS / QDS_Table.h
index c7d33abf95fd0b300f0fed189251dd5d6246e623..8cc872d239150291c19f91367dfef6f364424295 100644 (file)
@@ -1,11 +1,14 @@
-// Copyright (C) 2005  CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D
+// Copyright (C) 2007-2013  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
 //
 // 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.
 //
-// This library is distributed in the hope that it will be useful
+// This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 // Lesser General Public License for more details.
@@ -16,6 +19,7 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 #ifndef QDS_TABLE_H
 #define QDS_TABLE_H
 
@@ -23,8 +27,8 @@
 
 #include <QtxTable.h>
 
-#include <qmap.h>
-#include <qptrvector.h>
+#include <QMap>
+#include <QVector>
 
 class QDS_EXPORT QDS_Table : public QtxTable
 {
@@ -82,7 +86,7 @@ private:
   QDS_Datum*       datum( const QWidget* ) const;
 
 private:
-  typedef QPtrVector<QDS_Datum>       DatumVector;
+  typedef QVector<QDS_Datum*>         DatumVector;
   typedef QMap<int, QDS_Datum*>       DatumMap;
   typedef QMap<int, DatumMap>         CellMap;