Salome HOME
All modules must use SVTK package instead VTK
[modules/visu.git] / src / VISUGUI / VisuGUI_StreamLinesDlg.cxx
index 9f554b33098244fffa231514c6d565486206eae3..904f438dcc34caa4fb152907c73685f6191b9b2c 100644 (file)
@@ -31,7 +31,6 @@
 #include "SALOME_ListIO.hxx"
 
 #include <SALOMEDSClient_SObject.hxx>
-#include <SALOMEDS_SObject.hxx>
 
 #include <limits.h>
 #include <qlayout.h>
@@ -117,7 +116,7 @@ VisuGUI_StreamLinesDlg::VisuGUI_StreamLinesDlg (SalomeApp_Module* theModule)
              _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;
              }
@@ -142,15 +141,15 @@ VisuGUI_StreamLinesDlg::VisuGUI_StreamLinesDlg (SalomeApp_Module* theModule)
                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;
                }