From: vsv Date: Fri, 28 Nov 2014 07:26:22 +0000 (+0300) Subject: Adapt to changes in XGUI_IPrefMgr X-Git-Tag: V_0.6.0^2~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=659a0936ee61f1f4e786769e4f5032aaa502cf2e;p=modules%2Fshaper.git Adapt to changes in XGUI_IPrefMgr --- diff --git a/src/NewGeom/NewGeom_Module.cpp b/src/NewGeom/NewGeom_Module.cpp index 9f8bc4543..5755c626f 100644 --- a/src/NewGeom/NewGeom_Module.cpp +++ b/src/NewGeom/NewGeom_Module.cpp @@ -57,6 +57,14 @@ public: return myMgr->addPreference(myModName, theLbl, pId, theType, theSection, theName); } + virtual void setItemProperty(const QString& thePropName, + const QVariant& theValue, + const int theId = -1) + { + myMgr->setItemProperty(thePropName, theValue, theId); + } + + virtual SUIT_PreferenceMgr* prefMgr() const { return myMgr; } private: