mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
CoTech decision: move MEDWrapper from MED to SMESH
MED.idl no more exists SALOME_MED::MedFileInfo -> SMESH::MedFileInfo
This commit is contained in:
parent
c5add157d7
commit
1500689577
@ -29,7 +29,7 @@
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
|
||||
SMESHGUI_FileInfoDlg::SMESHGUI_FileInfoDlg( QWidget* parent, SALOME_MED::MedFileInfo* inf )
|
||||
SMESHGUI_FileInfoDlg::SMESHGUI_FileInfoDlg( QWidget* parent, SMESH::MedFileInfo* inf )
|
||||
: QtxDialog( parent, true, true, QtxDialog::OK )
|
||||
{
|
||||
setWindowTitle( tr( "CAPTION" ) );
|
||||
|
@ -27,14 +27,14 @@
|
||||
#include <QtxDialog.h>
|
||||
|
||||
#include <SALOMEconfig.h>
|
||||
#include CORBA_CLIENT_HEADER(MED)
|
||||
#include CORBA_CLIENT_HEADER(SMESH_Mesh)
|
||||
|
||||
class SMESHGUI_FileInfoDlg : public QtxDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SMESHGUI_FileInfoDlg( QWidget*, SALOME_MED::MedFileInfo* );
|
||||
SMESHGUI_FileInfoDlg( QWidget*, SMESH::MedFileInfo* );
|
||||
virtual ~SMESHGUI_FileInfoDlg();
|
||||
};
|
||||
|
||||
|
@ -2244,7 +2244,7 @@ void SMESHGUI_AddInfo::meshInfo( SMESH::SMESH_Mesh_ptr mesh, QTreeWidgetItem* pa
|
||||
{
|
||||
// type
|
||||
GEOM::GEOM_Object_var shape = mesh->GetShapeToMesh();
|
||||
SALOME_MED::MedFileInfo* inf = mesh->GetMEDFileInfo();
|
||||
SMESH::MedFileInfo* inf = mesh->GetMEDFileInfo();
|
||||
QTreeWidgetItem* typeItem = createItem( parent, Bold );
|
||||
typeItem->setText( 0, tr( "TYPE" ) );
|
||||
if ( !CORBA::is_nil( shape ) ) {
|
||||
|
@ -653,7 +653,7 @@ bool SMESHGUI_Selection::isImported( const int ind ) const
|
||||
SMESH::SMESH_Mesh_var aMesh = SMESH::SMESH_Mesh::_narrow( SMESH::SObjectToObject( SO ) );
|
||||
if( !aMesh->_is_nil() )
|
||||
{
|
||||
SALOME_MED::MedFileInfo_var inf = aMesh->GetMEDFileInfo();
|
||||
SMESH::MedFileInfo_var inf = aMesh->GetMEDFileInfo();
|
||||
res = strlen( (char*)inf->fileName ) > 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user