Commit d84f64d8 authored by Frédéric Larue's avatar Frédéric Larue

ImportInterface::parameters() function renamed to declareParameters().

parent d82778f5
......@@ -1956,7 +1956,7 @@ void UIMainWindow::importFiles(const QStringList& selectedFiles)
// Recovers the option parameters and creates the dialog window.
UIParamSet *params = new UIParamSet( name+" import options", NULL );
plugin->parameters( id, *params );
plugin->declareParameters( id, *params );
QDialog dlg( this );
QVBoxLayout *l = new QVBoxLayout( &dlg );
......
......@@ -38,7 +38,7 @@ public:
*/
virtual void fileFilters( int id, QStringList &filenameExt, QStringList &description ) const = 0;
/** UI components that will be used to provide some options for the import. */
virtual void parameters( int id, UIParamSet &params ) {}
virtual void declareParameters( int id, UIParamSet &params ) {}
/** Core function that effectively performs the import. */
virtual bool load( int id, const QString &filename, const QString &extension, UIParamSet &params, UIContext &context ) = 0;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment