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

@@ -152,7 +152,7 @@ QList<Conductor *> ConductorCreator::existingPotential()
{
c_list.append(t->conductors().first());
//We must to check m_terminals_list contain a terminal
//We must check if m_terminals_list contains a terminal
//in the same potential of c, and if true, exclude this terminal from the search.
for (Conductor *c : t->conductors().first()->relatedPotentialConductors(false))
{

View File

@@ -29,7 +29,7 @@ namespace QetSettings
* QElectroTech settings
* the value is in form of a string.
* @a policy can be : Round, Ceil, Floor, RoundPreferFloor, PassThrough
* In case of wrong policy, PassThrough is use as defaukt value.
* In case of wrong policy, PassThrough is use as default value.
* The value is stored with key : hdpi_scale_factor_rounding_policy
* @sa Qt::HighDpiScaleFactorRoundingPolicy
* @param policy

View File

@@ -23,7 +23,7 @@
/**
*Interface to use QSettings in QElectroTech
*Prefer use this namespace instead of directly QSettings
*It's notably usefull when some QSettings value are use in
*It's notably useful when some QSettings value are used in
*different part of QElectroTech source code
*/
namespace QetSettings

View File

@@ -93,9 +93,9 @@ qreal QETUtils::graphicsHandlerSize(QGraphicsItem *item)
* Sort the string @a str_a and @a str_b and take in
* count if string begin with an int to sort it
* as int and not as string in this case.
* For exemple if we have to sort the string :
* For example if we have to sort the string :
* "3str", 10str", "100str", "2str", "20str".
* The default behavior when sorting QString with the comparaison operator will be:
* The default behavior when sorting QString with the comparison operator will be:
* "10str" "100str" "2str", "20str", "3str"
* When sorting with this function, the result will be :
* "10str", "2str", "3str", "20str", "100str"