protected:
virtual bool openDataModel ( const QString&, CAM_DataModel* );
virtual CAM_ModuleObject* createModuleObject( LightApp_DataModel* theDataModel,
- SUIT_DataObject* theParent ) const;
+ SUIT_DataObject* theParent ) const;
signals:
void saved ( SUIT_Study* );
// it can be changed outside of GUI
// TEMPORARILY SOLUTION: better to be implemented with help of SALOMEDS observers
if ( studyDS() ) {
- QString newName = QString::fromUtf8(studyDS()->URL().c_str());
+ QString newName = QString::fromUtf8(studyDS()->Name().c_str());
if ( LightApp_Study::studyName() != newName ) {
SalomeApp_Study* that = const_cast<SalomeApp_Study*>( this );
that->setStudyName( newName );
virtual bool openDataModel( const QString&, CAM_DataModel* );
virtual CAM_ModuleObject* createModuleObject( LightApp_DataModel* theDataModel,
- SUIT_DataObject* theParent ) const;
+ SUIT_DataObject* theParent ) const;
protected slots:
virtual void updateModelRoot( const CAM_DataModel* );
#ifndef DISABLE_PYCONSOLE