X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_IPrefMgr.h;h=3d4e7cefddded08acd1b920dc654137d5c43f956;hb=811681738727583c29043cd55903fb71cec19038;hp=584659d8eadd5f33b446831bdba5ee9d77f19a90;hpb=7bf19255421b34594c7b0a76d0ce28166d0ce895;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_IPrefMgr.h b/src/ModuleBase/ModuleBase_IPrefMgr.h index 584659d8e..3d4e7cefd 100644 --- a/src/ModuleBase/ModuleBase_IPrefMgr.h +++ b/src/ModuleBase/ModuleBase_IPrefMgr.h @@ -8,17 +8,24 @@ #ifndef ModuleBase_IPrefMgr_H #define ModuleBase_IPrefMgr_H +#include "ModuleBase.h" + #include #include /** +* \ingroup GUI * An interface class which provides incapsulation of SUIT_PreferenceMgr class instance * It is used in order to make common interface to Preference manager in Salome * and this application */ -class ModuleBase_IPrefMgr +class MODULEBASE_EXPORT ModuleBase_IPrefMgr { public: + /// Default constructor + ModuleBase_IPrefMgr(); + /// Virtual destructor + virtual ~ModuleBase_IPrefMgr(); /** * Add preference item into preference dialog box @@ -33,6 +40,12 @@ public: SUIT_PreferenceMgr::PrefItemType theType, const QString& theSection, const QString& theName ) = 0; + /** + * \brief Set property of an item + * \param thePropName the property name + * \param theValue the value of the property + * \param theId id of the property + */ virtual void setItemProperty(const QString& thePropName, const QVariant& theValue, const int theId = -1) = 0;