_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;
}