From 98cde5751003b058c42dce34d53645f70572cb4c Mon Sep 17 00:00:00 2001 From: spo Date: Wed, 23 Dec 2015 14:36:58 +0300 Subject: [PATCH] Spell-checking --- src/Model/Model_AttributeInteger.h | 2 +- src/ModelAPI/ModelAPI_AttributeInteger.h | 2 +- src/ModuleBase/ModuleBase_ParamSpinBox.cpp | 4 ++-- src/ModuleBase/ModuleBase_ParamSpinBox.h | 4 ++-- src/ModuleBase/ModuleBase_WidgetIntValue.h | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Model/Model_AttributeInteger.h b/src/Model/Model_AttributeInteger.h index a723227bc..88b50a504 100644 --- a/src/Model/Model_AttributeInteger.h +++ b/src/Model/Model_AttributeInteger.h @@ -29,7 +29,7 @@ class Model_AttributeInteger : public ModelAPI_AttributeInteger MODEL_EXPORT virtual int value(); protected: - /// Initializes attibutes + /// Initializes attributes Model_AttributeInteger(TDF_Label& theLabel); friend class Model_Data; diff --git a/src/ModelAPI/ModelAPI_AttributeInteger.h b/src/ModelAPI/ModelAPI_AttributeInteger.h index e683166d3..d16924a98 100644 --- a/src/ModelAPI/ModelAPI_AttributeInteger.h +++ b/src/ModelAPI/ModelAPI_AttributeInteger.h @@ -24,7 +24,7 @@ class ModelAPI_AttributeInteger : public ModelAPI_Attribute /// Defines the integer value MODELAPI_EXPORT virtual void setValue(const int theValue) = 0; - /// Returns the inhteger value + /// Returns the integer value MODELAPI_EXPORT virtual int value() = 0; /// Returns the type of this class of attributes diff --git a/src/ModuleBase/ModuleBase_ParamSpinBox.cpp b/src/ModuleBase/ModuleBase_ParamSpinBox.cpp index 17b9307ca..40b50fb17 100644 --- a/src/ModuleBase/ModuleBase_ParamSpinBox.cpp +++ b/src/ModuleBase/ModuleBase_ParamSpinBox.cpp @@ -219,7 +219,7 @@ bool ModuleBase_ParamSpinBox::findVariable(const QString& theName, } /*! - \brief This function is called when the spinbox recieves key press event. + \brief This function is called when the spinbox receives key press event. */ //void ModuleBase_ParamSpinBox::keyPressEvent(QKeyEvent* e) //{ @@ -231,7 +231,7 @@ bool ModuleBase_ParamSpinBox::findVariable(const QString& theName, //} /*! - \brief This function is called when the spinbox recieves show event. + \brief This function is called when the spinbox receives show event. */ void ModuleBase_ParamSpinBox::showEvent(QShowEvent* theEvent) { diff --git a/src/ModuleBase/ModuleBase_ParamSpinBox.h b/src/ModuleBase/ModuleBase_ParamSpinBox.h index f771b5656..591d0cfd9 100644 --- a/src/ModuleBase/ModuleBase_ParamSpinBox.h +++ b/src/ModuleBase/ModuleBase_ParamSpinBox.h @@ -63,9 +63,9 @@ public: /// Returns True if the given value is within min and max of the control bool checkRange(const double) const; - /// Finds a variable by its name. Rreturns true in success + /// Finds a variable by its name. Returns true in success /// \param theName a name of variable - /// \param outValue an output val;ue of the variable + /// \param outValue an output value of the variable bool findVariable(const QString& theName, double& outValue) const; protected: diff --git a/src/ModuleBase/ModuleBase_WidgetIntValue.h b/src/ModuleBase/ModuleBase_WidgetIntValue.h index ffc52d9f9..3eaf0e52b 100644 --- a/src/ModuleBase/ModuleBase_WidgetIntValue.h +++ b/src/ModuleBase/ModuleBase_WidgetIntValue.h @@ -18,10 +18,10 @@ class QTimer; /** * \ingroup GUI -* A class of property panel widget for double value input -* It can be defined with "doublevalue" keyword. For example: +* A class of property panel widget for integer value input +* It can be defined with "integervalue" keyword. For example: * \code -* +* * \endcode */ class MODULEBASE_EXPORT ModuleBase_WidgetIntValue : public ModuleBase_ModelWidget @@ -30,7 +30,7 @@ Q_OBJECT public: /// Constructor /// \param theParent the parent object - /// \param theData the widget configuation. The attribute of the model widget is obtained from + /// \param theData the widget configuration. The attribute of the model widget is obtained from /// \param theParentId is Id of a parent structure (widget, operation, group) ModuleBase_WidgetIntValue(QWidget* theParent, const Config_WidgetAPI* theData, const std::string& theParentId); -- 2.39.2