X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetCreatorFactory.cpp;fp=src%2FModuleBase%2FModuleBase_WidgetCreatorFactory.cpp;h=3f2ff93079c0e633f0caf23126abbd48b14d3e29;hb=935d92397da8acd3bc317a6318572b508c118dc3;hp=cdf53e151274393d684b6bb353323817fae669a3;hpb=864ef42d70739c0b65efd691f0d101b5468eac55;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp b/src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp index cdf53e151..3f2ff9307 100755 --- a/src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp +++ b/src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp @@ -64,14 +64,14 @@ bool ModuleBase_WidgetCreatorFactory::hasPageWidget(const std::string& theType) } ModuleBase_PageBase* ModuleBase_WidgetCreatorFactory::createPageByType( - const std::string& theType, QWidget* theParent, - Config_WidgetAPI* theWidgetApi, std::string theParentId) + const std::string& theType, QWidget* theParent, + Config_WidgetAPI* theWidgetApi) { ModuleBase_PageBase* aPage = 0; if (myPageToCreator.contains(theType)) { WidgetCreatorPtr aCreator = myPageToCreator[theType]; - aPage = aCreator->createPageByType(theType, theParent, theWidgetApi, theParentId); + aPage = aCreator->createPageByType(theType, theParent, theWidgetApi); } return aPage; @@ -79,16 +79,15 @@ ModuleBase_PageBase* ModuleBase_WidgetCreatorFactory::createPageByType( ModuleBase_ModelWidget* ModuleBase_WidgetCreatorFactory::createWidgetByType( - const std::string& theType, QWidget* theParent, - Config_WidgetAPI* theWidgetApi, std::string theParentId, - ModuleBase_IWorkshop* theWorkshop) + const std::string& theType, QWidget* theParent, + Config_WidgetAPI* theWidgetApi, + ModuleBase_IWorkshop* theWorkshop) { ModuleBase_ModelWidget* aWidget = 0; if (myCreators.contains(theType)) { WidgetCreatorPtr aCreator = myCreators[theType]; - aWidget = aCreator->createWidgetByType(theType, theParent, theWidgetApi, theParentId, - theWorkshop); + aWidget = aCreator->createWidgetByType(theType, theParent, theWidgetApi, theWorkshop); } return aWidget;