Salome HOME
Update copyrights
[samples/light.git] / src / LIGHTGUI / LIGHTGUI_DataObject.cxx
index 7d2aa32aed038763561117af2eb1211495d75a7e..693b34602c8a77bfe6a2bbc833f28f0d626a5ba8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2005-2014  OPEN CASCADE
+// Copyright (C) 2005-2019  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-
-// LIGHT : sample (no-corba-engine) SALOME module
 // File   : LIGHTGUI_DataObject.cxx
 // Author : Julia DOROVSKIKH
 // File   : LIGHTGUI_DataObject.cxx
 // Author : Julia DOROVSKIKH
-//
+
 #include "LIGHTGUI_DataObject.h"
 #include "LIGHTGUI_DataModel.h"
 
 #include "LIGHTGUI_DataObject.h"
 #include "LIGHTGUI_DataModel.h"
 
-#include <SUIT_Session.h>
 #include <SUIT_ResourceMgr.h>
 #include <SUIT_ResourceMgr.h>
-#include <QString>
+#include <SUIT_Session.h>
 
 /*!
   \class LIGHTGUI_DataObject
   \brief LIGHT module data object.
 
 /*!
   \class LIGHTGUI_DataObject
   \brief LIGHT module data object.
+
+  This class presents an elementary unit of the data model.
+  It includes presentation methods like: name(), icon(), toolTip(), etc.
 */
 
 /*!
 */
 
 /*!
   \param id line identifier
   \param txt text line corresponding to the data object
   \param parent parent data object
   \param id line identifier
   \param txt text line corresponding to the data object
   \param parent parent data object
+
+  \note Due to virtual inheritance, the constructor explicitly
+  invokes constructor of all base classes
 */
 LIGHTGUI_DataObject::LIGHTGUI_DataObject( const int id, 
                                          const QString& txt, 
                                          SUIT_DataObject* parent )
 : CAM_DataObject( parent ),
   LightApp_DataObject( parent ),
 */
 LIGHTGUI_DataObject::LIGHTGUI_DataObject( const int id, 
                                          const QString& txt, 
                                          SUIT_DataObject* parent )
 : CAM_DataObject( parent ),
   LightApp_DataObject( parent ),
-  myLineTxt( txt ),
-  myId( id )
+  myId( id ),
+  myLineTxt( txt )
 {
 }
 
 {
 }