-// 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
//
// 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 <SUIT_Session.h>
#include <SUIT_ResourceMgr.h>
-#include <QString>
+#include <SUIT_Session.h>
/*!
\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
+
+ \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 )
{
}