Fix various typos in source documentation and comments (cont.)

Found via `codespell`
This commit is contained in:
luz paz
2022-12-04 08:21:12 -05:00
committed by Laurent Trinques
parent a76e5446aa
commit 1994235bc5
102 changed files with 277 additions and 277 deletions

View File

@@ -27,7 +27,7 @@
/**
* @brief The BridgeTerminalsCommand class
* UndoCommand use to create bridge betwen terminals
* UndoCommand use to create bridge between terminals
* of a terminals strip
*/
class BridgeTerminalsCommand : public QUndoCommand
@@ -48,7 +48,7 @@ class BridgeTerminalsCommand : public QUndoCommand
/**
* @brief The UnBridgeTerminalsCommand class
* UndoCommand use to remove bridge betwen terminals
* UndoCommand use to remove bridge between terminals
* of a terminals strip
*/
class UnBridgeTerminalsCommand : public QUndoCommand

View File

@@ -108,7 +108,7 @@ void PhysicalTerminal::addTerminal(const QSharedPointer<RealTerminal> &terminal)
* @brief removeTerminal
* Remove @a terminal from the list of real terminal
* @param terminal
* @return true if sucessfully removed
* @return true if successfully removed
*/
bool PhysicalTerminal::removeTerminal(const QSharedPointer<RealTerminal> &terminal)
{

View File

@@ -143,8 +143,8 @@ QString RealTerminal::label() const {
/**
* @brief RealTerminal::Xref
* @return Conveniant method to get the XRef
* formated to string
* @return Convenient method to get the XRef
* formatted to string
*/
QString RealTerminal::Xref() const
{

View File

@@ -31,7 +31,7 @@ class TerminalStripBridge;
/**
* @brief The RealTerminal class
* Represent a real terminal.
* A real terminal can be a drawed terminal in a folio
* A real terminal can be a drawn terminal in a folio
* or a terminal set by user but not present
* on any folio (for example a reserved terminal).
*

View File

@@ -477,7 +477,7 @@ QVector<QSharedPointer<RealTerminal>> TerminalStrip::realTerminals() const
* @brief TerminalStrip::setSortedTo
* Sort the physical terminal owned by this strip in the same order
* as \p sorted_vector.
* \p sorted_vector must contain exaclty the same physical terminal as this strip
* \p sorted_vector must contain exactly the same physical terminal as this strip
* else this function do nothing.
*
* To avoid any mistake, you should call TerminalStrip::physicalTerminal()
@@ -715,7 +715,7 @@ bool TerminalStrip::isBridgeable(QSharedPointer<TerminalStripBridge> bridge, con
/**
* @brief TerminalStrip::setBridge
* Set a bridge betwen all real terminal of @a real_terminals
* Set a bridge between all real terminal of @a real_terminals
* @sa TerminalStrip::isBridgeable
* @return true if bridge was successfully created
*/
@@ -975,7 +975,7 @@ QDomElement TerminalStrip::toXml(QDomDocument &parent_document)
root_elmt.appendChild(m_data.toXml(parent_document));
//Undrawed terminals
//Undrawn terminals
auto xml_layout = parent_document.createElement("layout");
for (auto &phy_t : m_physical_terminals) {
xml_layout.appendChild(phy_t->toXml(parent_document));

View File

@@ -91,7 +91,7 @@ TerminalStrip *TerminalStripCreatorDialog::generatedTerminalStrip() const
/**
* @brief TerminalStripCreatorDialog::setCursorToEmptyLine
* Set the cursor to the first empty field.
* It's usefull when user create a new terminal strip
* It's useful when user creates a new terminal strip
* with some value prefilled, to increase productivity.
*/
void TerminalStripCreatorDialog::setCursorToEmptyLine()