From 33563016b3ba881a507cfd4b782e6a4f96296df5 Mon Sep 17 00:00:00 2001 From: sbh Date: Tue, 2 Sep 2014 19:45:07 +0400 Subject: [PATCH] Tiny corrections in source code --- src/Config/Config_FeatureMessage.h | 35 +++++++++++++++++-------- src/ModelAPI/ModelAPI_Validator.h | 1 - src/ModuleBase/ModuleBase_ModelWidget.h | 2 -- 3 files changed, 24 insertions(+), 14 deletions(-) diff --git a/src/Config/Config_FeatureMessage.h b/src/Config/Config_FeatureMessage.h index 4c32b0b86..ea6bd4f8c 100644 --- a/src/Config/Config_FeatureMessage.h +++ b/src/Config/Config_FeatureMessage.h @@ -32,20 +32,33 @@ class Config_FeatureMessage : public Events_Message public: //const Events_ID theID, const void* theSender = 0 - CONFIG_EXPORT Config_FeatureMessage(const Events_ID theId, const void* theParent = 0);CONFIG_EXPORT virtual ~Config_FeatureMessage(); + CONFIG_EXPORT Config_FeatureMessage(const Events_ID theId, const void* theParent = 0); + CONFIG_EXPORT virtual ~Config_FeatureMessage(); //Auto-generated getters/setters - CONFIG_EXPORT const std::string& icon() const;CONFIG_EXPORT const std::string& id() const;CONFIG_EXPORT const std::string& keysequence() const;CONFIG_EXPORT const std::string& text() const;CONFIG_EXPORT const std::string& tooltip() const; + CONFIG_EXPORT const std::string& icon() const; + CONFIG_EXPORT const std::string& id() const; + CONFIG_EXPORT const std::string& keysequence() const; + CONFIG_EXPORT const std::string& text() const; + CONFIG_EXPORT const std::string& tooltip() const; + CONFIG_EXPORT const std::string& groupId() const; + CONFIG_EXPORT const std::string& workbenchId() const; + CONFIG_EXPORT const std::string& pluginLibrary() const; + CONFIG_EXPORT const std::string& nestedFeatures() const; + CONFIG_EXPORT bool isUseInput() const; + CONFIG_EXPORT bool isInternal() const; - CONFIG_EXPORT const std::string& groupId() const;CONFIG_EXPORT const std::string& workbenchId() const;CONFIG_EXPORT const std::string& pluginLibrary() const;CONFIG_EXPORT const std::string& nestedFeatures() const;CONFIG_EXPORT bool isUseInput() const;CONFIG_EXPORT bool isInternal() const; - - CONFIG_EXPORT void setIcon(const std::string& icon);CONFIG_EXPORT void setId( - const std::string& id);CONFIG_EXPORT void setKeysequence(const std::string& keysequence);CONFIG_EXPORT void setText( - const std::string& text);CONFIG_EXPORT void setTooltip(const std::string& tooltip);CONFIG_EXPORT void setGroupId( - const std::string& groupId);CONFIG_EXPORT void setWorkbenchId(const std::string& workbenchId);CONFIG_EXPORT void setPluginLibrary( - const std::string& thePluginLibrary);CONFIG_EXPORT void setNestedFeatures( - const std::string& theNestedFeatures);CONFIG_EXPORT void setUseInput(bool isUseInput);CONFIG_EXPORT void setInternal( - bool isInternal); + CONFIG_EXPORT void setIcon(const std::string& icon); + CONFIG_EXPORT void setId(const std::string& id); + CONFIG_EXPORT void setKeysequence(const std::string& keysequence); + CONFIG_EXPORT void setText(const std::string& text); + CONFIG_EXPORT void setTooltip(const std::string& tooltip); + CONFIG_EXPORT void setGroupId(const std::string& groupId); + CONFIG_EXPORT void setWorkbenchId(const std::string& workbenchId); + CONFIG_EXPORT void setPluginLibrary(const std::string& thePluginLibrary); + CONFIG_EXPORT void setNestedFeatures(const std::string& theNestedFeatures); + CONFIG_EXPORT void setUseInput(bool isUseInput); + CONFIG_EXPORT void setInternal(bool isInternal); }; #endif // CONFIG_MESSAGE_H \ No newline at end of file diff --git a/src/ModelAPI/ModelAPI_Validator.h b/src/ModelAPI/ModelAPI_Validator.h index c1c5f37fb..6f9e26f2a 100644 --- a/src/ModelAPI/ModelAPI_Validator.h +++ b/src/ModelAPI/ModelAPI_Validator.h @@ -29,7 +29,6 @@ class MODELAPI_EXPORT ModelAPI_Validator virtual ~ModelAPI_Validator() { } - ; /// Returns true if feature and/or attributes are valid /// \param theFeature the validated feature diff --git a/src/ModuleBase/ModuleBase_ModelWidget.h b/src/ModuleBase/ModuleBase_ModelWidget.h index d11c21d0f..2d626c58b 100644 --- a/src/ModuleBase/ModuleBase_ModelWidget.h +++ b/src/ModuleBase/ModuleBase_ModelWidget.h @@ -38,7 +38,6 @@ Q_OBJECT virtual ~ModuleBase_ModelWidget() { } - ; /// Set the given wrapped value to the current widget /// This value should be processed in the widget according to the needs @@ -47,7 +46,6 @@ Q_OBJECT { return false; } - ; /// Returns the state whether the attribute of the feature is initialized /// \param theObject a model feature to be checked -- 2.39.2