#include "VISU_Actor.h"
#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
#include "SVTK_ViewWindow.h"
#include "SALOME_ListIO.hxx"
#include <SALOMEDSClient_SObject.hxx>
-#include <SALOMEDS_SObject.hxx>
#include <limits.h>
#include <qlayout.h>
// Find All prs obj
//SUIT_Study* aActiveStudy = VISU::(myVisuGUI);
_PTR(Study) aActiveStudy = VISU::GetCStudy(VISU::GetAppStudy(myVisuGUI));
- SalomeApp_SelectionMgr* aSel = VISU::GetSelectionMgr(myVisuGUI);
+ LightApp_SelectionMgr* aSel = VISU::GetSelectionMgr(myVisuGUI);
SALOME_ListIO selected;
aSel->selectedObjects(selected);
if (selected.Extent() > 0) {
_PTR(GenericAttribute) anAttr;
if (aChildSObj->FindAttribute(anAttr, "AttributeName")) {
_PTR(AttributeName) aName (anAttr);
- myPrsLst += QString(aName->Value());
+ myPrsLst += QString(aName->Value().c_str());
myPrsList.append(aPrsObj);
continue;
}
VISU::Prs3d_var aPrsObj = VISU::Prs3d::_narrow(aChildObject);
switch (aType) {
case VISU::TFAMILY:
- myFamilisLst += QString(aName->Value());
+ myFamilisLst += QString(aName->Value().c_str());
myFamilyList.append(aPrsObj);
break;
case VISU::TGROUP:
- myGroupsLst += QString(aName->Value());
+ myGroupsLst += QString(aName->Value().c_str());
myGroupList.append(aPrsObj);
break;
case VISU::TENTITY:
- myEntitiesLst += QString(aName->Value());
+ myEntitiesLst += QString(aName->Value().c_str());
myEntityList.append(aPrsObj);
break;
}