[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [knewstuff] /: Fix minor EBN issues
From:       Yuri Chornoivan <null () kde ! org>
Date:       2018-09-11 17:09:33
Message-ID: E1fzmAP-00073N-UY () code ! kde ! org
[Download RAW message or body]

Git commit 0c01bf17c5f0373412ef8dda058b733858598b0c by Yuri Chornoivan.
Committed on 11/09/2018 at 17:09.
Pushed by yurchor into branch 'master'.

Fix minor EBN issues

M  +1    -1    src/core/engine.h
M  +1    -1    src/core/question.h
M  +1    -1    src/kmoretools/kmoretools.cpp
M  +3    -3    src/kmoretools/kmoretools.h
M  +4    -4    src/kmoretools/kmoretools_p.h
M  +3    -3    src/kmoretools/kmoretoolspresets.h
M  +1    -1    src/uploaddialog.h
M  +2    -2    tests/khotnewstuff_test.h

https://commits.kde.org/knewstuff/0c01bf17c5f0373412ef8dda058b733858598b0c

diff --git a/src/core/engine.h b/src/core/engine.h
index 05b7dee..7e814cb 100644
--- a/src/core/engine.h
+++ b/src/core/engine.h
@@ -189,7 +189,7 @@ public:
      * out entries marked as ghns_exclude=1. To retain this when setting a custom
      * filter, add "ghns_exclude!=1" as one of the filters.
      *
-     * @note Some tags provided by OCS do not supply a value (and are simply passsed
+     * @note Some tags provided by OCS do not supply a value (and are simply passed
      * as a key). These will be interpreted as having the value 1 for filtering
      * purposes. An example of this might be ghns_exclude, which in reality will
      * generally be passed through ocs as "ghns_exclude" rather than "ghns_exclude=1"
diff --git a/src/core/question.h b/src/core/question.h
index 1ac56c8..b961d16 100644
--- a/src/core/question.h
+++ b/src/core/question.h
@@ -27,7 +27,7 @@
 namespace KNSCore
 {
 /**
- * @short A way to ask a user a question from insude a GUI-less library (like KNewStuffCore)
+ * @short A way to ask a user a question from inside a GUI-less library (like KNewStuffCore)
  *
  * Rather than using a message box (which is a UI thing), when you want to ask your user
  * a question, create an instance of this class and use that instead. The consuming library
diff --git a/src/kmoretools/kmoretools.cpp b/src/kmoretools/kmoretools.cpp
index a164739..01f195f 100644
--- a/src/kmoretools/kmoretools.cpp
+++ b/src/kmoretools/kmoretools.cpp
@@ -70,7 +70,7 @@ public:
      * 'uniqueId' = @see uniqueId()
      *
      * @param can be a filename with or without relative path. But no absolute path.
-     * @returns the first occurence if there are more than one found
+     * @returns the first occurrence if there are more than one found
      */
     QString findFileInKmtDesktopfilesDir(const QString& filename)
     {
diff --git a/src/kmoretools/kmoretools.h b/src/kmoretools/kmoretools.h
index 4d7f1db..8feb8e7 100644
--- a/src/kmoretools/kmoretools.h
+++ b/src/kmoretools/kmoretools.h
@@ -58,7 +58,7 @@ class KMoreToolsPrivate;
  * - Provide an API to define external applications for a given context.
  * - If a defined application is not installed (yet) the application is (optionally)
  *    still presented to the user with a hint that it is not installed and a link
- *    to the homepage (later with integration to package managment).
+ *    to the homepage (later with integration to package management).
  *    This increases the discoverability of useful applications the user never
  *    heard about yet.
  * - In case of many applications for a given context, it provides a GUI to the
@@ -260,7 +260,7 @@ public:
      * 2) the location where the kmt-desktopfiles should be installed because
      *    there they will be searched by default.
      *    If @p uniqueId contains slashes they will result in subdirectories.
-     *    The default location can be overriden by
+     *    The default location can be overridden by
      *    registerServiceByDesktopEntryName's kmtDesktopfileSubdir parameter.
      *    This is currently used in KMoreToolsPresets implementation to
      *    separate the kmt-desktopfiles location from the user's config section
@@ -439,7 +439,7 @@ public:
     /**
      * In KMoreToolsMenuFactory some minor magic is done. In the context of
      * connecting the action trigger signal we need to know the maximum number
-     * of URL arguments a given service can accept. Usaually a number between
+     * of URL arguments a given service can accept. Usually a number between
      * 0 and 1. Sometimes 2.
      * E.g. kdf must not be called with any positional argument.
      * E.g. gitg can be called with zero or one arguments.
diff --git a/src/kmoretools/kmoretools_p.h b/src/kmoretools/kmoretools_p.h
index 3dce441..86c20d9 100644
--- a/src/kmoretools/kmoretools_p.h
+++ b/src/kmoretools/kmoretools_p.h
@@ -105,7 +105,7 @@ public:
     }
 
     /**
-     * todo: is there a QT method that can be used insted of this?
+     * todo: is there a QT method that can be used instead of this?
      */
     static QString removeMenuAmpersand(const QString& str)
     {
@@ -232,7 +232,7 @@ public: // should be private but we would like to unit test
 
 public:
     /**
-    * moves an item up or down respecting its catgory
+    * moves an item up or down respecting its category
     * @param direction: 1: down, -1: up
     */
     void moveWithinSection(const QString& id, int direction)
@@ -331,7 +331,7 @@ public:
             const auto a = item->action();
             KmtMenuItemDto dto;
             dto.id = item->id();
-            dto.text = a->text(); // might be overriden, so we use directly from QAction
+            dto.text = a->text(); // might be overridden, so we use directly from QAction
             dto.icon = a->icon();
             dto.isInstalled = true;
             dto.menuSection = KMoreTools::MenuSection_Main;
@@ -342,7 +342,7 @@ public:
             const auto a = item->action();
             KmtMenuItemDto dto;
             dto.id = item->id();
-            dto.text = a->text(); // might be overriden, so we use directly from QAction
+            dto.text = a->text(); // might be overridden, so we use directly from QAction
             dto.icon = a->icon();
             dto.isInstalled = true;
             dto.menuSection = KMoreTools::MenuSection_More;
diff --git a/src/kmoretools/kmoretoolspresets.h b/src/kmoretools/kmoretoolspresets.h
index 6306242..eebfa03 100644
--- a/src/kmoretools/kmoretoolspresets.h
+++ b/src/kmoretools/kmoretoolspresets.h
@@ -37,7 +37,7 @@ class KMoreToolsService;
  * registerServicesByGroupingNames takes a list of a set of predefined
  * grouping names and returns a list KMoreToolsService instances. Remember,
  * a KMoreToolsService represents a service which might or might not be
- * installed on the current maschine.
+ * installed on the current machine.
  *
  * The groupings defined here are used for the KMoreToolsMenuFactory.
  *
@@ -69,7 +69,7 @@ public:
      *      where the search should be started.
      *
      * - "font-tools" (since 5.37.0)
-     *      Tools to manage and analyse fonts.
+     *      Tools to manage and analyze fonts.
      *
      * - "git-clients-for-folder"
      *      Collection of git clients which all take 1 URL argument pointing
@@ -97,7 +97,7 @@ public:
      *      Tools related to the mouse pointer device.
      *
      * - "screenrecorder" (since 5.37.0)
-     *      Record screen contents to a video file (including animatated gif).
+     *      Record screen contents to a video file (including animated gif).
      *
      * - "screenshot-take"
      *      Tools for taking and maybe also editing screenshots.
diff --git a/src/uploaddialog.h b/src/uploaddialog.h
index 3c59045..3c1b2e5 100644
--- a/src/uploaddialog.h
+++ b/src/uploaddialog.h
@@ -117,7 +117,7 @@ public:
     // void setLicense(License license);
 
     /**
-      Set one of the threee preview images displayed in the upload dialog.
+      Set one of the three preview images displayed in the upload dialog.
       The user can still change this.
       @param number The number of the preview image to set, either 1, 2, or 3.
       @param file A URL to the file to be used as preview image
diff --git a/tests/khotnewstuff_test.h b/tests/khotnewstuff_test.h
index 9554ad1..e392b99 100644
--- a/tests/khotnewstuff_test.h
+++ b/tests/khotnewstuff_test.h
@@ -17,8 +17,8 @@
     License along with this library.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#ifndef KNEWSTUFF2_TEST_TEST_H
-#define KNEWSTUFF2_TEST_TEST_H
+#ifndef KHOTNEWSTUFF_TEST_H
+#define KHOTNEWSTUFF_TEST_H
 
 #include <KNSCore/Provider>
 #include <KNSCore/EntryInternal>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic