Salome HOME
Issue #3237: Allow usage of accented characters in ObjectBrowser
[modules/shaper.git] / src / ModelAPI / ModelAPI_AttributeInteger.h
index 54c550cbb3754305a1a037404155415688c549f1..2b8383f4dcd279c29a8abe3f18fb265408191402 100644 (file)
@@ -43,10 +43,10 @@ class ModelAPI_AttributeInteger : public ModelAPI_Attribute
   MODELAPI_EXPORT virtual void setCalculatedValue(const int theValue) = 0;
 
   /// Defines the text value
-  MODELAPI_EXPORT virtual void setText(const std::string& theText) = 0;
+  MODELAPI_EXPORT virtual void setText(const std::wstring& theText) = 0;
 
   /// Returns the text value
-  MODELAPI_EXPORT virtual std::string text() = 0;
+  MODELAPI_EXPORT virtual std::wstring text() = 0;
 
   /// Allows to set expression (text) as invalid (by the parameters listener)
   MODELAPI_EXPORT virtual void setExpressionInvalid(const bool theFlag) = 0;
@@ -62,10 +62,10 @@ class ModelAPI_AttributeInteger : public ModelAPI_Attribute
 
   /// Defines the used parameters
   MODELAPI_EXPORT virtual
-    void setUsedParameters(const std::set<std::string>& theUsedParameters) = 0;
+    void setUsedParameters(const std::set<std::wstring>& theUsedParameters) = 0;
 
   /// Returns the used parameters
-  MODELAPI_EXPORT virtual std::set<std::string> usedParameters() const = 0;
+  MODELAPI_EXPORT virtual std::set<std::wstring> usedParameters() const = 0;
 
   /// Returns the type of this class of attributes
   MODELAPI_EXPORT static std::string typeId()