mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-28 14:50:52 +01:00
fix typos and whitespace
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user