1 #include "LightApp_DataSubOwner.h"
3 #include "LightApp_DataObject.h"
9 /*!Constructor.Initialize by \a entry and \a index*/
10 LightApp_DataSubOwner::LightApp_DataSubOwner( const QString& entry, const int index )
11 : LightApp_DataOwner( entry ),
16 /*!Destructor. Do nothing.*/
17 LightApp_DataSubOwner::~LightApp_DataSubOwner()
21 /*!Checks: Is current data sub owner equal \a obj.*/
22 bool LightApp_DataSubOwner::isEqual( const SUIT_DataOwner& obj ) const
24 if (LightApp_DataOwner::isEqual(obj)) {
25 const LightApp_DataSubOwner* other = dynamic_cast<const LightApp_DataSubOwner*>( &obj );
26 return other && index() == other->index();
32 int LightApp_DataSubOwner::index() const