-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
: SUIT_Selector( mgr, v ),
myViewer(v)
{
- if ( v )
+ if ( v ) {
connect( v, SIGNAL( legendSelected( const QString& ) ), this, SLOT( onSelectionChanged( const QString& ) ) );
connect( v, SIGNAL( clearSelected() ), this, SLOT( onClearSelected( ) ) );
+ }
}
/*!
{
if( !myCurEntry.isNull() ) {
#ifndef DISABLE_SALOMEOBJECT
- theList.append( new LightApp_DataOwner( new SALOME_InteractiveObject(qPrintable(myCurEntry),"","") ) );
+ theList.append( new LightApp_DataOwner( new SALOME_InteractiveObject(qUtf8Printable(myCurEntry),"","") ) );
#else
theList.append( new LightApp_DataOwner( myCurEntry ) );
#endif
anIOList.Append(owner->IO());
}
else if ( !owner->entry().isEmpty() ) {
- anIOList.Append( new SALOME_InteractiveObject(qPrintable(owner->entry()),"","") );
+ anIOList.Append( new SALOME_InteractiveObject(qUtf8Printable(owner->entry()),"","") );
}
}
}