X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_PagedContainer.cpp;h=38b145bfc2f302d504fe629feaf3a2043456fe42;hb=71a74e7993bcab222f1bf8deed1d141cab81bdf5;hp=b4e8b5690604a1e99bf607ec79cbb0a8b704d06d;hpb=643eedadb4ba0c91fe67878be0bb94d1bcca922c;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_PagedContainer.cpp b/src/ModuleBase/ModuleBase_PagedContainer.cpp index b4e8b5690..38b145bfc 100644 --- a/src/ModuleBase/ModuleBase_PagedContainer.cpp +++ b/src/ModuleBase/ModuleBase_PagedContainer.cpp @@ -29,7 +29,8 @@ ModuleBase_PagedContainer::~ModuleBase_PagedContainer() } int ModuleBase_PagedContainer::addPage(ModuleBase_PageBase* thePage, - const QString& theName, const QString& theCaseId) + const QString& theName, const QString& theCaseId, + const QPixmap& theIcon ) { if (!myPages.count()) { setDefaultValue(theCaseId.toStdString()); @@ -69,7 +70,7 @@ void ModuleBase_PagedContainer::enableFocusProcessing() myIsFocusOnCurrentPage = true; } -bool ModuleBase_PagedContainer::restoreValue() +bool ModuleBase_PagedContainer::restoreValueCustom() { // A rare case when plugin was not loaded. if(!myFeature)