X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FLIGHTGUI%2FLIGHTGUI_DataObject.cxx;h=02af984b9b66bf1d2d7394f542f293718c80b36e;hb=e6107d7cab0229cd36f7ed5fe561c191c91f3715;hp=7bbfbd2b3e09f865af9d922276cf9002b2e2afbf;hpb=ac9a49e11c3195e19411cc6723f3c0dabdb33686;p=samples%2Flight.git diff --git a/src/LIGHTGUI/LIGHTGUI_DataObject.cxx b/src/LIGHTGUI/LIGHTGUI_DataObject.cxx index 7bbfbd2..02af984 100644 --- a/src/LIGHTGUI/LIGHTGUI_DataObject.cxx +++ b/src/LIGHTGUI/LIGHTGUI_DataObject.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2005-2015 OPEN CASCADE +// Copyright (C) 2005-2016 OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -16,21 +16,21 @@ // // 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 -// + #include "LIGHTGUI_DataObject.h" #include "LIGHTGUI_DataModel.h" -#include #include -#include +#include /*! \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. */ /*! @@ -38,14 +38,17 @@ \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 ), - myLineTxt( txt ), - myId( id ) + myId( id ), + myLineTxt( txt ) { }