fix typos and whitespace

This commit is contained in:
plc-user
2024-11-23 21:17:39 +01:00
parent a9f5e2945b
commit 6dcb6ebcb7
5 changed files with 7 additions and 7 deletions

View File

@@ -399,7 +399,7 @@ ElementsLocation ElementCollectionHandler::createDir(ElementsLocation &parent, c
@brief ElementCollectionHandler::importFromProject
Import the element represented by location to the embedded collection
of project at the same path.
location must represente an element owned by a project embedded collection
location must represent an element owned by a project embedded collection
@param project : project where copy the element
@param location : location to copy
@return true if import with success

View File

@@ -529,7 +529,7 @@ void ElementsCollectionWidget::newElement()
elmt_wizard.exec();
foreach (QETElementEditor *element_editor,
QETApp::instance()->elementEditors())
QETApp::instance()->elementEditors())
connect(element_editor,
&QETElementEditor::saveToLocation,
this,
@@ -713,7 +713,7 @@ void ElementsCollectionWidget::locationWasSaved(
const ElementsLocation& location)
{
//Because this method update an item in the model, location must
//represente an existing element (in file system of project)
//represent an existing element (in file system of project)
if (!location.exist())
return;

View File

@@ -591,7 +591,7 @@ bool ElementsLocation::isWritable() const
/**
@brief ElementsLocation::projectCollection
@return
If this location represente a item in an embedded project collection,
If this location represents an item in an embedded project collection,
return this collection else return nullptr.
*/
XmlElementCollection *ElementsLocation::projectCollection() const