Salome HOME
Updated copyright comment
[modules/hexablock.git] / src / HEXABLOCKGUI / HEXABLOCKGUI_DocumentItem.hxx
old mode 100755 (executable)
new mode 100644 (file)
index 4bab98b..ddd9517
@@ -1,9 +1,9 @@
-// Copyright (C) 2009-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2024  CEA, EDF
 //
 // 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
@@ -20,6 +20,7 @@
 #ifndef _HEXABLOCKGUI_DOCUMENTITEM_HXX_
 #define _HEXABLOCKGUI_DOCUMENTITEM_HXX_
 
+#include "HEXABLOCKGUI_Export.hxx"
 
 #include <QStandardItem>
 
@@ -151,7 +152,7 @@ namespace HEXABLOCK
 // QVariant::UserType
 
     //===================================================================================
-    class HexaExport ElementItem : public QStandardItem
+    class HEXABLOCK_EXPORT ElementItem : public QStandardItem
     {
       public:
        ElementItem( HEXA_NS::EltBase* docElement, QString entry, HexaType ttype, HexaTreeRole treeRole);
@@ -169,7 +170,7 @@ namespace HEXABLOCK
     };
     //===================================================================================
 
-    class HexaExport GraphicElementItem : public ElementItem
+    class HEXABLOCK_EXPORT GraphicElementItem : public ElementItem
     {
       public:
        GraphicElementItem( HEXA_NS::EltBase* docElement, QString entry, HexaType ttype, HexaTreeRole treeRole):
@@ -182,7 +183,7 @@ namespace HEXABLOCK
         int       IDinActor;
     };
 
-    class HexaExport StandardElementItem : public ElementItem
+    class HEXABLOCK_EXPORT StandardElementItem : public ElementItem
     {
        public:
        StandardElementItem( HEXA_NS::EltBase* docElement, QString entry, HexaType ttype, HexaTreeRole treeRole):
@@ -191,40 +192,40 @@ namespace HEXABLOCK
        }
     };
 
-    class HexaExport VertexItem : public GraphicElementItem
+    class HEXABLOCK_EXPORT VertexItem : public GraphicElementItem
     {
       public:
         VertexItem( HEXA_NS::Vertex* hexaVertex, QString entry = "");
     };
 
-    class HexaExport EdgeItem : public GraphicElementItem
+    class HEXABLOCK_EXPORT EdgeItem : public GraphicElementItem
     {
       public:
         EdgeItem( HEXA_NS::Edge* hexaEdge, QString entry = "");
     };
     //-----------------------------------------
-    class HexaExport QuadItem : public GraphicElementItem
+    class HEXABLOCK_EXPORT QuadItem : public GraphicElementItem
     {
       public:
         QuadItem( HEXA_NS::Quad* hexaQuad, QString entry = "");
     };
     //-----------------------------------------
 
-    class HexaExport HexaItem : public GraphicElementItem
+    class HEXABLOCK_EXPORT HexaItem : public GraphicElementItem
     {
       public:
         HexaItem( HEXA_NS::Hexa* hexaHexa, QString entry = "");
     };
     //-----------------------------------------
 
-    class HexaExport VectorItem : public StandardElementItem
+    class HEXABLOCK_EXPORT VectorItem : public StandardElementItem
     {
       public:
         VectorItem( HEXA_NS::Vector* hexaVector, QString entry = "");
     };
     //-----------------------------------------
 
-//    class HexaExport CylinderItem : public StandardElementItem
+//    class HEXABLOCK_EXPORT CylinderItem : public StandardElementItem
 //    {
 //      public:
 //        CylinderItem( HEXA_NS::Cylinder* hexaCyl, QString entry = "");
@@ -238,7 +239,7 @@ namespace HEXABLOCK
 //    };
     //-----------------------------------------
 
-    class HexaExport ElementsItem : public StandardElementItem
+    class HEXABLOCK_EXPORT ElementsItem : public StandardElementItem
     {
       public:
         ElementsItem( HEXA_NS::Elements* hexaElements, QString entry = "" );
@@ -251,7 +252,7 @@ namespace HEXABLOCK
 //    };
 
     //------------------------------------------------
-    class HexaExport GeomItem: public StandardElementItem
+    class HEXABLOCK_EXPORT GeomItem: public StandardElementItem
     {
     public:
         GeomItem( HEXA_NS::EltBase* geomShape, QString entry, HexaType ttype, HexaTreeRole treeRole, HEXA_NS::EltBase* assoc = NULL );
@@ -263,35 +264,35 @@ namespace HEXABLOCK
     };
 
     //------------------------------------------------
-    class HexaExport GeomShapeItem: public GeomItem
+    class HEXABLOCK_EXPORT GeomShapeItem: public GeomItem
     {
     public:
         GeomShapeItem( HEXA_NS::NewShape* shape, HEXA_NS::EltBase* assoc = NULL);
     };
 
     //------------------------------------------------
-    class HexaExport GeomPointItem: public GeomItem
+    class HEXABLOCK_EXPORT GeomPointItem: public GeomItem
     {
     public:
         GeomPointItem( HEXA_NS::VertexShape* geomPoint, HEXA_NS::Vertex* associatedVertex = NULL);
     };
 
     //------------------------------------------------
-    class HexaExport GeomEdgeItem: public GeomItem
+    class HEXABLOCK_EXPORT GeomEdgeItem: public GeomItem
     {
     public:
         GeomEdgeItem( HEXA_NS::EdgeShape* geomEdge, HEXA_NS::Edge* associatedEdge = NULL);
     };
 
     //------------------------------------------------
-    class HexaExport GeomFaceItem: public GeomItem
+    class HEXABLOCK_EXPORT GeomFaceItem: public GeomItem
     {
     public:
         GeomFaceItem( HEXA_NS::FaceShape* geomFace, HEXA_NS::Quad* associatedQuad = NULL);
     };
 
     //-----------------------------------------
-    class HexaExport GroupItem : public QStandardItem
+    class HEXABLOCK_EXPORT GroupItem : public QStandardItem
     {
     public:
        GroupItem( HEXA_NS::Group* hexaGroup );
@@ -303,7 +304,7 @@ namespace HEXABLOCK
     };
 
 
-    class HexaExport LawItem : public QStandardItem
+    class HEXABLOCK_EXPORT LawItem : public QStandardItem
     {
     public:
        LawItem( HEXA_NS::Law* hexaLaw );
@@ -315,7 +316,7 @@ namespace HEXABLOCK
     };
 
 
-    class HexaExport PropagationItem : public QStandardItem
+    class HEXABLOCK_EXPORT PropagationItem : public QStandardItem
     {
     public:
        PropagationItem( HEXA_NS::Propagation* hexaPropagation );