]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Plugins/IO/MeshReader.cxx
Widget integration (step 5/6): generic widget controller finished and tested on linux...
[cpPlugins.git] / lib / cpPlugins / Plugins / IO / MeshReader.cxx
index e6bba2bd4045ef4e3d2fb2df571ebf7042ae4e5d..fe61d707532d52b9b91f5ab724f6330d39ac026a 100644 (file)
@@ -25,8 +25,8 @@ ExecConfigurationDialog( QWidget* parent )
   {
     this->m_Parameters = this->m_DefaultParameters;
     QStringList names = dialog.selectedFiles( );
-    this->m_Parameters.AddValueToStringList(
-      "FileNames", names[ 0 ].toStdString( )
+    this->m_Parameters.SetValueAsString(
+      "FileName", names[ 0 ].toStdString( )
       );
 
     /* TODO
@@ -48,9 +48,6 @@ cpPlugins::IO::MeshReader::
 MeshReader( )
   : Superclass( )
 {
-  this->m_ClassName = "cpPlugins::IO::MeshReader";
-  this->m_ClassCategory = "MeshReader";
-
   this->SetNumberOfOutputs( 1 );
   this->_MakeOutput< cpPlugins::Interface::Mesh >( 0 );