mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0031939: Coding - correction of spelling errors in comments [part 2]
Fix various typos Fixed via `codespell v2.0.dev`
This commit is contained in:
@@ -66,11 +66,11 @@ public:
|
||||
Standard_EXPORT TopoDS_Shape Shape (const int theRowId) const;
|
||||
|
||||
//! Returns name of BREP file for the shape if exists
|
||||
//! \return string valuie
|
||||
//! \return string value
|
||||
QString GetFileName() const { return myFileName; }
|
||||
|
||||
//! Sets name of BREP file for the shape if exists
|
||||
//! \return string valuie
|
||||
//! \return string value
|
||||
void SetFileName (const QString& theFileName) { myFileName = theFileName; }
|
||||
|
||||
//! Inits the item, fills internal containers
|
||||
|
@@ -74,7 +74,7 @@ public:
|
||||
//! It returns value only for DisplayRole.
|
||||
//! \param theIndex a model index
|
||||
//! \param theRole a view role
|
||||
//! \return value intepreted depending on the given role
|
||||
//! \return value interpreted depending on the given role
|
||||
virtual QVariant data (const QModelIndex& theIndex, int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
|
||||
|
||||
//! Returns number of rows
|
||||
|
@@ -55,7 +55,7 @@ public:
|
||||
//! Sets visibility state
|
||||
//! \theIndex tree model index
|
||||
//! \param theState visibility state
|
||||
//! \param toEmitDataChanged boolean flag whether emit of the model should be done immediatelly
|
||||
//! \param toEmitDataChanged boolean flag whether emit of the model should be done immediately
|
||||
//! \return true if state is changed
|
||||
Standard_EXPORT virtual bool SetVisible (const QModelIndex& theIndex, const bool theState, const bool toEmitDataChanged) Standard_OVERRIDE;
|
||||
|
||||
|
@@ -74,7 +74,7 @@ public:
|
||||
//! \param theItem container of preference elements
|
||||
Standard_EXPORT void SetPreferences (const TInspectorAPI_PreferencesDataMap& theItem);
|
||||
|
||||
//! Applyes parameters to Init controls, opens files if there are in parameters, updates OCAF tree view model
|
||||
//! Applies parameters to Init controls, opens files if there are in parameters, updates OCAF tree view model
|
||||
Standard_EXPORT void UpdateContent();
|
||||
|
||||
//! Returns main control
|
||||
@@ -129,7 +129,7 @@ protected slots:
|
||||
//! Views BREP files of selected items if exist
|
||||
void onExportToBREP();
|
||||
|
||||
//! Convers file name to Ascii String and perform opeging file
|
||||
//! Converts file name to Ascii String and perform opening file
|
||||
//! \param theFileName a file name to be opened
|
||||
void onOpenFile(const QString& theFileName) { OpenFile (TCollection_AsciiString (theFileName.toUtf8().data())); }
|
||||
|
||||
|
Reference in New Issue
Block a user