[office/kmymoney] /: Fix various typos

Dawid Wróbel null at kde.org
Wed Oct 27 20:32:11 BST 2021


Git commit 81e5509ca91fb426b1e8e9bd5d6a8e96e20a696e by Dawid Wróbel, on behalf of luz paz.
Committed on 27/10/2021 at 19:14.
Pushed by wrobelda into branch 'master'.

Fix various typos

Found via `codespell -q 3 -L als -S ba,occurence,occurrences,oder`

M  +2    -2    CMakeLists.txt
M  +1    -1    doc/details-impexp.docbook
M  +1    -1    doc/index.docbook
M  +1    -1    kmymoney.doxygen.in
M  +1    -1    kmymoney/converter/mymoneystatementreader.cpp
M  +1    -1    kmymoney/dialogs/kcurrencyeditordlg.cpp
M  +1    -1    kmymoney/html/kmymoney.css
M  +1    -1    kmymoney/kmymoney.cpp
M  +1    -1    kmymoney/misc/validators.h
M  +1    -1    kmymoney/models/accountsproxymodel.h
M  +1    -1    kmymoney/models/scheduleproxymodel.h
M  +1    -1    kmymoney/models/securitiesfilterproxymodel.h
M  +2    -2    kmymoney/mymoney/mymoneyfile.cpp
M  +1    -1    kmymoney/mymoney/mymoneysecurity.h
M  +1    -1    kmymoney/mymoney/mymoneysplit.h
M  +1    -1    kmymoney/mymoney/onlinejob.h
M  +1    -1    kmymoney/mymoney/onlinejobadministration.h
M  +1    -1    kmymoney/mymoney/onlinejobmessage.h
M  +1    -1    kmymoney/mymoney/payeeidentifier/ibanbic/ibanbic.cpp
M  +3    -3    kmymoney/mymoney/payeeidentifier/ibanbic/ibanbic.h
M  +1    -1    kmymoney/mymoney/payeeidentifier/payeeidentifierdata.h
M  +1    -1    kmymoney/mymoney/storage/reconciliationmodel.cpp
M  +1    -1    kmymoney/mymoney/storage/specialdatesmodel.cpp
M  +1    -1    kmymoney/mymoney/storage/tests/mymoneystoragemgr-test.cpp
M  +1    -1    kmymoney/plugins/csv/import/core/csvimportercore.cpp
M  +1    -1    kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.cpp
M  +1    -1    kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h
M  +1    -1    kmymoney/plugins/sql/mymoneystoragesql.cpp
M  +1    -1    kmymoney/plugins/views/reports/core/kreportchartview.cpp
M  +3    -3    kmymoney/plugins/views/reports/core/querytable.cpp
M  +1    -1    kmymoney/plugins/views/reports/reporttabimpl.h
M  +1    -1    kmymoney/plugins/xml/mymoneystoragexml.cpp
M  +1    -1    kmymoney/plugins/xml/xmlstorage.cpp
M  +1    -1    kmymoney/templates/templateloader.cpp
M  +1    -1    kmymoney/views/kinvestmentview_p.h
M  +2    -2    kmymoney/views/kmmstyleditemdelegate.h
M  +1    -1    kmymoney/views/ledgerview.cpp
M  +1    -1    kmymoney/views/ledgerviewpage.cpp
M  +1    -1    kmymoney/views/splitdelegate.cpp
M  +1    -1    kmymoney/widgets/budgetviewproxymodel.cpp
M  +3    -3    kmymoney/widgets/columnselector.h
M  +1    -1    kmymoney/widgets/kmymoneylineedit.h
M  +1    -1    kmymoney/wizards/endingbalancedlg/kendingbalancedlg.cpp
M  +2    -2    kmymoney/wizards/newaccountwizard/kloandetailspage.cpp
M  +1    -1    kmymoney/wizards/newaccountwizard/kloanschedulepage.cpp
M  +1    -1    kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp
M  +2    -2    kmymoney/wizards/newloanwizard/keditloanwizard.cpp
M  +2    -2    kmymoney/wizards/newloanwizard/knewloanwizard_p.h

https://invent.kde.org/office/kmymoney/commit/81e5509ca91fb426b1e8e9bd5d6a8e96e20a696e

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 59d763a48..eb90b7bf6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,8 +49,8 @@ if (POLICY CMP0063)
   cmake_policy(SET CMP0063 NEW) # Policy introduced in CMake version 3.3
 endif()
 if (POLICY CMP0071)
-  # We do not require the old behaviour. It is only set to old, to prevent accidential use of
-  # the new behavour. If the new behaviour becomes important, cmake_minimum_required has to be
+  # We do not require the old behaviour. It is only set to old, to prevent accidental use of
+  # the new behaviour. If the new behaviour becomes important, cmake_minimum_required has to be
   # set to "3.10".
   cmake_policy(SET CMP0071 OLD) # Policy introduced in CMake version 3.10
 endif()
diff --git a/doc/details-impexp.docbook b/doc/details-impexp.docbook
index ef93c33f8..7db3abeb7 100644
--- a/doc/details-impexp.docbook
+++ b/doc/details-impexp.docbook
@@ -1092,7 +1092,7 @@
     require you to change your password the first time you access it online
     using this method.  Unfortunately, at this time, the library that &kmymoney;
     uses (libofx) does not have a way to interactively change a password.  In
-    some cases, it is possible to get a techincal support person at the
+    some cases, it is possible to get a technical support person at the
     institution to change the password for you.  Until we are able to expand
     this section with more detailed troubleshooting information, if you have
     trouble getting this to work for you, you can ask for help on the &kmymoney;
diff --git a/doc/index.docbook b/doc/index.docbook
index 088399d2b..f5fe41fa0 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -14,7 +14,7 @@
        from entities/general.entities and $LANG/user.entities. -->
   <!ENTITY devlist "<email>kmymoney-devel at kde.org</email>">
   <!ENTITY userlist "<email>kmymoney at kde.org</email>">
-  <!-- Support for bulding against old kdoctools versions, included in 5.69 -->
+  <!-- Support for building against old kdoctools versions, included in 5.69 -->
   <!ENTITY gnucash "<application>GnuCash</application>">
 
   <!-- the following author entity was added to contributor.entities in 4.5 branch and trunk of svn
diff --git a/kmymoney.doxygen.in b/kmymoney.doxygen.in
index 6529dd621..b0153215a 100644
--- a/kmymoney.doxygen.in
+++ b/kmymoney.doxygen.in
@@ -1725,7 +1725,7 @@ UML_LOOK               = NO
 # the class node. If there are many fields or methods and many nodes the
 # graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS
 # threshold limits the number of items for each type to make the size more
-# managable. Set this to 0 for no limit. Note that the threshold may be
+# manageable. Set this to 0 for no limit. Note that the threshold may be
 # exceeded by 50% before the limit is enforced.
 
 UML_LIMIT_NUM_FIELDS   = 10
diff --git a/kmymoney/converter/mymoneystatementreader.cpp b/kmymoney/converter/mymoneystatementreader.cpp
index 1c6419bd7..c2f82315e 100644
--- a/kmymoney/converter/mymoneystatementreader.cpp
+++ b/kmymoney/converter/mymoneystatementreader.cpp
@@ -279,7 +279,7 @@ void MyMoneyStatementReader::Private::assignUniqueBankID(MyMoneySplit& s, const
 
     if (base.isEmpty()) {
         // in case the importer did not assign a bankID, we will do it here
-        // we use the same algorith as used in the KBanking plugin as this
+        // we use the same algorithm as used in the KBanking plugin as this
         // has been served well for a long time already.
         auto h = MyMoneyTransaction::hash(t_in.m_strPayee.trimmed());
         h = MyMoneyTransaction::hash(t_in.m_strMemo, h);
diff --git a/kmymoney/dialogs/kcurrencyeditordlg.cpp b/kmymoney/dialogs/kcurrencyeditordlg.cpp
index 4ba4e36eb..d0ffcb4fc 100644
--- a/kmymoney/dialogs/kcurrencyeditordlg.cpp
+++ b/kmymoney/dialogs/kcurrencyeditordlg.cpp
@@ -122,7 +122,7 @@ MyMoneySecurity KCurrencyEditorDlg::currency() const
     Q_D(const KCurrencyEditorDlg);
     MyMoneySecurity newCurrency = d->currency;
 
-    // if we are creating a new currency, we need to assing the ID
+    // if we are creating a new currency, we need to assign the ID
     if (d->currency.id().isEmpty()) {
         newCurrency = MyMoneySecurity(d->ui->leIsoCode->text(), newCurrency);
     }
diff --git a/kmymoney/html/kmymoney.css b/kmymoney/html/kmymoney.css
index b004967c7..fb5aa6f33 100644
--- a/kmymoney/html/kmymoney.css
+++ b/kmymoney/html/kmymoney.css
@@ -103,7 +103,7 @@ body#summaryview { /* set body attributes that affect only the summary view (and
   }
 
   .warningtitle { /*<tr> -set warning background color -overdue payments -items of this class also belong to the class called "itemtitle"*/
-    color:red;/*set programatically, not by css*/
+    color:red;/*set programmatically, not by css*/
     background-color: Highlight;
   }
 
diff --git a/kmymoney/kmymoney.cpp b/kmymoney/kmymoney.cpp
index 353f3bff5..84d8e0727 100644
--- a/kmymoney/kmymoney.cpp
+++ b/kmymoney/kmymoney.cpp
@@ -1207,7 +1207,7 @@ public:
             // notifies a modification, it's the perfect place to start the timer if needed
             if (m_autoSaveEnabled && !m_autoSaveTimer->isActive()) {
                 m_autoSaveTimer->setSingleShot(true);
-                m_autoSaveTimer->start(m_autoSavePeriod * 60 * 1000); // miliseconds
+                m_autoSaveTimer->start(m_autoSavePeriod * 60 * 1000); // milliseconds
             }
             pActions[eMenu::Action::UpdateAllAccounts]->setEnabled(KMyMoneyUtils::canUpdateAllAccounts());
             break;
diff --git a/kmymoney/misc/validators.h b/kmymoney/misc/validators.h
index 5fcd939f1..e22c4d0dd 100644
--- a/kmymoney/misc/validators.h
+++ b/kmymoney/misc/validators.h
@@ -19,7 +19,7 @@ enum lengthStatus {
 /** @brief checks if all lines in text are shorter than length */
 bool checkLineLength(const QString& text, const int& length);
 
-/** @brief checks if text uses only charactes in allowedChars */
+/** @brief checks if text uses only characters in allowedChars */
 bool checkCharset(const QString& text, const QString& allowedChars);
 
 };
diff --git a/kmymoney/models/accountsproxymodel.h b/kmymoney/models/accountsproxymodel.h
index 01c3e2390..fa6bf6ebc 100644
--- a/kmymoney/models/accountsproxymodel.h
+++ b/kmymoney/models/accountsproxymodel.h
@@ -140,7 +140,7 @@ private:
     Q_DECLARE_PRIVATE(AccountsProxyModel)
 
 #if QT_VERSION < QT_VERSION_CHECK(5,10,0)
-    // provide the interface for backward compatbility
+    // provide the interface for backward compatibility
     void setRecursiveFilteringEnabled(bool enable) {
         Q_UNUSED(enable)
     }
diff --git a/kmymoney/models/scheduleproxymodel.h b/kmymoney/models/scheduleproxymodel.h
index 0b2ea7587..135a4c289 100644
--- a/kmymoney/models/scheduleproxymodel.h
+++ b/kmymoney/models/scheduleproxymodel.h
@@ -53,7 +53,7 @@ protected:
 
 private:
 #if QT_VERSION < QT_VERSION_CHECK(5,10,0)
-    // provide the interface for backward compatbility
+    // provide the interface for backward compatibility
     void setRecursiveFilteringEnabled(bool enable) {
         Q_UNUSED(enable);
     }
diff --git a/kmymoney/models/securitiesfilterproxymodel.h b/kmymoney/models/securitiesfilterproxymodel.h
index c4c63bf63..e0c253c11 100644
--- a/kmymoney/models/securitiesfilterproxymodel.h
+++ b/kmymoney/models/securitiesfilterproxymodel.h
@@ -45,7 +45,7 @@ private:
     Private* const d;
 
 #if QT_VERSION < QT_VERSION_CHECK(5,10,0)
-    // provide the interface for backward compatbility
+    // provide the interface for backward compatibility
     void setRecursiveFilteringEnabled(bool enable) {
         Q_UNUSED(enable);
     }
diff --git a/kmymoney/mymoney/mymoneyfile.cpp b/kmymoney/mymoney/mymoneyfile.cpp
index f2a8ec3af..f47bcd9f8 100644
--- a/kmymoney/mymoney/mymoneyfile.cpp
+++ b/kmymoney/mymoney/mymoneyfile.cpp
@@ -884,10 +884,10 @@ void MyMoneyFile::reparentAccount(MyMoneyAccount &acc, MyMoneyAccount& parent)
         MyMoneyAccount curParent = account(acc.parentAccountId());
 
         if (!d->accountsModel.indexById(acc.id()).isValid())
-            throw MYMONEYEXCEPTION_CSTRING("Unable to reparent non existant account");
+            throw MYMONEYEXCEPTION_CSTRING("Unable to reparent non existent account");
 
         if (!d->accountsModel.indexById(acc.id()).isValid())
-            throw MYMONEYEXCEPTION_CSTRING("Unable to reparent to existant account");
+            throw MYMONEYEXCEPTION_CSTRING("Unable to reparent to existent account");
 
         // reparent in model
         d->accountsModel.reparentAccount(acc.id(), parent.id());
diff --git a/kmymoney/mymoney/mymoneysecurity.h b/kmymoney/mymoney/mymoneysecurity.h
index f6a78a0b6..b0e865b20 100644
--- a/kmymoney/mymoney/mymoneysecurity.h
+++ b/kmymoney/mymoney/mymoneysecurity.h
@@ -145,7 +145,7 @@ public:
      * This method is used to convert the internal representation of
      * an rounding method into a human readable format
      *
-     * @param roundingMethod enumerated representation of the rouding method.
+     * @param roundingMethod enumerated representation of the rounding method.
      *                     For possible values, see AlkValue::RoundingMethod
      *
      * @return QString representing the human readable form
diff --git a/kmymoney/mymoney/mymoneysplit.h b/kmymoney/mymoney/mymoneysplit.h
index 866d7b4af..f57d34510 100644
--- a/kmymoney/mymoney/mymoneysplit.h
+++ b/kmymoney/mymoney/mymoneysplit.h
@@ -131,7 +131,7 @@ public:
       * If @p transactionCurrencyId equals @p splitCurrencyId this method
       * calls setValue(MyMoneyMoney) otherwise setShares(MyMoneyMoney).
       *
-      * @param value the value to be assiged
+      * @param value the value to be assigned
       * @param transactionCurrencyId the id of the currency assigned to the transaction
       * @param splitCurrencyId the id of the currency assigned to the split (i.e. the
       *                        the id of the currency assigned to the account that is
diff --git a/kmymoney/mymoney/onlinejob.h b/kmymoney/mymoney/onlinejob.h
index bddec21cf..af9a600db 100644
--- a/kmymoney/mymoney/onlinejob.h
+++ b/kmymoney/mymoney/onlinejob.h
@@ -248,7 +248,7 @@ public:
      * @brief Make this onlineJob a "new" onlineJob
      *
      * Removes all status information, log, and the id. Only
-     * the task is keept.
+     * the task is kept.
      */
     virtual void reset();
 
diff --git a/kmymoney/mymoney/onlinejobadministration.h b/kmymoney/mymoney/onlinejobadministration.h
index b9fad1956..ac73c29b3 100644
--- a/kmymoney/mymoney/onlinejobadministration.h
+++ b/kmymoney/mymoney/onlinejobadministration.h
@@ -267,7 +267,7 @@ private:
      * @brief Get root instance of an onlineTask
      *
      * Returns a pointer from m_onlineTasks or tries to load/create
-     * a approiate root element.
+     * an appropriate root element.
      *
      * Only createOnlineTask and createOnlineTaskByXml use it.
      *
diff --git a/kmymoney/mymoney/onlinejobmessage.h b/kmymoney/mymoney/onlinejobmessage.h
index f2292b178..9640f194b 100644
--- a/kmymoney/mymoney/onlinejobmessage.h
+++ b/kmymoney/mymoney/onlinejobmessage.h
@@ -62,7 +62,7 @@ public:
     QString sender() const;
 
     /**
-     * @brief What happend?
+     * @brief What happened?
      */
     QString message() const;
 
diff --git a/kmymoney/mymoney/payeeidentifier/ibanbic/ibanbic.cpp b/kmymoney/mymoney/payeeidentifier/ibanbic/ibanbic.cpp
index 2fab954ed..4fa645913 100644
--- a/kmymoney/mymoney/payeeidentifier/ibanbic/ibanbic.cpp
+++ b/kmymoney/mymoney/payeeidentifier/ibanbic/ibanbic.cpp
@@ -235,7 +235,7 @@ bool ibanBic::validateIbanChecksum(const QString& iban)
     // Replace letters
     for (int i = 0; i < reordered.length(); ++i) {
         if (reordered.at(i).isLetter()) {
-            // Replace charactes A -> 10, ..., Z -> 35
+            // Replace characters A -> 10, ..., Z -> 35
             reordered.replace(i, 1, QString::number(reordered.at(i).toLatin1() - 'A' + 10));
             ++i; // the inserted number is always two characters long, jump beyond
         }
diff --git a/kmymoney/mymoney/payeeidentifier/ibanbic/ibanbic.h b/kmymoney/mymoney/payeeidentifier/ibanbic/ibanbic.h
index 7b4fdd0ca..ff1decbc2 100644
--- a/kmymoney/mymoney/payeeidentifier/ibanbic/ibanbic.h
+++ b/kmymoney/mymoney/payeeidentifier/ibanbic/ibanbic.h
@@ -66,7 +66,7 @@ public:
     void setIban(const QString& iban);
 
     /** @copydoc m_iban
-     * Use this method if you know that iban is in electronic format already. No futher checks are done.
+     * Use this method if you know that iban is in electronic format already. No further checks are done.
      */
     void setElectronicIban(const QString& iban) {
         Q_ASSERT(iban == ibanToElectronic(iban));
@@ -177,7 +177,7 @@ public:
     static QString localBankCodeByIban(const QString& iban);
 
     /**
-     * @brief Chech if IBAN is valid
+     * @brief Check if IBAN is valid
      */
     bool isIbanValid() const;
 
@@ -227,7 +227,7 @@ private:
      * @brief Business Identifier Code
      * According to ISO 9362
      *
-     * A trailing XXX must be ommitted. All characters must be upper case.
+     * A trailing XXX must be omitted. All characters must be upper case.
      */
     QString m_bic;
 
diff --git a/kmymoney/mymoney/payeeidentifier/payeeidentifierdata.h b/kmymoney/mymoney/payeeidentifier/payeeidentifierdata.h
index 575a96c7e..6ca7b436c 100644
--- a/kmymoney/mymoney/payeeidentifier/payeeidentifierdata.h
+++ b/kmymoney/mymoney/payeeidentifier/payeeidentifierdata.h
@@ -96,7 +96,7 @@ public:
     /**
      * @brief Create a new payeeIdentifier form XML data
      *
-     * @param element Note: there could be more data in that elemenet than you created in writeXML()
+     * @param element Note: there could be more data in that element than you created in writeXML()
      */
     virtual payeeIdentifierData* createFromXml(const QDomElement &element) const = 0;
 
diff --git a/kmymoney/mymoney/storage/reconciliationmodel.cpp b/kmymoney/mymoney/storage/reconciliationmodel.cpp
index 5c203c303..70844a22c 100644
--- a/kmymoney/mymoney/storage/reconciliationmodel.cpp
+++ b/kmymoney/mymoney/storage/reconciliationmodel.cpp
@@ -133,7 +133,7 @@ QVariant ReconciliationModel::data(const QModelIndex& idx, int role) const
     if (!idx.isValid())
         return {};
 
-    // we report to have the same number of colums as the
+    // we report to have the same number of columns as the
     // journal model but we only react on the first column
     if (idx.column() < 0 || idx.column() >= JournalModel::Column::MaxColumns)
         return {};
diff --git a/kmymoney/mymoney/storage/specialdatesmodel.cpp b/kmymoney/mymoney/storage/specialdatesmodel.cpp
index 62b622077..1706b68d7 100644
--- a/kmymoney/mymoney/storage/specialdatesmodel.cpp
+++ b/kmymoney/mymoney/storage/specialdatesmodel.cpp
@@ -118,7 +118,7 @@ QVariant SpecialDatesModel::data(const QModelIndex& idx, int role) const
     if (!idx.isValid())
         return {};
 
-    // we report to have the same number of colums as the
+    // we report to have the same number of columns as the
     // journal model but we only react on the first column
     if (idx.column() < 0 || idx.column() >= JournalModel::Column::MaxColumns)
         return {};
diff --git a/kmymoney/mymoney/storage/tests/mymoneystoragemgr-test.cpp b/kmymoney/mymoney/storage/tests/mymoneystoragemgr-test.cpp
index 9b1d74994..e3326df4f 100644
--- a/kmymoney/mymoney/storage/tests/mymoneystoragemgr-test.cpp
+++ b/kmymoney/mymoney/storage/tests/mymoneystoragemgr-test.cpp
@@ -1116,7 +1116,7 @@ void MyMoneyStorageMgrTest::testRemoveAccountFromTree()
     c.setName("Acc C");
 
     // build a tree A -> B -> C, remove B and see if A -> C
-    // remains in the storag manager
+    // remains in the storage manager
 
     try {
         m->addAccount(a);
diff --git a/kmymoney/plugins/csv/import/core/csvimportercore.cpp b/kmymoney/plugins/csv/import/core/csvimportercore.cpp
index c71bf4e08..62e5703f5 100644
--- a/kmymoney/plugins/csv/import/core/csvimportercore.cpp
+++ b/kmymoney/plugins/csv/import/core/csvimportercore.cpp
@@ -987,7 +987,7 @@ bool CSVImporterCore::processBankRow(MyMoneyStatement &st, const BankingProfile
                        .arg(tr.m_datePosted.toString(Qt::ISODate))
                        .arg(MyMoneyTransaction::hash(txt));
     QString hash;
-    for (uchar idx = 0; idx < 0xFF; ++idx) {  // assuming threre will be no more than 256 transactions with the same hashBase
+    for (uchar idx = 0; idx < 0xFF; ++idx) {  // assuming there will be no more than 256 transactions with the same hashBase
         hash = QString::fromLatin1("%1-%2").arg(hashBase).arg(idx);
         QSet<QString>::const_iterator it = m_hashSet.constFind(hash);
         if (it == m_hashSet.constEnd())
diff --git a/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.cpp b/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.cpp
index 5d704b84a..39c16ec90 100644
--- a/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.cpp
+++ b/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.cpp
@@ -77,7 +77,7 @@ bool creditTransferSettingsBase::isBicMandatory(const QString& payeeIban, const
      */
     QStringList sepaParticipants{"FI", "AT", "PT", "BE", "BG", "ES", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "GF", "DE", "GI", "GR", "GP", "GG", "HU", "IS", "IE", "IM", "IT", "JE", "LV", "LI", "LT", "LU", "PT", "MT", "MQ", "YT", "MC", "NL", "NO", "PL", "PT", "RE", "RO", "BL", "MF", "PM", "SM", "SK", "SI", "ES", "SE", "CH", "GB"};
 
-    // Starting form 1st Febuary 2016 no bic is needed between sepa countries
+    // Starting form 1st February 2016 no bic is needed between sepa countries
     return (!sepaParticipants.contains(payeeContryCode, Qt::CaseInsensitive) || !sepaParticipants.contains(beneficaryCountryCode, Qt::CaseInsensitive));
 }
 
diff --git a/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h b/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h
index fbfc1b7eb..f3b52ffc6 100644
--- a/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h
+++ b/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h
@@ -142,7 +142,7 @@ private:
     /** @brief Minibal number of chars for payee name */
     int _payeeNameMinLength;
 
-    /** @brief characters allowd in purpose and recipient name */
+    /** @brief characters allowed in purpose and recipient name */
     QString _allowedChars;
 
     /** @brief Number of chars allowed for sepa reference */
diff --git a/kmymoney/plugins/sql/mymoneystoragesql.cpp b/kmymoney/plugins/sql/mymoneystoragesql.cpp
index d3528e896..7aee266c6 100644
--- a/kmymoney/plugins/sql/mymoneystoragesql.cpp
+++ b/kmymoney/plugins/sql/mymoneystoragesql.cpp
@@ -537,7 +537,7 @@ void MyMoneyStorageSql::modifyPayee(MyMoneyPayee payee)
     if (!query.exec())
         throw MYMONEYEXCEPTIONSQL_D(QString::fromLatin1("modifying payee's identifiers (delete from mapping table)")); // krazy:exclude=crashy
 
-    // Get list again because modifiyPayeeIdentifier which is used above may change the id
+    // Get list again because modifyPayeeIdentifier which is used above may change the id
     QList<payeeIdentifier> idents(payee.payeeIdentifiers());
 
     QVariantList order;
diff --git a/kmymoney/plugins/views/reports/core/kreportchartview.cpp b/kmymoney/plugins/views/reports/core/kreportchartview.cpp
index 0f0c33cb6..e64d050d2 100644
--- a/kmymoney/plugins/views/reports/core/kreportchartview.cpp
+++ b/kmymoney/plugins/views/reports/core/kreportchartview.cpp
@@ -742,7 +742,7 @@ void KReportChartView::drawLimitLine(const double limit)
 {
     if (coordinatePlane()->diagram()->datasetDimension() != 1)
         return;
-    // temporarily disconnect the view from the model to aovid update of view on
+    // temporarily disconnect the view from the model to avoid update of view on
     // emission of the dataChanged() signal for each call of setDataCell().
     // This speeds up the runtime of drawLimitLine() by a factor of
     // approx. 60 on my box (1831ms vs. 31ms).
diff --git a/kmymoney/plugins/views/reports/core/querytable.cpp b/kmymoney/plugins/views/reports/core/querytable.cpp
index a1ade4e77..2442492a7 100644
--- a/kmymoney/plugins/views/reports/core/querytable.cpp
+++ b/kmymoney/plugins/views/reports/core/querytable.cpp
@@ -795,7 +795,7 @@ void QueryTable::constructTransactionTable()
                             }
                         } else if (splits.count() > 2) {
                             // this applies when the transaction has more than 2 splits
-                            // and each is shown seperately
+                            // and each is shown separately
                             switch (m_config.rowType()) {
                             case eMyMoney::Report::RowType::Category:
                             case eMyMoney::Report::RowType::TopCategory:
@@ -1464,7 +1464,7 @@ void QueryTable::constructPerformanceRow(const ReportAccount& account, TableRow&
         sellsTotal = cfList.at(Sells).total();
         cashIncomeTotal = cfList.at(CashIncome).total();
         startingBal = endingBal = MyMoneyMoney();
-        // check if there are any meaningfull values before adding them to results
+        // check if there are any meaningful values before adding them to results
         if (buysTotal.isZero() && sellsTotal.isZero() && cashIncomeTotal.isZero())
             return;
         all.append(cfList.at(BuysOfSells));
@@ -1562,7 +1562,7 @@ void QueryTable::constructCapitalGainRow(const ReportAccount& account, TableRow&
         sellsTotal = cfList.at(Sells).total();
         longTermBuysOfSellsTotal = cfList.at(LongTermBuysOfSells).total();
         longTermSellsOfBuys = cfList.at(LongTermSellsOfBuys).total();
-        // check if there are any meaningfull values before adding them to results
+        // check if there are any meaningful values before adding them to results
         if (buysTotal.isZero() && sellsTotal.isZero() &&
                 longTermBuysOfSellsTotal.isZero() && longTermSellsOfBuys.isZero())
             return;
diff --git a/kmymoney/plugins/views/reports/reporttabimpl.h b/kmymoney/plugins/views/reports/reporttabimpl.h
index 5c09de4cb..bda4742b0 100644
--- a/kmymoney/plugins/views/reports/reporttabimpl.h
+++ b/kmymoney/plugins/views/reports/reporttabimpl.h
@@ -95,7 +95,7 @@ private:
      * Update data range start and data range end text validators
      * and re-validate the contents of those text fields against the updated validator.
      * If re-validation fails, arbitrary default values will be set depending on vertical axis type.
-     * This fucntion should be called when vertical axis type or labels precision changed.
+     * This function should be called when vertical axis type or labels precision changed.
      */
     void updateDataRangeValidators(const int& precision);
 private Q_SLOTS:
diff --git a/kmymoney/plugins/xml/mymoneystoragexml.cpp b/kmymoney/plugins/xml/mymoneystoragexml.cpp
index 6c47a3092..5b017d027 100644
--- a/kmymoney/plugins/xml/mymoneystoragexml.cpp
+++ b/kmymoney/plugins/xml/mymoneystoragexml.cpp
@@ -796,7 +796,7 @@ MyMoneyAccount MyMoneyXmlContentHandler::readAccount(const QDomElement &node)
     // Up to and including version 4.6.6 the new account dialog stored the iban in the kvp-key "IBAN".
     // But the rest of the software uses "iban". So correct this:
     if (!acc.value("IBAN").isEmpty()) {
-        // If "iban" was not set, set it now. If it is set, the user reseted it already, so remove
+        // If "iban" was not set, set it now. If it is set, the user reset it already, so remove
         // the garbage.
         if (acc.value(attributeName(Attribute::Account::IBAN)).isEmpty())
             acc.setValue(attributeName(Attribute::Account::IBAN), acc.value("IBAN"));
diff --git a/kmymoney/plugins/xml/xmlstorage.cpp b/kmymoney/plugins/xml/xmlstorage.cpp
index 261fd807a..0767f443e 100644
--- a/kmymoney/plugins/xml/xmlstorage.cpp
+++ b/kmymoney/plugins/xml/xmlstorage.cpp
@@ -153,7 +153,7 @@ bool XMLStorage::open(const QUrl &url)
         ungetString(qfile, qbaFileHeader.data(), 8);
 
     // Ok, we got the first block of 8 bytes. Read in the two
-    // unsigned long int's by preserving endianess. This is
+    // unsigned long int's by preserving endianness. This is
     // achieved by reading them through a QDataStream object
     qint32 magic0, magic1;
     QDataStream s(&qbaFileHeader, QIODevice::ReadOnly);
diff --git a/kmymoney/templates/templateloader.cpp b/kmymoney/templates/templateloader.cpp
index 849b51fc4..16db8fb4b 100644
--- a/kmymoney/templates/templateloader.cpp
+++ b/kmymoney/templates/templateloader.cpp
@@ -374,7 +374,7 @@ bool TemplateLoader::importTemplate(const MyMoneyTemplate& tmpl)
      * Resolve imported vat account assignments
      *
      * The template account id of the assigned vat account
-     * is stored temporarly in the account key/value pair
+     * is stored temporarily in the account key/value pair
      * 'UnresolvedVatAccount' and resolved below.
      */
     QList<MyMoneyAccount> accountList;
diff --git a/kmymoney/views/kinvestmentview_p.h b/kmymoney/views/kinvestmentview_p.h
index 6658c7510..849772ee5 100644
--- a/kmymoney/views/kinvestmentview_p.h
+++ b/kmymoney/views/kinvestmentview_p.h
@@ -189,7 +189,7 @@ public:
     }
 
     /**
-      * This slot is used to programatically preselect default account in investment view
+      * This slot is used to programmatically preselect default account in investment view
       */
     void selectDefaultInvestmentAccount()
     {
diff --git a/kmymoney/views/kmmstyleditemdelegate.h b/kmymoney/views/kmmstyleditemdelegate.h
index 9103517f3..30ffaad76 100644
--- a/kmymoney/views/kmmstyleditemdelegate.h
+++ b/kmymoney/views/kmmstyleditemdelegate.h
@@ -26,12 +26,12 @@ public:
     virtual ~KMMStyledItemDelegate();
 
     /**
-     * Make the editorEvent publically available
+     * Make the editorEvent publicly available
      */
     virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) override;
 
     /**
-     * Make the eventFilter publically available
+     * Make the eventFilter publicly available
      */
     bool eventFilter ( QObject * watched, QEvent * event ) override;
 };
diff --git a/kmymoney/views/ledgerview.cpp b/kmymoney/views/ledgerview.cpp
index 5a0946f1d..27b4c6dc9 100644
--- a/kmymoney/views/ledgerview.cpp
+++ b/kmymoney/views/ledgerview.cpp
@@ -1036,7 +1036,7 @@ void LedgerView::selectionChanged(const QItemSelection& selected, const QItemSel
 
     // we need to remember the first item selected as this
     // should always be reported as the first item in the
-    // list of selected journalEntries. We have to devide
+    // list of selected journalEntries. We have to divide
     // the number of selected indexes by the column count
     // to get the number of selected rows.
     switch (selectionModel()->selectedIndexes().count() / model()->columnCount()) {
diff --git a/kmymoney/views/ledgerviewpage.cpp b/kmymoney/views/ledgerviewpage.cpp
index bf8ffa579..e24201a32 100644
--- a/kmymoney/views/ledgerviewpage.cpp
+++ b/kmymoney/views/ledgerviewpage.cpp
@@ -101,7 +101,7 @@ void LedgerViewPage::init(const QString& configGroupName)
 
     d->ui->m_ledgerView->setModel(d->specialDatesFilter);
 
-    // combine multipe row updates into one
+    // combine multiple row updates into one
     connect(d->stateFilter, &LedgerFilter::rowsRemoved, this, [&]() {
         // trigger update
         d->delayTimer.start(20);
diff --git a/kmymoney/views/splitdelegate.cpp b/kmymoney/views/splitdelegate.cpp
index b8a229f9a..f08ee4650 100644
--- a/kmymoney/views/splitdelegate.cpp
+++ b/kmymoney/views/splitdelegate.cpp
@@ -425,7 +425,7 @@ void SplitDelegate::setModelData(QWidget* editor, QAbstractItemModel* model, con
         block.unblock();
         model->setData(index, QVariant::fromValue<MyMoneyMoney>(-splitEditor->value()), eMyMoney::Model::SplitValueRole);
 
-        // in case this was a new split, we nned to create a new empty one
+        // in case this was a new split, we need to create a new empty one
         SplitModel* splitModel = qobject_cast<SplitModel*>(model);
         if(splitModel) {
             splitModel->appendEmptySplit();
diff --git a/kmymoney/widgets/budgetviewproxymodel.cpp b/kmymoney/widgets/budgetviewproxymodel.cpp
index 2fba21c23..332551a4c 100644
--- a/kmymoney/widgets/budgetviewproxymodel.cpp
+++ b/kmymoney/widgets/budgetviewproxymodel.cpp
@@ -109,7 +109,7 @@ QVariant BudgetViewProxyModel::data(const QModelIndex & idx, int role) const
                     return QVariant();
             case AccountsModel::Column::TotalPostedValue:
                 return MyMoneyUtils::formatMoney(computeTotalValue(accountIdx), baseCurrency);
-            // FIXME: Posted value doesn't correspond with total value without below code. Investigate why and wheather it matters.
+            // FIXME: Posted value doesn't correspond with total value without below code. Investigate why and whether it matters.
             //              case AccountsModel::PostedValue:
             //                return QVariant(MyMoneyUtils::formatMoney(accountValue(account, accountBalance(account.id())), file->baseCurrency()));
             default:
diff --git a/kmymoney/widgets/columnselector.h b/kmymoney/widgets/columnselector.h
index 000f07455..bc37cfd5b 100644
--- a/kmymoney/widgets/columnselector.h
+++ b/kmymoney/widgets/columnselector.h
@@ -51,7 +51,7 @@ public:
      * @param offset offset to be added/subtracted during load/store operation for certain columns
      * @param columns QVector of column indeces (incl. offset) to which the @a offset should be applied
      *
-     * @a offset and @a columns are only used for backward compatability and should not be used
+     * @a offset and @a columns are only used for backward compatibility and should not be used
      */
     explicit ColumnSelector(QTreeView* view, const QString& configGroupName = QString(), int offset = 0, const QVector<int>& columns = QVector<int>());
 
@@ -63,7 +63,7 @@ public:
      * @param offset offset to be added/subtracted during load/store operation for certain columns
      * @param columns QVector of column indeces (incl. offset) to which the @a offset should be applied
      *
-     * @a offset and @a columns are only used for backward compatability and should not be used
+     * @a offset and @a columns are only used for backward compatibility and should not be used
      */
     explicit ColumnSelector(QTableView* view, const QString& configGroupName = QString(), int offset = 0, const QVector<int>& columns = QVector<int>());
 
@@ -79,7 +79,7 @@ public:
     /**
      * Set the offset to be subtracted from the actual column number
      * during load and store operations. This is used to maintain
-     * backward compatability and should not be used on new code.
+     * backward compatibility and should not be used on new code.
      * @a columns contains the indexes to which the @a offset should be applied.
      */
     void setColumnOffsetForStorage();
diff --git a/kmymoney/widgets/kmymoneylineedit.h b/kmymoney/widgets/kmymoneylineedit.h
index a0884fcf3..ce6cee195 100644
--- a/kmymoney/widgets/kmymoneylineedit.h
+++ b/kmymoney/widgets/kmymoneylineedit.h
@@ -22,7 +22,7 @@
 #include "kmm_base_widgets_export.h"
 
 /**
-  * This class represents a special verson of a KLineEdit object that
+  * This class represents a special version of a KLineEdit object that
   * supports the display of a hint if the display area is empty. It also
   * overrides the comma key on the numeric keypad with the currently
   * selected monetaryDecimalSymbol if selected during creation of the object.
diff --git a/kmymoney/wizards/endingbalancedlg/kendingbalancedlg.cpp b/kmymoney/wizards/endingbalancedlg/kendingbalancedlg.cpp
index bc56a39f9..e438b0a61 100644
--- a/kmymoney/wizards/endingbalancedlg/kendingbalancedlg.cpp
+++ b/kmymoney/wizards/endingbalancedlg/kendingbalancedlg.cpp
@@ -180,7 +180,7 @@ void KEndingBalanceDlg::slotUpdateBalances()
     MYMONEYTRACER(tracer);
 
     // determine the beginning balance and ending balance based on the following
-    // forumulas:
+    // formulas:
     //
     // end balance   = current balance - sum(all non cleared transactions)
     //                                 - sum(all cleared transactions posted
diff --git a/kmymoney/wizards/newaccountwizard/kloandetailspage.cpp b/kmymoney/wizards/newaccountwizard/kloandetailspage.cpp
index 4c5c3310f..0af561704 100644
--- a/kmymoney/wizards/newaccountwizard/kloandetailspage.cpp
+++ b/kmymoney/wizards/newaccountwizard/kloandetailspage.cpp
@@ -246,8 +246,8 @@ void LoanDetailsPage::slotCalculate()
             // a) means, we have paid more than we owed. This can't be
             // b) means, we paid more than we owed but the last payment is
             //    less in value than regular payments. That means, that the
-            //    future value is to be treated as  (fully payed back)
-            // c) the loan is not payed back yet
+            //    future value is to be treated as  (fully paid back)
+            // c) the loan is not paid back yet
             if ((moneyBorrowed && val < MyMoneyMoney() && qAbs(val.toDouble()) > qAbs(calc.payment()))
                     || (moneyLend && val > MyMoneyMoney() && qAbs(val.toDouble()) > qAbs(calc.payment()))) {
                 // case a)
diff --git a/kmymoney/wizards/newaccountwizard/kloanschedulepage.cpp b/kmymoney/wizards/newaccountwizard/kloanschedulepage.cpp
index f506369b4..ec20b7ad3 100644
--- a/kmymoney/wizards/newaccountwizard/kloanschedulepage.cpp
+++ b/kmymoney/wizards/newaccountwizard/kloanschedulepage.cpp
@@ -119,7 +119,7 @@ KMyMoneyWizardPage* LoanSchedulePage::nextPage() const
     Q_D(const LoanSchedulePage);
     // if the balance widget of the general loan info page is enabled and
     // the value is not zero, then the payout already happened and we don't
-    // aks for it.
+    // ask for it.
     if (d->m_wizard->openingBalance().isZero())
         return d->m_wizard->d_func()->m_loanPayoutPage;
     return d->m_wizard->d_func()->m_accountSummaryPage;
diff --git a/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp b/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp
index cc9d7c79e..2288cbe14 100644
--- a/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp
+++ b/kmymoney/wizards/newinvestmentwizard/knewinvestmentwizard.cpp
@@ -197,7 +197,7 @@ void KNewInvestmentWizard::createObjects(const QString& parentId)
     MyMoneyFileTransaction ft;
     try {
         // update all relevant attributes only, if we create a stock
-        // account and the security is unknown or we modifiy the security
+        // account and the security is unknown or we modify the security
         MyMoneySecurity newSecurity(d->m_security);
         newSecurity.setName(field("investmentName").toString());
         newSecurity.setTradingSymbol(field("investmentSymbol").toString());
diff --git a/kmymoney/wizards/newloanwizard/keditloanwizard.cpp b/kmymoney/wizards/newloanwizard/keditloanwizard.cpp
index debbf52c9..d9baa0b99 100644
--- a/kmymoney/wizards/newloanwizard/keditloanwizard.cpp
+++ b/kmymoney/wizards/newloanwizard/keditloanwizard.cpp
@@ -250,7 +250,7 @@ void KEditLoanWizard::loadWidgets(const MyMoneyAccount& /* account */)
         setField("interestFrequencyUnitEdit", changeFrequencyUnit);
     }
 
-    // keep track, if the loan should be fully repayed
+    // keep track, if the loan should be fully repaid
     d->m_fullyRepayLoan = d->m_account.finalPayment() < basePayment;
 
     d->updateLoanInfo();
@@ -376,7 +376,7 @@ bool KEditLoanWizard::validateCurrentPage()
 
         // if interest rate and payment amount is given, then force
         // the term to be recalculated. The final payment is adjusted to
-        // 0 if the loan was meant to be fully repayed
+        // 0 if the loan was meant to be fully repaid
         d->ui->m_durationPage->updateTermWidgets(d->m_account.term());
         if (field("interestRateEditValid").toBool()
                 && field("paymentEditValid").toBool()) {
diff --git a/kmymoney/wizards/newloanwizard/knewloanwizard_p.h b/kmymoney/wizards/newloanwizard/knewloanwizard_p.h
index e1dfa152b..d312a6be5 100644
--- a/kmymoney/wizards/newloanwizard/knewloanwizard_p.h
+++ b/kmymoney/wizards/newloanwizard/knewloanwizard_p.h
@@ -373,8 +373,8 @@ public:
                 // a) means, we have paid more than we owed. This can't be
                 // b) means, we paid more than we owed but the last payment is
                 //    less in value than regular payments. That means, that the
-                //    future value is to be treated as  (fully payed back)
-                // c) the loan is not payed back yet
+                //    future value is to be treated as  (fully paid back)
+                // c) the loan is not paid back yet
 
                 if ((q->field("borrowButton").toBool() && val < 0 && qAbs(val) > qAbs(calc.payment()))
                         || (q->field("lendButton").toBool() && val > 0 && qAbs(val) > qAbs(calc.payment()))) {


More information about the kde-doc-english mailing list